Skip to content

A fully open source cross-platform diary app written by flutter and rust.

License

Notifications You must be signed in to change notification settings

ZhuJHua/moodiary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The preview for moodiary.

็ฎ€ไฝ“ไธญๆ–‡ | English

Official forumไธจQQ Group: 760014526ไธจTelegram: openmoodiary

โœจ Feature

  • Cross-platform support: ๐ŸŒ Compatible with Android, iOS, Windows, MacOS, Linux*.
  • Material Design: ๐ŸŽจ The interface is intuitive and user-friendly, and follows the Material Design specifications.
  • Multiple editors: ๐Ÿ“ supports markdown, plain text, rich text and other forms of text editing.
  • Multimedia accessories: ๐Ÿ“ท You can add pictures, audio, video or even draw a picture to your diary.
  • Search and classification: ๐Ÿ” Easily manage your diary by full-text search and categorization.
  • Custom theme: ๐ŸŒˆ Supports light and dark modes, as well as a variety of color schemes.
  • Custom fonts: โœ๏ธ Supports importing different fonts, and supports variable fonts.
  • Data security: ๐Ÿ”’ Keep your diary safe with a password, supports biometric unlocking.
  • Export and share: ๐Ÿงพ Support all data import/export, as well as single diary sharing.
  • Backup and synchronization: โ˜ Support for LAN synchronization and WebDav backup.
  • Trail Map: ๐Ÿ—บ๏ธ See your footprints on a map. Every step of your life is worth documenting.
  • Intelligent assistant: ๐Ÿ’ฌ Supports access to third-party large models, provides Q&A, sentiment analysis and other functions.
  • Local Natural Language Processing (NLP): ๐Ÿค– A more secure intelligent assistant that lets your diary know you better.

(Note: Cross-platform capabilities are provided by Flutter, and platforms with * marks may require more testing)

๐Ÿ”ง Main Technology stack

  • Flutter ( Cross-platform UI framework )
  • Isar ( High performance local database )
  • GetX ( State management framework )

๐Ÿ“ธ Application screenshot

The application is constantly updated, and the interface may change slightly in the new version

Mobile

The mobile screenshot for moodiary.

Desktop

The desktop screenshot for moodiary.

๐Ÿš€ Installation guide

Third party SDK

Some capabilities need to apply for third-party SDKS, and the following service providers provide free versions, and the obtained keys are configured in the lab.

Weather service

Map service

Intelligent assistant

Direct install

Use it by downloading the compiled installation package in Release, or manually compiling it if you don't have the platform you need.

Manual compilation

Environmental requirement

I always use the latest Flutter version (if possible), using newer versions will bring more features and better performance improvements, never use older versions unless you want your code to become a piece of ๐Ÿ’ฉ

  • Flutter SDK (>= 3.29.0 Stable) (It is recommended to use FVM to manage the Flutter version)
  • Dart (>= 3.7.0)
  • Rust Toolchain (Nightly)
  • Clang/LLVM
  • Compatible IDE (e.g. Android Studio, Visual Studio Code)

Installation procedure

Note: For security reasons, I did not include my signature in the code base, when you need to manually package, you need to modify the configuration file of the corresponding platform, such as build.gradle on the Android platform, and package after modifying the package name, thank you for your understanding.

  1. Clone Repo๏ผš
git clone https://github.com/ZhuJHua/moodiary.git
cd moodiary
  1. Installation dependency๏ผš
flutter pub get
  1. Running application๏ผš
flutter run
  1. Package release๏ผš
  • Android: flutter build apk
  • iOS: flutter build ipa
  • Windows: flutter build windows
  • MacOS: flutter build macos

๐Ÿ“ More description

Natural Language Processing (NLP)

In the experimental stage

Today, more and more industry products are beginning to incorporate AI technology, which undoubtedly greatly improves our experience. However, for diary applications, it is not acceptable to hand over the data to a large model because it is not certain that the data will be used for training. Therefore, a better approach is to adopt a local model. Although local models may not be as powerful as large models due to size limitations, they can still provide necessary help to a certain extent.

Currently, I have the following tasks integrated into the source code:

SQuAD task based on Bert pre-trained model

I used MobileBert for the SQuAD task, which is a simple machine reading comprehension task. You can ask it questions and it will return the answers you need. The model files are in the .tflite format required by TensorFlow Lite, so you can add your own model files to the assets/tflite directory.

Thanks to the following open source projects:

๐Ÿค Contribution guide

Contributions are welcome! Please follow these steps to contribute:

  1. Fork this repository.
  2. Create a new branch(git checkout -b feature-branch-name)ใ€‚
  3. Commit your changes(git commit -am 'Add some feature')ใ€‚
  4. Push to branch(git push origin feature-branch-name)ใ€‚
  5. Create a Pull Request.

Please make sure that your code to follow Flutter style guide and include the appropriate tests.

๐Ÿ“„ License

This project is licensed under the AGPL-3.0 LICENSE, see the LICENSE file for details.

๐Ÿ’– Thanks

  • Thanks to the Flutter team for the excellent framework.
  • Special thanks to the open source community for their valuable contributions.

๐Ÿฅช Sponsor

You can buy me a sandwich to keep me motivated to continue developing.

Sponsor

List of sponsors

If you want to appear on the list, you can leave your Github username in the comment, in no particular order, and the list will be updated regularly.

Sponsor Price Sponsor Price
dsxksss 50 CNY ๅ* 20 CNY
ๆฒญ** 10 CNY ๆœฑไธœๆฐ 60 CNY
Person 5 CNY wu* 10 CNY
ไบ‘* 2.76 CNY ไธๅฏนๅ‘ณ็š„้›ช็ขง 10 CNY
w** 6.6 CNY ๅธ•ๆ–ฏๅก็š„่Šฆ่‹‡ 10 CNY
ไธ** 20 CNY ๆ›พ** 20 CNY
Person 20 CNY Person 18.88 CNY
Lucci 9.9 CNY Person 5 CNY
ๅฎ‹** 5 CNY ็ฟฐ** 5 CNY