Skip to content

johnongit/nostr-proxy

 
 

Repository files navigation

Nostr Proxy

Push and get events to your Proxy, get results from multiple Nostr relays

Installation

In the project directory, run:

pnpm install

Edit your env variables. You can use a .env file by copying the file .env.example in the root directory, or you can set your variables into your hosting provider UI.

PROXY_URL=wss://your-proxy.com
RELAYS=wss://relay1.com,wss://relay2.com,wss://relay.com

Launch

npm run dev

To start the app in dev mode.
Open http://localhost:3000 to view it in the browser.
Use ws://localhost:3000 into your Nostr client.

npm start

For production mode

npm run test (TODO)

Run the test cases.

Known issues

  • Global feed don't load after the cache is removed
  • NOTICE is not send to the right client

Learn More

License

This project is MIT licensed.

About

Nostr proxy: save you WS connections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.9%
  • EJS 16.2%
  • Dockerfile 1.2%
  • Shell 0.7%