0 sats \ 0 replies \ @NabismoPrime 6 Apr \ parent \ on: Nosflare - a serverless Nostr relay powered by Cloudflare Worker and KV store nostr
https://njump.me/nevent1qvzqqqqqqypzq3grh2sj000apvz58pxutw5zev8z4qm8e0dsv2ghnuqdkx35e2kvqyghwumn8ghj7mn0wd68ytnhd9hx2tcppemhxue69uhkummn9ekx7mp0qqszyg7nqqrv60ccklvnrkfsxkkzgqqx47ntn5rwk3aqle2n8a26duqr9pkg2
Nice just followed the repo!
This is much faster than the serverless relay PoC I made with Python and Lambda functions, less expensive as well!
Not a stupid question at all!
There are a few reasons I suggest running this as a separate server is assuming you are running a Tor node at home and/or hosted only on Tor.
The first being that this ultimately a web server that is meant to listen on a public IP address. You could be hosting your node from a public IP at home (using portforwarding on a NAT router) but I wouldn't advise running a publicly reachable webserver from your home network as you could inadvertently let bad actors into your home network. I would rather spend $5 a month on a VPS than worry about bad actors getting onto my home network, with the current design this just makes API calls over Tor to your node and then serves the invoices to nostr clients.
The second issue is that this script automates the deployment of an nginx server and requesting a TLS certificate (for ease of setup). If you have anything (other services) in the
etc/nginx/sites-available/default
file, it will be overwritten and replaced with the new nginx proxy.The third issue is potential port conflicts, certain nodes may be hosting a webserver on port 443 for an admin UI or something similar.
However this was just quickly thrown together on a Saturday, I'll continue to work on this and will likely release a docker container at some point and with some careful planning could possibly run this on a node as well.
This same thing has happened to me multiple times with several banks. I used to do a lot of P2P trading on Paxful, it was a great extra source of income for a while until I started getting charge backs and otherwise flagging fraud detection algorithms due to very frequent trades.
Glad to hear you ended up coming out of this with your account balance intact. But definitely can relate to what you went through, I was pulling out my hair for over 3 months as well and now have multiple checking accounts to hopefully prevent myself from ending up in that situation again ( I no longer P2P trade as well).
Thank you so much for taking the time to analyze and give detailed actionable feedback. I will be sure to open up some issues and get working on this!
Sorry for the multiple Zap notifications!
This was built for exactly that! If you end up trying to run it, I would love to hear your feedback so I can improve it.
GENESIS