# BeeCount **Repository Path**: asascoder/BeeCount ## Basic Information - **Project Name**: BeeCount - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-11-25 - **Last Updated**: 2025-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BeeCount
![GitHub stars](https://img.shields.io/github/stars/TNT-Likely/BeeCount?style=social) ![License](https://img.shields.io/badge/license-Business%20Source%20License-orange.svg) ![Platform](https://img.shields.io/badge/platform-Android%20%7C%20iOS%20%7C%20HarmonyOS-lightgrey.svg) ![Flutter](https://img.shields.io/badge/Flutter-3.27%2B-02569B?logo=flutter) ![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg) **Your Data, Your Control - Open Source Accounting App** **Core Advantage: iCloud/Self-hosted Supabase/WebDAV servers - Your data, Your control**
Download Android APK Download on App Store Join TestFlight

[πŸ“– Documentation](#-user-guide) | [πŸ’ Donate](#-donate) | [πŸ’¬ Telegram Group](https://t.me/beecount) | [πŸ‡¨πŸ‡³ δΈ­ζ–‡](README.md)
--- > ## πŸŽ‰ Great News > > **🍎 iOS Version Now Available on App Store!** > > Search for **"BeeCount"** on the App Store to download and install > > --- > > **πŸš€ Alipay/WeChat Auto-Billing - Zero Manual Input!** > > πŸ“Έ **Photo Recognition** - AI auto-extracts amount, merchant, and category (Local Model in training + GLM Cloud Model) > > ⚑ **Screenshot Billing** - Android screenshot monitoring + iOS Shortcuts, auto-create bills after payment --- > ## πŸ“± Platform Support > > πŸ€– **Android** - [Download APK](https://github.com/TNT-Likely/BeeCount/releases/latest) | Supports Android 5.0+ > > 🍎 **iOS** - [App Store](https://apps.apple.com/app/id6754611670) | [TestFlight Beta](https://testflight.apple.com/join/Eaw2rWxa) | Supports iOS 15.5+ > > πŸ“± **HarmonyOS** - Coming Soon | Supports HarmonyOS 5.0+ | [HarmonyOS Repository](https://github.com/TNT-Likely/beecount-openharmony) --- ## πŸ’‘ Why Choose BeeCount?
### πŸ”’ Problems with Traditional Apps - ❌ Data stored on third-party servers - ❌ Privacy risks, data may be analyzed - ❌ Data loss if service shuts down - ❌ Premium features behind paywalls - ❌ Forced ads and loan recommendations - ❌ Closed-source, cannot audit code ### βœ… BeeCount Advantages - βœ… **Self-hosted**, complete data control - βœ… **Open source**, auditable code - βœ… **Offline-first**, works without network - βœ… **Free for personal use**, no ads or paywalls (including core features like auto-billing) - βœ… **Privacy-first**, developers cannot access your data - βœ… **Open source code**, auditable codebase
A lightweight, open-source, privacy-focused **personal finance management** and **expense tracker** app for iOS/Android. Features complete ledger management, **income and expense tracking**, **screenshot auto-billing**, **account transfers**, **hierarchical categories**, category statistics, **chart analysis**, data import/export, and iCloud (iOS)/self-hosted Supabase/WebDAV cloud sync. Supports **multiple languages** (Simplified/Traditional Chinese, English) and **dark mode**. Perfect for privacy-conscious individuals and families to manage daily **spending** and **budget tracking**. ## πŸ“± Core Features Showcase
Quick Accounting πŸ€– AI OCR Recognition Data Import πŸ“Š Data Analysis
πŸ“Έ View More Screenshots ### Data Management
Smart Search Edit Transaction Ledger Management Category Details
### Personalization & Management
Profile Category Migration Category Management Personalization
### Data Import & Export
Import Confirmation
## 🌟 Key Features ### ☁️ Self-Hosted Cloud Service - Core Differentiator > **This is BeeCount's biggest feature: Complete control over your data!** | Solution | Best For | Features | |----------|----------|----------| | **iCloud** | iOS Users | πŸ†• Zero config, native integration, seamless Apple ecosystem sync | | **Supabase** | Users without NAS | Free tier sufficient, easy setup, cloud-hosted | | **WebDAV** | Users with NAS | Fully localized data, supports Synology/UGREEN/Nextcloud | **Why Self-Hosted?** - πŸ” **Privacy First**: Developers cannot access your data - πŸ’° **Cost Effective**: Supabase free tier sufficient, WebDAV one-time investment - πŸ›‘οΈ **Data Security**: No worries about service shutdowns or data breaches - πŸ”“ **Open Source**: All cloud sync code is open source and auditable [πŸ“– View Cloud Service Setup Guide](#️-cloud-backup-configuration-optional) ### πŸ”’ Data Security & Privacy - **Offline First**: Based on local SQLite, works without network - **Open & Transparent**: Open source code, auditable - **Optional Sync**: Works completely without cloud configuration - **Zero Tracking**: No analytics, no ads, no data collection ### πŸ€– Smart Auto-Billing - One-Tap Payment Recording > **🌟 Core Feature Highlight: Screenshot and bill automatically, payment info auto-recognized!** **Android Auto-Billing**: - πŸ“Έ **Accessibility Service Auto-Billing**: Once enabled, automatically recognizes payment info and creates bills with each screenshot - 🎯 **Smart Recognition**: Auto-recognizes Alipay, WeChat Pay, UnionPay and other mainstream payment methods - ⚑ **Real-time Recording**: Screenshot after payment, transaction info recorded immediately **iOS Auto-Billing**: - πŸ”— **Shortcuts Integration**: Automate through iOS "Shortcuts" app - πŸ‘† **Double Tap Back Trigger**: After setup, double tap phone back during payment for auto-billing - 🎨 **Flexible Configuration**: Supports auto-trigger on screenshot or manual trigger, adapts to different usage scenarios ### πŸ“Š Complete Accounting Features - **Smart Accounting**: Income/expense categories, amounts, dates, notes - **OCR Scan Billing**: Take photos or select payment screenshots, auto-recognize amounts and merchant info - **Multi-Ledger Management**: Separate management for personal, work, investment - **Independent Account Management**: Support for cash, bank cards, credit cards and other account types, each account tracks balance independently - **Account Transfer Feature**: Support inter-account transfer records, auto-update balances for both accounts - **Hierarchical Category System**: Support parent-child category levels for more detailed transaction classification (choose between flat or hierarchical mode) - **Chart Analysis**: Monthly reports, category rankings, trend analysis - **Data Import/Export**: CSV format, compatible with mainstream apps - **Home Screen Widgets**: iOS/Android widgets for quick overview of income and expenses ### 🎨 Personalization & Internationalization - **Dark Mode**: Complete dark theme support, eye-friendly and OLED-optimized - Pure black background + theme color accents for minimalist aesthetics - All pages, dialogs, and keyboards fully adapted - Auto-switch with system or manual setting - **Theme Customization**: Multiple theme colors for personalized style - **3 Languages**: Simplified Chinese, Traditional Chinese, English - Complete UI translation + smart category mapping - Localized date/number formats - CSV import auto-recognizes multi-language categories > πŸ’‘ Want to add a new language? Welcome to create an [Issue](https://github.com/TNT-Likely/BeeCount/issues)! ## πŸ“– User Guide ### Basic Operations - **Add Transaction**: Tap the "+" button at the bottom of the home screen - **Edit Record**: Tap any transaction record to enter edit page - **Delete Record**: Long press transaction record to select delete - **Switch Months**: Tap the date at the top or scroll up/down in the list to flip pages - **Hide Amounts**: Tap the eye icon in the top right of the home screen ### Data Management - **Import Data**: Profile β†’ Import Data β†’ Select CSV file - **Export Backup**: Profile β†’ Export Data β†’ Select export format - **Category Management**: Profile β†’ Category Management β†’ Add/Edit/Delete categories - **Ledger Switching**: Bottom navigation β†’ Ledgers β†’ Select or create new ledger ## ☁️ Cloud Backup Configuration (Optional) ### Why Choose Self-Hosted Cloud Service? - **Data Sovereignty**: Data completely stored in servers or cloud platforms you control - **Privacy Protection**: Developers cannot access any of your data - **Cost Control**: Most solutions offer free tiers or one-time purchase options - **Stable & Reliable**: No dependency on third-party hosting services, full control - **Flexible Choice**: Choose the most suitable solution based on your needs ### Option 1: iCloud (Recommended for iOS Users) πŸ†• **Use Case**: iOS users seeking zero-configuration, seamless sync experience **Advantages**: - βœ… **Zero Configuration**: Works out of the box, no setup required - βœ… **Native Integration**: Auto-sync using your Apple ID - βœ… **Privacy Protection**: Data stored in your own iCloud Drive - βœ… **Multi-Device Sync**: Automatic sync across iPhone and iPad **How to Use**: 1. Ensure your iOS device is signed into iCloud with iCloud Drive enabled 2. Open BeeCount β†’ Profile β†’ Cloud Service 3. Select **iCloud** and start syncing > πŸ’‘ **Note**: iCloud sync only supports iOS devices. For cross-platform sync (iOS + Android), please use Supabase or WebDAV. ### Option 2: Custom Supabase (Recommended for Beginners) **Use Case**: Suitable for users without NAS devices who want to get started quickly **Configuration Steps**: 1. **Create Supabase Project** - Visit [supabase.com](https://supabase.com) to register an account - Create a new project, select appropriate region - Get URL and anon key from project settings 2. **Configure Storage** - Create a Storage Bucket named `beecount-backups` in Supabase console - Set as Private (uncheck Public bucket) - **Configure RLS Access Policies**: Create 4 policies to ensure users can only access their own data - Go to the bucket's Policies tab - Create the following 4 policies (each with the same configuration): - **SELECT**: Allow users to read their own backup files - **INSERT**: Allow users to create new backup files - **UPDATE**: Allow users to update their own backup files - **DELETE**: Allow users to delete their own backup files - Configuration for each policy: - **Policy name**: Customizable (e.g., `Allow user access to own backups`) - **Target roles**: Select `authenticated` - **Policy definition**: Enter the following expression ```sql ((bucket_id = 'beecount-backups'::text) AND ((storage.foldername(name))[1] = 'users'::text) AND ((storage.foldername(name))[2] = (auth.uid())::text)) ``` - This policy ensures users can only access files under `beecount-backups/users//` path 3. **App Configuration** - Open BeeCount β†’ Profile β†’ Cloud Service - Tap "Add Custom Cloud Service" - Select service type: **Supabase** - Enter your Supabase URL and anon key - Save and enable configuration - Tap "Login", register/sign in and start syncing ### Option 3: WebDAV Server (Recommended for NAS Users) **Use Case**: For users with NAS devices or private cloud storage **Supported Services**: - βœ… UGREEN Cloud NAS - βœ… Synology NAS - βœ… Nextcloud - βœ… Nutstore WebDAV - βœ… ownCloud - βœ… Any server supporting WebDAV protocol **Configuration Steps**: 1. **Enable WebDAV Service** - Enable WebDAV functionality on your NAS or cloud storage platform - Note the WebDAV server address (e.g., `http://nas.local:5005`) - Create or use existing user account 2. **Prepare Storage Directory** (Optional) - Create a `BeeCount` folder in WebDAV root directory - Or use any path (specify during configuration) 3. **App Configuration** - Open BeeCount β†’ Profile β†’ Cloud Service - Tap "Add Custom Cloud Service" - Select service type: **WebDAV** - Fill in configuration: - **WebDAV Server URL**: e.g., `http://nas.local:5005` - **Username**: Your WebDAV username - **Password**: Your WebDAV password - **Remote Path**: Storage path (e.g., `/home/BeeCount` or `/BeeCount`) - Tap "Test Connection" to verify configuration - Save and enable configuration - WebDAV requires no additional login, can sync directly after configuration **Common WebDAV Configuration Examples**: ``` UGREEN Cloud NAS: - URL: http://your-nas-address:5005 - Remote Path: /home/BeeCount Synology NAS: - URL: http://your-nas-address:5005 or https://your-domain - Remote Path: /BeeCount Nutstore: - URL: https://dav.jianguoyun.com/dav/ - Remote Path: /BeeCount ``` ### Future Plans We will continue expanding cloud service support, planning to add: - πŸ“¦ Alibaba Cloud OSS - πŸ“¦ Tencent Cloud COS - πŸ“¦ AWS S3 - πŸ“¦ Google Drive - πŸ“¦ Dropbox - πŸ“¦ More... If you'd like to prioritize support for a specific cloud service, welcome to create a feature request in [Issues](https://github.com/TNT-Likely/BeeCount/issues)! ## πŸ› οΈ Development Guide ### Tech Stack - **Flutter 3.27+**: Cross-platform UI framework - **Riverpod**: State management solution - **Drift (SQLite)**: Local database ORM - **Supabase**: Cloud backup and sync service ### Project Structure ``` lib/ β”œβ”€β”€ data/ # Data models and database operations β”œβ”€β”€ pages/ # Application pages β”œβ”€β”€ widgets/ # Reusable components β”œβ”€β”€ cloud/ # Cloud service integration β”œβ”€β”€ l10n/ # Internationalization resources β”œβ”€β”€ providers/ # Riverpod state providers └── utils/ # Utility functions ``` ### Development Commands ```bash # Install dependencies flutter pub get # Code generation dart run build_runner build --delete-conflicting-outputs # Run tests flutter test # Build release version flutter build apk --flavor prod --release ``` ### Contribution Guidelines We welcome all forms of contributions! Please see our detailed [Contributing Guide](docs/contributing/CONTRIBUTING_EN.md) to learn how to participate: - πŸ› [Report Bugs](https://github.com/TNT-Likely/BeeCount/issues/new) - πŸ’‘ [Suggest Features](https://github.com/TNT-Likely/BeeCount/discussions/new?category=ideas) - πŸ’» [Contribute Code](docs/contributing/CONTRIBUTING_EN.md#code-contribution-workflow) - 🌍 [Contribute Translations](docs/contributing/CONTRIBUTING_EN.md#translation-contributions) - πŸ“ [Improve Documentation](docs/contributing/CONTRIBUTING_EN.md#documentation-contributions) - 🎨 [Designer Recruitment](docs/contributing/CONTRIBUTING_EN.md#designer-recruitment) - We're looking for UI/UX designers! **Quick Start**: 1. Fork this project 2. Create feature branch (`git checkout -b feature/AmazingFeature`) 3. Commit changes (`git commit -m 'feat: add some feature'`) 4. Push to branch (`git push origin feature/AmazingFeature`) 5. Create Pull Request For detailed standards, please refer to the [Complete Contributing Guide](docs/contributing/CONTRIBUTING_EN.md). ## πŸ“„ Open Source License This project uses a Business Source License. Free for personal use, commercial use requires paid authorization. See [LICENSE](LICENSE) for details. ## ⚠️ Disclaimer - This software is provided "as is" without any express or implied warranties - Users are responsible for any data loss or financial loss caused by using this software - Please ensure legal and compliant use of this software ## πŸ’¬ FAQ **Q: Can I use it normally without configuring cloud services?** A: Absolutely! The app uses local storage by default, and all features work normally. You can still export CSV backups at any time. **Q: Should I choose iCloud, Supabase or WebDAV?** A: - If you're an iOS user and only sync between Apple devices, we recommend **iCloud** (zero config, native integration) - If you need cross-platform sync (iOS + Android), we recommend **Supabase** (free, stable, easy to configure) - If you have a NAS device or private cloud, we recommend **WebDAV** (fully localized data) - All three support complete sync functionality, choose based on your needs **Q: Why can't I upload after configuring WebDAV?** A: - Check if WebDAV service is enabled and port is correct - Verify username and password are correct - Some NAS WebDAV requires specific paths for write access (e.g., UGREEN Cloud requires `/home/` path) - Click "Test Connection" button to view detailed error messages **Q: Can I switch back to default mode after configuring custom cloud service?** A: Yes, you can switch anytime. The saved custom configuration won't be lost and can be re-enabled. **Q: How to ensure data security?** A: - Use your own Supabase project or WebDAV server - Regularly export CSV backups to local storage - Use strong passwords and enable two-factor authentication (if supported) - For WebDAV, recommend using HTTPS for encrypted transmission **Q: What data formats are supported?** A: Currently supports CSV format for import/export, compatible with data formats from most mainstream accounting apps. **Q: How to sync data across multiple devices?** A: - **iCloud**: Simply sign in with the same Apple ID on iOS devices, data syncs automatically - **Supabase**: Configure same URL and anon key on all devices, log in with same account - **WebDAV**: Configure same WebDAV server address and credentials on all devices --- ## πŸ’ Donate ### Why We Need Your Support? BeeCount is a **completely free and open-source** project with no ads or paid features. However, to make it available for iOS users, we need an **Apple Developer Account** ($99/year) to sign the app. Your donation will be used for: - πŸ“± **Renew Apple Developer Account** - Keep iOS TestFlight beta accessible ($99/year) - πŸ”§ **Support continuous development and maintenance** - Keep the project actively developed ### Donation Methods #### 🌍 International - **PayPal**: #### πŸ‡¨πŸ‡³ China
Click to view QR codes | Alipay | WeChat Pay | |:---:|:---:| | ![Alipay](docs/donate/alipay.png) | ![WeChat Pay](docs/donate/wechat.png) |
#### πŸͺ™ Cryptocurrency - **USDT (TRC20)**: `TKBV69B2AoU67p3vDhnJUbMJtZ1DxuUF5C` - **Binance**:
Click to view QR code ![Binance](docs/donate/binance.png)
### πŸ“Š Funding Progress - 🎯 **Goal**: $99 (Apple Developer Account annual fee) - πŸ’° **Raised**: Β₯732 (β‰ˆ $101) - πŸ“ˆ **Progress**: 101.67% βœ… ``` Progress: [β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ] 101.67% - πŸŽ‰ Goal Achieved! ``` **Completed**: - βœ… Apple Developer Account registration (Β₯688/year, β‰ˆ$95/year) - βœ… iOS TestFlight public beta launched - βœ… Lightweight cloud server (Β₯79/year, β‰ˆ$11/year) - For ICP filing **Ongoing Costs**: - πŸ“± Apple Developer Account renewal: Β₯688/year (β‰ˆ$95/year) - ☁️ Lightweight cloud server: Β₯79/year (β‰ˆ$11/year) **Total Annual Cost**: Β₯767/year (β‰ˆ$106/year) All donation fund usage will be transparently disclosed here. ### 🌟 Special Thanks to Our Supporters Thank you to the following generous supporters (in chronological order): - **\*Qiao** - Β₯12 - 2025-10-27 (WeChat) - **\*Rui** - Β₯720 - 2025-10-27 (WeChat) - **\*Hong** - Β₯50 - 2025-11-07 (Alipay) - **\*Shao** - Β₯15 - 2025-11-09 (Alipay) - **\*Ge** - Β₯6 - 2025-11-17 (WeChat) - **\*Te** - Β₯15 - 2025-11-17 (WeChat) --- ## πŸ“œ License This project is licensed under the **Business Source License**: - βœ… **Personal Use** - Completely Free - βœ… **Learning & Research** - Completely Free - βœ… **Open Source Contribution** - Welcome - ❌ **Commercial Use** - Paid License Required ### What is Commercial Use? Commercial license is required for: - Providing this software as part of commercial products or services - Using this software in for-profit organizations - Developing commercial products based on this software - Providing paid cloud services based on this software ### How to Obtain a Commercial License? For commercial use, please contact us via: - πŸ“§ [GitHub Issues](https://github.com/TNT-Likely/BeeCount/issues) - πŸ’¬ [Telegram Group](https://t.me/beecount) For detailed license terms, please see the [LICENSE](LICENSE) file. --- ## πŸ™ Acknowledgments Thanks to all friends who have contributed code, suggestions, and feedback to the BeeCount project! If you have questions or suggestions, feel free to raise them in [Issues](https://github.com/TNT-Likely/BeeCount/issues) or participate in discussions at [Discussions](https://github.com/TNT-Likely/BeeCount/discussions). **BeeCount 🐝 - Making Accounting Simple and Secure**