Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spolu/dump


https://github.com/spolu/dump

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Dump -- Relentless journaling

Screen Shot 2021-07-12 at 13 58 08

Screen Shot 2021-10-12 at 20 22 46

## 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
```