Push and get events to your Proxy, get results from multiple Nostr relays
curl https://raw.githubusercontent.com/gnostr-org/gnostr-proxy/master/gnostr-proxy | bash
or
make run
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.
For APP_KEY
, you can use the following command to generate one node ace generate:key
PORT=3333
HOST=0.0.0.0
NODE_ENV=development
APP_KEY=unique-key
DRIVE_DISK=local
SESSION_DRIVER=cookie
CACHE_VIEWS=false
PROXY_URL=wss://your-proxy.com
RELAYS=wss://relay1.com,wss://relay2.com,wss://relay.com
npm run dev
to start the app in dev mode.
Open http://localhost:3333 to view it in the browser.
Use ws://localhost:3333
into your Nostr client.
npm run build
cd build
pnpm install --prod
node server.js
TODO
- None?
To learn Fastify, check out the Fastify documentation.
===
-
$
curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
-
Install
make
$
brew install make
or $apt install make
-
clone repo
$
git clone https://github.com/RandyMcMillan/nuke-docker.git
$
cd nuke-docker
-
$
make
- $
make push
nuke-docker.mov
act -v -W .github/workflows/push.yml
act -vr -W .github/workflows/push.yml
act -vrb -W .github/workflows/push.yml
=======
This project is MIT licensed.