The Nostr Gateway is an effort to pull Nostr data from relays around the nostrsphere into HTML pages for the consumption of the unnostrinitiated. It is built using Node.js and Docker, and is designed to be easy to deploy and run on any machine.
The Nostr Gateway provides a simple web interface for viewing Nostr data from relays around the nostrsphere. To use the interface, simply visit https://nostrexplorer.com in your web browser.
yarn --ignore-engines
yarn run dev
It can be deployed to these places that can run Next.js apps natively, like https://vercel.com/. When deploying on Vercel it's necessary to add the environment variables LD_LIBRARY_PATH=/vercel/path0/node_modules/canvas/build/Release:/var/task/node_modules/canvas/build/Release
manually because of the canvas
package.
git clone https://github.com/fiatjaf/nostr-gateway.git
cd nostr-gateway
sudo docker build -t nostr-gateway .
sudo docker run -p 3000:3000 -d nostr-gateway
Contributions to the Nostr Gateway are welcome!
If you find a bug, have a feature request, or want to contribute code, please open an issue or pull request on the GitHub repository.