I made it a lot simpler to launch notedeck with custom columns, you can compile and give it a try!

$ notedeck --sec $MAIN_NSEC -c contacts -c notifications -c contacts:$ALT_NPUB -c notifications:$ALT_NPUB

will launch notedeck with 4 columns:

- main timeline + notifications

- watchonly alt timelime+notifications

Reply to this note

Please Login to reply.

Discussion

flags instead of config file or ui elements? I dig it.

it will have both, but flags are great for stateless config on launch

I love how you’re building this so much 🙂

+100 for the flags.

if you pass your nsec like this, pretty sure it leaks to your cmd line history. be cool to support env vars direct, if it doesnt already.

put space before cmd to not add to history

My nsec is already in a plaintext file in my dir though 🤷‍♂️

Lol what!

#gifbuddy

If you are on most Unix-like machines, command line parameters to programs are visible to all other processes. on Linux systems you can find it for example via:

ps -p [some pid here] -o args

they can also read from any file as well. I treat my system as a safe area, but this is still more of a dev version. release version will have encrypted flatfiles for storing keys. although even that is annoying because you have to enter a password every time you open the app. not even signal desktop does this.

on macos we are looking into using local auth for encrypting/decrypting which would be way more slick

https://github.com/damus-io/notedeck/issues/138

I don't even really expect normal users to be using the CLI like this. once your keys are stored locally you don't need that CLI argument. this is mainly for testing.

That makes sense, thank you for the response.

I did --sec nsec -c conacts -c notifications but only got one column... not sure what im doing wrong.

Did you pull latest ?

Yes. i tried again and said im up to date.

git show should be hash:

2603d08d1a41bd6b10646db3f35e4fc969aee967

Also make sure to rebuild of course:

cargo build —release

./target/release/notedeck …

also contacts instead of conacts :D

Ill update it to fail on bad inputs

It worked!! i think it was the typo.

WOW! #notedeck renders images now?! SWEET!

Yeah it’s the first iteration of it. Will refine the design

Looking great!! really nice work!

is the profile and universe column removed?

Oh right, will commit that one sec

they are on master now!

thanks. looks great here.

env variable for nsec would be better…