This document provides context for AI assistants working on the iBuddhism codebase.
Name: iBuddhism Description: A minimalist Flutter companion app for practitioners of Nichiren Daishonin Buddhism. License: GNU General Public License v3.0.
- Framework: Flutter (Dart)
- UI Library: Material 3
- Specific UI Libs:
liquid_glass_renderer(for bottom nav and playback controls). - Local Storage:
shared_preferences(settings),path_provider(file system access). - Media:
image_picker(avatar selection). - Internationalization:
flutter_localizations,intl, ARB files (located inlib/l10n/).
- Gongyo Recitation:
- Rhythmic reading interface.
- Dual text display: Japanese romanization + Original Chinese.
- Chapter selection: Hoben-pon, Juryo-hon.
- Library:
- Offline resources (primarily Portuguese content).
- Progress & Goals:
- Calendar view for tracking recitation consistency.
- Monthly and weekly goal setting.
- User Profile:
- Customizable name, bio, and avatar (photo or generated color).
- Theming:
- Light / Dark / Auto modes.
- Liquid glass aesthetic for navigation.
- SDK: Flutter Stable.
- Platforms: iOS (Xcode required), Android (Android Studio required).
- Configuration:
- iOS Permissions:
NSCameraUsageDescription,NSPhotoLibraryUsageDescriptioninInfo.plist. - Localization: Configured via
l10n.yaml.
- iOS Permissions:
- Run App:
flutter run - Run Tests:
flutter test - Generate Localization:
flutter gen-l10n - Generate App Icons:
dart run flutter_launcher_icons - Build iOS:
flutter build ios - Build Android:
flutter build apkorflutter build appbundle
- i18n: All user-facing strings must be extracted to ARB files. Do not hardcode strings in widgets.
- UI: Adhere to Material 3 guidelines where possible, blending with the custom "Liquid Glass" style.
- State Management: [To be defined - currently inferred as standard Flutter state or unspecified]
- Data: Local-first architecture using device storage.
- Presentation: Flutter Widgets.