Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spolu/dump
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/spolu/dump
- Owner: spolu
- Created: 2021-07-05T14:04:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-12T18:23:07.000Z (about 3 years ago)
- Last Synced: 2024-04-15T12:16:25.516Z (9 months ago)
- Language: Dart
- Size: 1.54 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dump -- Relentless journaling
## Build Instructions
### Prerequesites
#### Install Flutter
Follow Flutter's [Install Instructions](https://flutter.dev/docs/get-started/install)
Switch to the `dev` channel and enable `MacOS` with:
```bash
flutter channel dev
sudo gem install cocoapods
flutter config --enable-macos-desktop
```### Install Rust
Follow Rust's [Install Instructions](https://www.rust-lang.org/tools/install)
#### Clone Dump
```bash
git clone https://github.com/spolu/dump.git
cd dump
```### Build Rust libraries
```
cd srv && cargo build --release && cd ..
cd srv && cargo lipo --targets x86_64-apple-ios,aarch64-apple-ios --release && cd ..
cd srv && cbindgen ./src/lib.rs -c cbindgen.toml | grep -v \#include | uniq > target/bindings.h && cd ..cp srv/target/release/libsrv.dylib app/macos/
cp srv/target/bindings.h app/ios/Runner
cp srv/target/universal/release/libsrv.a app/ios/
```### Build MacOS app
```bash
cd app && flutter build macos --release && cd ..
```## Running Dump
Start the MacOS app:
```bash
open ./app/build/macos/Build/Products/Release/Dump.app
```