flutter_rust_bridge
Flutter/Dart <-> Rust 绑定生成器,功能丰富,但无缝且简单
采用前沿加密技术的数字日记
Flutter/Dart <-> Rust 绑定生成器,功能丰富,但无缝且简单
v0.1.6一个用于帮助在 Flutter 桌面端创建自定义窗口(自定义边框、标题栏以及最小化/最大化/关闭按钮)和常见桌面窗口操作(显示/隐藏/屏幕位置)的包,适用于 Windows 和 macOS
使用 LibClang 解析 C、Objective-C 和 Swift 文件的 FFI 绑定生成器。
v1.1.0一个可自定义的代码字段,支持语法高亮、双向滚动和代码修饰符
以下为英文项目原文快照,最新内容请访问 GitHub。
A digital diary with state-of-the-art encryption.
Calendar
Editor
I feel like the days of traditional diaries are over. Not only are they inconvenient to carry around, but they are also not very secure. Thus, I decided to create a digital diary that is secure and easy to use.
The project is a local Desktop application that stores all data on the local file system. All files in the repository are encrypted using the ChaCha20-Poly1305 cipher which uses a 256-Bit key. That is plenty to protect your diary for the next years. The key is derived from a password using the Argon2 algorithm, which is currently the recommended algorithm. You can only decrypt the diary again using the same password. In the future we might add support for a second factor like a FIDO2 key that offers a higher level of security.
If you want to save your data in the cloud you can bind a directory to a cloud storage service like Dropbox or Google Drive. Since your data is encrypted and the cloud service private your diary should be safe from prying eyes.
cd client
flutter build windows
You'll find the executable in client/build/windows/runner/Release/.
flutter pub run msix:create
The app currently consists of a simple calendar that just shows whether a day has an entry or not. When clicking on the day in the calendar you'll be able to either create a new entry or edit an existing one (if you know the password for decryption at least).
The encrypted diary entries are stored under your home directory in a folder named .diary.
Run ./tools/build_bridge.sh or ./tools/build_bridge.bat depending on your OS