mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-03 08:24:20 +01:00
c0979d17077ccb7f0140e28532c98ff6c718715c
egui widgets are nice because there are many helper methods on the egui::Ui struct for adding widgets to the screen in various ways. For example, add_sized which designates an area to paint a widget. This is useful in the note_contents case, as it allows us to reserve available_space-20.0 pixels of the available area, saving 20.0 pixels for a side-actionbar popout. I'm not sure I'll use the side actionbar yet, but I've been experimenting with that as an option to save vertical space in the timeline. I still need to make the side actionbar into a widget as well. It currently uses the CollapsingHeader widget, which is designed for expanding elements vertically. We may need to make our own widget for animating an horizontal expansion if we want to achieve a similar effect for the side actionbar.
Damus Android
A multiplatform nostr client. Works on android and desktop
Alpha! WIP!
Compiling
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.
Once you have your dev shell setup, you can build with this command:
$ cargo apk run --release
This will build and run the app on your android device. If you don't have the aarch64-linux-android rust target yet, you can install it with:
$ rustup target add aarch64-linux-android
You can also just type
$ cargo run --release
To run the multiplatform desktop version of the app called NoteDeck.
Description
Languages
Rust
84.6%
Fluent
12.7%
Python
1.3%
Java
0.4%
Shell
0.3%
Other
0.6%