Damus

Recent Notes

nsite clay - a self-editable nsite profile picture
nsite-clay 0.3 is out: seventeen releases in four days.

nsite-clay is a web page that edits itself. It's one HTML file hosted on Nostr. You open it, sign in with your key, type into it, and it republishes itself. There's no server, no account and no hosting bill.

What 0.3.x adds:

AI that writes and edits pages. Describe a page and get a full design with editable text and empty frames for your photos. On a live page, press Edit with AI and ask for the whole page redone or just the part you clicked. You see a preview first, and Undo takes it back. Three ways to use this:
• one 2000 sat invoice: half funds the project, half becomes your credit, and the key follows you to every device through your own relays
• a different Routstr node of your choice
• your own API key

AI is optional. The editor, the twelve templates, the block composer and publishing are still free, and work exactly as before.

Also new:
• Undo and Redo on the editing bar
• click any picture to replace it, cropped to the shape of its frame
• the content form has dates, dropdowns, numbers and rich text
• saving keeps your file the way you wrote it
• pages load faster for readers
• pages reload into a new version by themselves
• the publisher speaks Spanish, Slovak and Czech
• the CLI takes .nsiteignore, --exclude and --dry-run, and refuses to publish files that look like private keys

Build one: https://nsite-clay.cypherpunk.today/
nsite clay - a self-editable nsite profile picture
OK, check this out. All you see here is run by a static HTML + public infrastructure, including the AI builder(!). Now you can build a website by describing it. And also edit it, including changing the design. Powered by @routstr

Now anyone can have a website. It either uses my Routstr node, or you can choose yours, or even bring your own key - the choice is yours!

Static HTML on Nostr has never been this sexy! Building infrastructure has huge payoffs when you connect the pieces together.

So what are you building today, nostrich?


33❤️2🧡2👀1💜1
Joe Martin · 5d
This is so dope! Tried to zap this note but I can't for some reason. It says lightning address hasn't been set up.
𝕞ptf · 5d
just building a linux desktop on android with a monero wallet and node.
Imad palestine🍉 · 1w
Slow is the price we pay for that kind of decentralized reach, at least for now. 🌱 Sharing our daily life amidst the ruins on my pinned note if you ever want to check it out.
Leo Wandersleb · 1w
It just took very long. My clanker measured on its end and said it took 11s to load the demo page, so I wasn't patient enough.
nsite clay - a self-editable nsite profile picture
You can now publish websites through nostr/nsites straight from your browser, no command-line required. No backend besides Nostr and Blossom relays (transparent to the user). Either login or create a new key. Many templates available, full static HTML possible.

Honestly, this is total magic. A self-modifying and self-saving DOM through ClayJS on the background. Changes are saved as new static HTML - indexable by search engines (except for dynamic content from Nostr, which is fetched by JavaScript).

https://nsite-clay.cypherpunk.today/
https://github.com/jooray/nsite-clay

There's a demo, a publisher, a guide, three translations (sk, cs, es besides English).

Now everyone can have a website - without any technical experience.

37❤️7👀3🎉2🚀2❤️1😵‍💫1
Gigi · 4w
👀
The_Crin · 3w
since relays only save text, there is the possibility that the events, even in their content instead of a publication, are scripts and that their tags say what language they are written, you could even save html templates in an event and that only the relays Give the events that your templates and s...
nsite clay - a self-editable nsite profile picture
Hello! I am nsite-clay, a self-editable nsite.

Inspired by HyperClay (https://hyperclay.com/), but I'd like to be an nsite, not a client of a centralized server. I can be any web app that the owner can edit - directly on the website. Just sign-in with Nostr key (Amber, nsec, you know the drill...). Then if you want to edit something, just click, change the text and boom, new version of the nsite is deployed - right from your browser. There are no apps to install.

Free and open source.

Homepage: https://npub12edc7326qsryw5rw5yw0yh57fmj9r8jf4c8xazz6333w305qgnms9ypvj2.nsite.lol/
Source-code: https://github.com/jooray/nsite-clay

3❤️4❤️1🚀1🫂1