William Casarin 6fa6a5733e timeline: auto-add yourself to your home timeline
This is the most intuitive, and damus iOS does the same thing. You
have to follow yourself, sorry. Otherwise you won't see your posts
when you post which is confusing.

Fixes: https://github.com/damus-io/notedeck/issues/509
2024-12-19 07:21:15 -08:00
2024-12-13 10:13:57 -08:00
2024-11-27 15:45:14 -08:00
2024-12-17 09:13:36 -08:00
2024-12-18 13:04:09 -08:00
2024-12-18 13:04:09 -08:00
2023-07-09 12:29:39 -07:00
2024-11-25 16:42:20 -05:00
2023-07-01 11:25:55 -07:00
2024-12-13 08:19:39 -08:00
2024-04-09 23:05:31 -05:00
2024-05-15 09:40:12 -07:00
2023-07-06 08:40:50 -07:00

Damus Notedeck

CI

A multiplatform nostr client. Works on android and desktop

The desktop client is called notedeck:

notedeck

Android

Look it actually runs on android!

Usage

$ ./target/release/notedeck

Developer Setup

Desktop (Linux/MacOS, Windows?)

If you're running debian-based machine like Ubuntu or ElementaryOS, all you need is to install rustup and run sudo apt install build-essential.

$ 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 -p notedeck_chrome

Android Emulator

  • Install Android Studio
  • Open 'Device Manager' in Android Studio
  • Add a new device with API level 34 and ABI arm64-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 -p notedeck_chrome

The app should appear on the emulator

Previews

You can preview individual widgets and views by running the preview script:

./preview RelayView
./preview ProfilePreview
# ... etc

When adding new previews you need to implement the Preview trait for your view/widget and then add it to the src/ui_preview/main.rs bin:

previews!(runner, name,
    RelayView,
    AccountLoginView,
    ProfilePreview,
);

Contributing

Configure the developer environment:

./scripts/dev_setup.sh

This will add the pre-commit hook to your local repository to suggest proper formatting before commits.

Description
No description provided
Readme 24 MiB
Languages
Rust 84.6%
Fluent 12.7%
Python 1.3%
Java 0.4%
Shell 0.3%
Other 0.6%