diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f45dcc61..141c29b4 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -41,7 +41,7 @@ jobs: uses: actions/upload-pages-artifact@v1 with: # Upload entire repository - path: '.' + path: 'index.html' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 diff --git a/index.html b/index.html new file mode 100644 index 00000000..8925f435 --- /dev/null +++ b/index.html @@ -0,0 +1,73 @@ +

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.
+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
+

Launch

+

Development

+

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.

+

Production

+
npm run build
+cd build
+pnpm install --prod
+node server.js
+

Running tests

+

TODO

+

Known issues

+ +

Learn More

+

To learn Fastify, check out the Fastify +documentation.

+

===

+

+

“act in act” like “docker in +docker”

+
    +
  1. Install act +CI

    +

    $curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash

  2. +
  3. Install make

    +

    $brew install make or +$apt install make

  4. +
  5. clone repo

    +

    $git clone https://github.com/RandyMcMillan/nuke-docker.git

    +

    $cd nuke-docker

  6. +
  7. $make

  8. +
+

+
    +
  1. $make push
  2. +
+

https://github.com/RandyMcMillan/nuke-docker/assets/152159/dac1cdef-bec4-4b76-8f2d-c304de680b44

+
+

act example

+
act -v   -W .github/workflows/push.yml
+act -vr  -W .github/workflows/push.yml
+act -vrb -W .github/workflows/push.yml
+

======= - Nostr +- Awesome +Nostr

+

License

+

This project is MIT licensed.