mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
Compare commits
4 commits
abf18a0c28
...
5525806c80
Author | SHA1 | Date | |
---|---|---|---|
|
5525806c80 | ||
9b48c4731a | |||
a936cb343b | |||
|
18362765b9 |
4 changed files with 10 additions and 6 deletions
|
@ -20,8 +20,8 @@ The **clients** is used to fetch node information given by the server. First,
|
|||
it will ask the server which node to fetch. Then, it will fetch the information
|
||||
and report back to the server.
|
||||
|
||||
The **server** serves an embedded Svelte static site for the Web UI. It also
|
||||
serves the `/api` endpoint that is used by the clients and the Web UI itself.
|
||||
The **server** serves the Web UI and the `/api` endpoint that is used by the
|
||||
clients.
|
||||
|
||||
## Requirements
|
||||
|
||||
|
@ -85,6 +85,7 @@ See the [Makefile](./Makefile).
|
|||
- :white_check_mark: Use `a-h/templ` and `HTMX` instead of `Svelte`.
|
||||
- Use Go standard `net/http` instead of `fiber`.
|
||||
- :white_check_mark: Accept I2P nodes.
|
||||
- :white_check_mark: Support Tor hidden service (beta, inform via HTTP header).
|
||||
|
||||
## Acknowledgement
|
||||
|
||||
|
@ -121,7 +122,7 @@ Thank you!
|
|||
This project is licensed under [BSD-3-Clause](./LICENSE) license.
|
||||
|
||||
[templ-repo]: https://github.com/a-h/templ "a-h/templ GitHub repository"
|
||||
[geoip-doc]: https://dev.maxmind.com/geoip/geoip2/geolite2/ "GeoIP documentation"
|
||||
[geoip-doc]: https://dev.maxmind.com/geoip/geolite2-free-geolocation-data/ "GeoLite2 Free documentation"
|
||||
[server-systemd-service]: ./deployment/init/xmr-nodes-server.service "systemd service example for server"
|
||||
[prober-systemd-service]: ./deployment/init/xmr-nodes-prober.service "systemd service example for prober"
|
||||
[prober-systemd-timer]: ./deployment/init/xmr-nodes-prober.timer "systemd timer example for prober"
|
||||
|
|
|
@ -44,6 +44,9 @@ server {
|
|||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Download-Options noopen;
|
||||
|
||||
# Add your onion URL here if you support it
|
||||
# add_header Onion-Location http://<YOUR-ONION-ADDRESS>.onion$request_uri;
|
||||
|
||||
location = /robots.txt {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
|
|
2
go.mod
2
go.mod
|
@ -3,7 +3,7 @@ module github.com/ditatompel/xmr-remote-nodes
|
|||
go 1.22.2
|
||||
|
||||
require (
|
||||
github.com/a-h/templ v0.2.778
|
||||
github.com/a-h/templ v0.2.793
|
||||
github.com/go-sql-driver/mysql v1.8.1
|
||||
github.com/gofiber/fiber/v2 v2.52.5
|
||||
github.com/google/go-querystring v1.1.0
|
||||
|
|
4
go.sum
4
go.sum
|
@ -1,7 +1,7 @@
|
|||
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
|
||||
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
|
||||
github.com/a-h/templ v0.2.778 h1:VzhOuvWECrwOec4790lcLlZpP4Iptt5Q4K9aFxQmtaM=
|
||||
github.com/a-h/templ v0.2.778/go.mod h1:lq48JXoUvuQrU0VThrK31yFwdRjTCnIE5bcPCM9IP1w=
|
||||
github.com/a-h/templ v0.2.793 h1:Io+/ocnfGWYO4VHdR0zBbf39PQlnzVCVVD+wEEs6/qY=
|
||||
github.com/a-h/templ v0.2.793/go.mod h1:lq48JXoUvuQrU0VThrK31yFwdRjTCnIE5bcPCM9IP1w=
|
||||
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
|
||||
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
|
||||
|
|
Loading…
Reference in a new issue