mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-30 22:44:22 +01:00
bfdd0666547221ebda14579233d057a1fb806a73
Damus
A multiplatform nostr client. Works on android and desktop
Alpha! WIP!
Android
Look it actually runs on android!
Developer Setup
Desktop (Linux/MacOS, Windows?)
First, install nix if you don't have it.
The shell.nix provides a reproducible build environment for android and rust. I recommend using direnv to load this environment when you cd into the directory.
If you don't have direnv, enter the dev shell via:
$ nix-shell
Once you have your dev shell setup, you can build with this command:
$ cargo run --release
Android
The dev shell should also have all of the android-sdk dependencies needed for development, but you still need the aarch64-linux-android rustup target installed:
$ rustup target add aarch64-linux-android
To run on a real device, just type:
$ cargo apk run --release
Android Emulator
- Install Android Studio
- Open 'Device Manager' in Android Studio
- Add a new device with API level
34and ABIarm64-v8a(even though the app uses 30, the 30 emulator can't find the vulkan adapter, but 34 works fine) - Start up the emulator
while the emulator is running, run:
cargo apk run --release
The app should appear on the emulator
Description
Languages
Rust
84.6%
Fluent
12.7%
Python
1.3%
Java
0.4%
Shell
0.3%
Other
0.6%