hey nostr:npub1m4ny6hjqzepn4rxknuq94c2gpqzr29ufkkw7ttcxyak7v43n6vvsajc2jl nostr has inspired me to learn web development and build a website, what is the best way to learn how to build onto NOSTR?

Reply to this note

Please Login to reply.

Discussion

A lot depends on what you want to build?

Want to build Nostr familiarity? See about contributing some bugfixes or small features to existing projects.

Want to build a website with Nostr features? What sort of site do you want to build? What Nostr features will it have? Answer those questions and you can make yourself a roadmap.

I've kind of written out a game plan and I know what I want to build, last night I bought a domain name and just wanted to try to do some basic HTML stuff but I couldn't get it hosted. Something with the billing wouldn't go through. What is the best way to host a website and edit it?

If you're really just getting started, open the simplest text editor available on your computer and make a file called "index.html"

Write "

Hello World

" in that file and save it. You should be able to open it up with your web browser. You should be able to start building from there.

If you want to dive right into the nostr world you can add the code linked here and start scripting stuff. Nostr is a couple levels above basic HTML though.

☝️All of this.

Mozilla Development Network has great learning and reference resources for web development.

Typically hosting a basic website involves transferring a few code files onto the web server. Your server hosting provider should have some tutorials to help with that.

https://developer.mozilla.org/en-US/docs/Learn_web_development

The first things that come to mind is setting up something very basic; a HTML page with minimal javascript. Now you can open the browser debugger and have your own playground! Try some APIs, try to make something appear. The more you learn from this, you can incorporate into your little HTML site. Sooner or later, it will grow to be a tiny program.

From here, you can start to think what you enjoyed or what you didn't - as well as what you wish there'd be. Think if what you know now could get you there, and what it would take to get there if not. This could set you up on a little learning trip =)

There's three types of learners:

- Those that absolutely inhale all sorts of documentation (i.e. read the entire ReactJS documentations) and then jsut... know stuff. Like, snap, learned. o-o

- Those that read a crapton of source code, because the documentation doesn't stay in their head. (Hey, that's me!) Trying things out in a console - like a temporary Docker container or a web-based playground - and then continiously coping it into your project, reshaping and restructuring untill it works.

- Those that binge videos or online courses; some people just prefer having things explained to them "in person". Here on Nostr, there's sure to be people to know a thing or two. Leserin here certainly is one I am sure ^^

I hope this gave you some pointers and ideas =)

The best way I have found to start is to host a website from your own computer and use cloudflared to make the website accessible on the open web without opening ports on your local network.

I do this right now with BTCforPlebs.com

Thank you!

Your welcome! Let me know if you need anything else

Every time someone recommends Cloudflare, the internet dies a little inside. 💔

Got a better option without running nginx and opening a port?

Onionshare is stupid easy and helps strengthen the Tor network.