# subcribe **Repository Path**: yjmqn/subcribe ## Basic Information - **Project Name**: subcribe - **Description**: 跨平台订阅提醒应用 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-17 - **Last Updated**: 2026-06-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: 提醒, Flutter, vibecoding ## README # 📱 订阅提醒 (Subscription Reminder) 跨平台订阅管理提醒应用,帮助您追踪各类软件订阅的过期日期,及时收到通知避免错过续费。 ![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Android%20%7C%20macOS%20%7C%20Linux-blue) ![Flutter](https://img.shields.io/badge/Flutter-3.x-02569B?logo=flutter) ![License](https://img.shields.io/badge/license-MIT-green) --- ## ✨ 功能特性 | 功能 | 描述 | |------|------| | 📝 **订阅管理** | 添加、编辑、删除订阅记录 | | 🏷️ **标签分类** | 为每个订阅添加自定义标签(如:视频、音乐、工具) | | ⏰ **过期提醒** | 每日自动检查即将过期的订阅 | | 🔔 **系统通知** | Windows/macOS/Linux原生通知 + 移动端推送 | | 💾 **本地存储** | 使用嵌入式 JSON 存储,无需联网 | | 🚀 **开机自启** | Windows 平台开机自动启动到托盘 | | 🎨 **Material Design 3** | 清新现代的 Material You 主题风格 | --- ## 🖼️ 界面预览 (待补充截图) --- ## 🛠️ 技术栈 | 组件 | 技术选型 | |------|---------| | **框架** | Flutter 3.24+ / Dart 3.2+ | | **UI** | Material Design 3 | | **状态管理** | State / StatefulWidget | | **存储** | `path_provider` + JSON 文件 | | **Windows 通知** | `win32_notification` | | **窗口/托盘** | `window_manager` | | **开机自启** | `win32_registry` (Windows) | | **代码规范** | `flutter_lints` (严格 lint) | ### 遵循的规范 - ✅ [Dart Style Guide](https://dart.dev/guides/language/effective-dart/style) - ✅ [Flutter Conventions](https://docs.flutter.dev/community/code-conventions) - ✅ Immutable data models (`final` fields, `copyWith`) - ✅ Proper error handling with try-catch - ✅ Resource disposal (`dispose()` for controllers) - ✅ Platform-specific conditional imports --- ## 📦 快速开始 ### 前置要求 - [Flutter SDK](https://flutter.dev/docs/get-started/install) >= 3.2.0 - Dart SDK >= 3.2.0 - Android Studio / VS Code (可选,用于开发) ### 安装依赖 ```bash flutter pub get ``` ### 运行项目 ```bash # Windows flutter clean flutter run -d windows # macOS flutter run -d macos # Linux flutter run -d linux # Android(需先配置好 Android 环境) flutter run -d ``` ### 构建发布版本 ```bash # Windows flutter build windows --release flutter_distributor release --name release-windows # macOS flutter build macos --release # Linux flutter build linux --release # Android APK flutter build apk --release ``` 构建产物位于 `build/` 目录中。 --- ## 📁 项目结构 ``` . ├── lib/ # Dart 源代码 │ ├── main.dart # 应用入口 │ ├── models/ # 数据模型 │ │ └── subscription.dart │ ├── pages/ # 页面 │ │ └── home_page.dart │ ├── services/ # 服务层 │ │ ├── storage_service.dart # 数据存储 │ │ ├── check_service.dart # 过期检查 │ │ ├── notification_service.dart # 通知 │ │ ├── auto_start_service.dart # 开机自启 │ │ ├── window_service.dart # 窗口管理 │ │ ├── platform_*_windows.dart # Windows 平台适配 │ │ └── platform_*_stub.dart # 其他平台桩实现 │ └── widgets/ # 可复用组件 │ └── subscription_dialog.dart ├── assets/ # 静态资源 │ └── icon.ico ├── pubspec.yaml # Flutter 依赖配置 └── README.md # 本文件 ``` --- ## 🗂️ 数据存储 订阅数据以 JSON 格式保存在用户数据目录: | 平台 | 存储路径示例 | |------|-------------| | Windows | `%APPDATA%/subscription_reminder/data.json` | | macOS | `~/Library/Application Support/subscription_reminder/data.json` | | Linux | `~/.config/subscription_reminder/data.json` | | Android | `/data/data/com.example.subscription_reminder/files/data.json` | ⚠️ **注意**:卸载应用会清除本地数据,请定期备份。 --- ## 🔄 更新日志 详见 [CHANGELOG.md](./CHANGELOG.md) --- ## 🤝 贡献 欢迎提交 Issue 和 Pull Request! 1. Fork 本仓库 2. 创建特性分支 (`git checkout -b feature/AmazingFeature`) 3. 提交更改 (`git commit -m 'Add some AmazingFeature'`) 4. 推送到分支 (`git push origin feature/AmazingFeature`) 5. 开启 Pull Request --- ## 📄 开源许可 本项目采用 [MIT License](./LICENSE) --- ## 🔗 相关链接 - [Flutter 官方文档](https://docs.flutter.dev/) - [Material Design 3](https://m3.material.io/) - [Gitee 仓库](https://gitee.com/yjmqn/subcribe) --- ## 🙏 致谢 感谢所有使用和支持本项目的开发者! ---
**Made with ❤️ using Flutter**