nostr-based ghost blog See a running demo at https://hello-ndk.vercel.app
Simply click this bright, blue button:
Ensure you have Node.js installed on your computer.
- Fork this repository
- Git clone you new fork to your server
- Inside the project root, run
git checkout master
to switch to the master branch for the most stable version - Add a
.env
file to the project root. See the Configuration section - Run
yarn
to install node packages - Run
yarn build
to build the production server - Run
yarn preview
to run the sever.
If you did it right, that's about it!
Configuration is done with enviroment variables.
PUBLIC_PUBKEYS
List of HEX pubkeys to fetch events for seperated by a,
PUBLIC_RELAYS
List of relay URLs to connect to seperated by a,
.- It's best to keep this list as small as possible. Less relays = faster blog and less room for errors (updates not being published)
PUBLIC_NAME
A name for your blog. ex:nym's blog
PUBLIC_PICTURE
A Picture URL for your blog, used in favicon and header.PUBLIC_REACTIONS
Controls if you want reactions underneath your posts. Can either betrue
orfalse
.