A comprehensive, offline-first health tracking app built with Flutter for managing diabetes and nutrition. Features zero telemetry, local SQLite storage, and advanced blood sugar-meal correlations.
- Manual Logging: Add, edit, delete blood sugar readings with before/after meal flags
- Custom Categories: Flexible categorization (fasting, post-meal, exercise, etc.)
- Unit Conversion: Automatic mg/dL β mmol/L conversion
- Time Zone Aware: Displays readings in user's local timezone
- Macro Nutrients: Track carbs, protein, fat, and calories
- Micro Nutrients: Monitor fiber, sugar, sodium, vitamin C, calcium, iron
- Premade Meals: Quick-select common foods (breakfast, lunch, snacks, etc.)
- Custom Entries: Full nutrition data input for detailed logging
- Interactive Charts: Beautiful line charts showing blood sugar trends over time
- Statistical Analysis: Average readings, high/low alerts, correlation insights
- Blood Sugar-Meal Correlation: Link meals to blood sugar readings for better insights
- Export Data: CSV/TXT export for external analysis
- Biometric Lock: PIN and fingerprint/face authentication
- Zero Telemetry: No data collection or sharing
- Local Storage: All data stays on your device
- Offline-First: Works without internet connection
- Daily Reminders: Customizable notifications for blood sugar checks
- Data Import: CSV import with field mapping
- Multi-Language: Internationalization support (English ready)
[Screenshots would go here - add images from app testing]
- Flutter (latest stable version)
- Android Studio (for Android development)
- Xcode (for iOS development)
-
Clone the repository
git clone https://github.com/Burnsedia/dracula.git cd dracula -
Install dependencies
flutter pub get
-
Generate localization files
flutter gen-l10n
-
Run the app
flutter run
flutter build apk --releaseflutter build ipa --release- Launch the app
- Complete onboarding
- Set up biometric lock (optional)
- Configure units and reminders
- Tap the "+" button on the home screen
- Enter blood sugar value
- Select before/after meal
- Choose category and meal (if applicable)
- Save the reading
- Navigate to Meals from the app bar
- Add new meals with nutrient data
- Use premade options for quick logging
- View meal history and correlations
- Go to Analytics/Charts screens
- View trend charts and statistics
- Export data for external analysis
lib/
βββ models/ # Data models (BloodSugarLog, Meal, Category)
βββ screens/ # UI screens and widgets
βββ services/ # Business logic and database operations
βββ components/ # Reusable UI components
βββ l10n/ # Localization files
βββ main.dart # App entry point
- blood_sugar_logs: Blood sugar readings with metadata
- meals: Nutrition data and meal information
- exercise_logs: Physical activity tracking
- categories: Custom categorization system
- Stateful widgets for local state
- Provider pattern for shared state
- SQLite for persistent data storage
Run the full test suite:
flutter test- Unit Tests: Model serialization and business logic
- Widget Tests: UI component interactions
- Integration Tests: End-to-end user workflows
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Run linting
flutter analyze
# Format code
flutter format .
# Run tests
flutter test
# Build for all platforms
flutter build apk && flutter build ios- Development Log - Complete development journey and technical details
- Flutter Documentation
- Dart Documentation
- Material Design Guidelines
Dracula is designed with privacy as the highest priority:
- No Data Collection: Zero telemetry or analytics
- Local Storage Only: All data remains on device
- Open Source: Transparent code for security audits
- Biometric Protection: Optional device-level security
This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.
- Flutter community for amazing documentation and tools
- Material Design for beautiful UI components
- Open source libraries used in this project
Disclaimer: Dracula is a personal health tracking tool and not medical advice. Please consult healthcare professionals for diabetes management and nutrition guidance.
Made with β€οΈ using Flutter