Replies (72)
I consider myself a nak poweruser.
This will be ultra helpful. :D
Gotta check if search inside this beats notedeck's new fast search, lol
Wow! This is very kick ass.
You are a legend πβ‘οΈ
What does this mean in left curve non-dev speak
cc
@Mike Dilger βοΈ
It means you can browse nostr notes like you would do with folders and files.
Thanks for confirming π€
Small pieces, loosely joined. Bravo,
@fiatjaf.
View quoted note β
also if you want a feature, donβt ask for it π«‘
About a dozen nerds in the world will enjoy using this at least once.
This is insane π€―π€―π€―
π₯²
lmao, bro
fiatjaf
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:
View quoted note →
π
Letβs get this slogan on the nostr marketing release website π
If I create a file, will it sign and broadcast stuff?
Does it use SHA256 files system linked like Nix?
On the next version I'll come up with something for that.
Definitely not.
Really? I'm curious. I need at least one actually useful use case for the README.
Awesome!
How might we use it?
Very cool. π
At last, the killer app!!
nice
What is...
A Shower?!
I'm already tired of it myself.
It's all going according to plan then π
nak req -a <yourkey> --paginate relay.com > events.jsonl
$ 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.
- 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...)
Very cool. It works!
Everything is a file!
βLoved by a dozen nerds, worldwide.β ππ»
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.
"everything is a file"

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 π₯°
π
they just built it?
Every time I git pull #nak it becomes more amazing ππ₯π₯π₯ I love this project
fiatjaf
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:
View quoted note →
So you're saying those 12 npubs are very valuable π
Priceless. For everything else there's Bitcoin π
So this is new?
What the....? π
# πβπ§π·GM
Gopher, Gemini, and now Gopher 2.0 :-)
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.
must be latest - nak
Nostr is a virus.
A more illustrative screenshot:

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.
βyou were so preoccupied with whether or not you could,
you didn't stop to think if you should"
oh wow π€©
Way better than βeverything is an iframe β
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?
Wow! FUSE is amazing and I love this! Very Plan9-esque.
t Y
I asked. Thanks for that.