pull down to refresh

100 sats \ 0 replies \ @nout 4h
How does it actually work? The app still has to make DNS requests to get IP of the node and then it runs on TCP or UDP, right? The main point is that it's not HTTP, but instead on lightning protocol (but the underlying packets are classic TCP or UDP?)
reply
415 sats \ 1 reply \ @jb55 OP 13h
Hey guys, at Damus I've been building a nostr micro-app browser called notedeck, not based on web technology, just rust + wgpu + egui and an embedded nostr relay.
I thought it would be cool to build a fun little CLN dashboard as an example. Let me know what ya'll think!
reply
Good to see you here!
reply
100 sats \ 3 replies \ @ek 12h
I followed the instructions in the README to run notedeck but nothing is happening, the command just exits with code 0:
$ cargo run -- --debug
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
     Running `target/debug/notedeck --debug`
$ cargo --version
cargo 1.86.0 (adf9b6ad1 2025-02-28)
$ rustc --version
rustc 1.86.0 (05f9846f8 2025-03-31) (built from a source tarball)
Am I doing something wrong? I upgraded cargo and rustc to the version above because before, I got this:
$ cargo run -- --debug
error: failed to load manifest for workspace member `/home/ekzyis/prog/notedeck/crates/notedeck_chrome`
referenced by workspace at `/home/ekzyis/prog/notedeck/Cargo.toml`

Caused by:
  failed to load manifest for dependency `notedeck_clndash`

Caused by:
  failed to parse manifest at `/home/ekzyis/prog/notedeck/crates/notedeck_clndash/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.80.0-nightly (6087566b3 2024-04-30)).
  Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
I'm on NixOS if that's relevant.
reply
111 sats \ 2 replies \ @jb55 OP 11h
Use the nix shell and rustup and it should be fine. Im on nixos as well
reply
11 sats \ 0 replies \ @jb55 OP 11h
cargo run —release — —clndash
reply
0 sats \ 0 replies \ @ek 11h
Oh, I missed the shell.nix file. Cool, that worked!
reply
0 sats \ 6 replies \ @k00b 12h
Is it possible to run this on the dmg?
I'm also curious if you plan to have something like an extension store in notedeck?
Oh, and are there docs for making custom extensions? The code for clndash looks pretty concise so it got me wondering about the API's surface area.
reply
100 sats \ 5 replies \ @anon 12h
I am going to release a new notedeck dmg soon. This is hidden behind a feature flag for now until its easier to use
The docs right now are a work in progress. The other app example of have is notedeck_dave.
It’s really just egui docs + notedeck::App and AppContext which has a few more goodies like the embedded relay and media cache.
Eventually the plan is dynamically loadable wasm modules as extensions/apps that you load off the web. But we’re not close to that yet.
We’re still trying to get the APIs figured out, but we need to build apps first.
reply
111 sats \ 4 replies \ @jb55 OP 12h
oops this was me just didn’t realize i wasn’t logged in on mobile
reply
0 sats \ 1 reply \ @ek 12h
Just curious since you're not the first one who experienced this: Do you also pay with a QR code when logged in? So a QR code is not a good enough signal that you're logged out?
reply
55 sats \ 0 replies \ @jb55 OP 11h
correct
reply
0 sats \ 1 reply \ @k00b 12h
Cool thanks!
Is there a reason why Dave can't be another column in a deck or am I missing the option somewhere? My expectation is that an instance of an app could appear as a column inside decks. (You've probably already thought of that, but I wanted to bring it up just in case.)
reply
111 sats \ 0 replies \ @jb55 OP 11h
I’m going to add him on posts so you can do thread analysis like you can with grok. So yeah can definitely put him in a column
reply
When I saw cindash. it made me think it was a dumb username of my sister since her name is Cindy But then I remember she barely knows how to use a computer. Bitcoin would blow up her brain if she tried to learn. She would bring her big ass catholic cross out for protection. And open her Gatorade holy water to l splash on the computer.
reply