Since no one asked we've finally delivered: a full-blown FUSE filesystem for all Nostr events and metadata.

nak fs /mnt

cd /mnt/hodlbod@coracle.social

I was going to make a shiny video of this but the result was too bad, so please someone make one and post it here.

In the meantime I have these amazing screenshots of the most beautiful file explorer I could find on my computer:

Reply to this note

Please Login to reply.

Discussion

I consider myself a nak poweruser.

This will be ultra helpful. :D

Really? I'm curious. I need at least one actually useful use case for the README.

if i can get the deps sorted, i would like to use it to download my entire history, and then id use recursive grep to search it ..

is this cause im on go 1.24? /sadness

nak req -a --paginate relay.com > events.jsonl

- file-based event retrival. Point Caddy with `file_server` at it, and you have a dumb njump.me.

- Script access. Instead of `EVENT=$(nak ... $NAK_FLAGS)` (and subsequently hammering pid space and cpu with repeated tasks), mounting events as a filesystem allows "any" application to use nostr.

* If the FS also supports creating events, this might serve as a file-backend for a file-based CMS.

- Mounting nostr events as a kubernetes volume (by mounting ontop of an emptyDir). Because lol.

* ...and using that in a cronjob to use "arbitrary" tools like dagu to do things with nostr without teaching them how to nostr.

- Backup. Speaking of cronjobs; just schedule a note dump with a cronjob.

- Shell-fu. `find /mnt/nostr/$npub -type f -exec ...`. You know the random oneliners that save a day? Yeah, that. sed, grep, awk... even ripgrep and fdfind

And put this all together? Load your dotfiles from nostr. Publish a dotfile-setup script to nostr and just source it: `(cat /mnt/nostr/note1... | jq -r ".content" > $HOME/.config/nostr.sh) && . $HOME/.config/nostr.sh` - truely have your dotfiles everywhere, literally platform independent :p (my solution is not the most elegant - but something like it...)

You want to run a boring old blog, on top of your nostr long form...

Mount it on your blog server, have your static site generator or whatever read and build HTML from new notes. Then you can update your blog with any nostr client automatically.

Wow! This is very kick ass.

What does this mean in left curve non-dev speak

cc nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c

It means you can browse nostr notes like you would do with folders and files.

Thanks for confirming ๐Ÿค

also if you want a feature, donโ€™t ask for it ๐Ÿซก

๐Ÿฅฒ

What do you think of this idea?

I think this is fiatjaf doing marketing for the fiatjafs of the world. If successful, we might have a few new devs start building on the protocol.

Now that the developer marketing project is complete I think there is value in creating a yellow pages of various communities and how to find them on NOSTR. This would be a Normie friendly marketing website.

Hypothesis: The problem being solved with normie yellow pages for nostr is

โ€œnostr is for the coin peopleโ€ or my people are not here / I canโ€™t find them.

About a dozen nerds in the world will enjoy using this at least once.

Letโ€™s get this slogan on the nostr marketing release website ๐Ÿ˜‚

โ€œLoved by a dozen nerds, worldwide.โ€ ๐Ÿ‘Œ๐Ÿป

Once upon a time, Personal Computers, the Web, and Bitcoin were all seen as "toys" enjoyed only by a dozen nerds.

and now dozens use nostr

There are tens of us. TENS!

Literally 2 dozen ๐Ÿฅฐ

So you're saying those 12 npubs are very valuable ๐Ÿ˜‚

Priceless. For everything else there's Bitcoin ๐Ÿš€

At last, the killer app!!

What is...

A Shower?!

I'm already tired of it myself.

It's all going according to plan then ๐Ÿ˜‚

they just built it?

Gopher, Gemini, and now Gopher 2.0 :-)

This is amazing

๐Ÿ‘€

If I create a file, will it sign and broadcast stuff?

On the next version I'll come up with something for that.

nak fs --sec 'bunker://...' /mnt

cd /mnt/@me/notes

echo 'goodbye stranger' > new

cd /mnt/@me/articles

mkdir whatever

cd whatever

vim content.md # write a very thoughtful article

vim title # write a very thoughtful title

touch publish

Does this use FUSE?

t Y

Does it use SHA256 files system linked like Nix?

whats up with the nak deps? its still complain about this ristretto library ๐Ÿ˜ญ๐Ÿ˜ i wanna try dis fuse ๐Ÿ™

Awesome!

How might we use it?

Very cool. ๐Ÿ‘Œ

nice

$ chown -R mike /mnt/fiatjaf@fiatjaf.com

$ echo "so there." >> /mnt/fiatjaf@fiatjaf.com/notes/0000daa8e795a5a089ac03556a167a206f8045a3bb7370837bd5eef9123b8866

It's painful to understand about half of this... nice job.

๐Ÿ‘€

โ€œyou were so preoccupied with whether or not you could,

you didn't stop to think if you should"

Everything is a file!

"everything is a file"

Way better than โ€œeverything is an iframe โ€œ

Every time I git pull #nak it becomes more amazing ๐Ÿ’œ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ I love this project

nostr:nevent1qqsqqqx64rnetfdq3xkqx4t2zeazqmuqgk3mkumssdaatmhezgacsespz9mhxue69uhkummnw3ezuamfdejj7q3q80cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsxpqqqqqqzmqdrne

So this is new?

What the....? ๐Ÿ˜‚

# ๐Ÿ‘€โ˜•๐Ÿ‡ง๐Ÿ‡ทGM

Very cool

Awesome ๐Ÿ˜Ž

๐Ÿ‘€ Could this be solution to store scores of games on Nostr?

I stoped developing my game since saving high scores on nostr hasn't been there yet.

Nostr is a virus.

A more illustrative screenshot:

Wow! FUSE is amazing and I love this! Very Plan9-esque.

I asked. Thanks for that.