Source code of https://xmr.ditatompel.com, a website that helps you monitor your favourite Monero remote nodes.
Find a file
2024-05-11 21:39:26 +07:00
cmd Avoid naming module using a domain name pattern 2024-05-08 21:35:04 +07:00
frontend Change remote-nodes page meta tags 2024-05-11 21:39:26 +07:00
handler Avoid naming module using a domain name pattern 2024-05-08 21:35:04 +07:00
internal Make nettype and protocol query more strict 2024-05-09 20:44:49 +07:00
tools Adding deploy-prober example 2024-05-06 22:21:46 +07:00
.air.toml Exclude ./tools dir from air watch dir 2024-05-11 20:54:28 +07:00
.editorconfig Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
.env.example Probe (client) check remote node 2024-05-04 22:36:57 +07:00
.gitattributes Initial commit 2024-05-04 00:10:33 +07:00
.gitignore Adding GeoIP support 2024-05-05 02:20:54 +07:00
go.mod Avoid naming module using a domain name pattern 2024-05-08 21:35:04 +07:00
go.sum Adding GeoIP support 2024-05-05 02:20:54 +07:00
LICENSE Initial commit 2024-05-04 00:10:33 +07:00
main.go Avoid naming module using a domain name pattern 2024-05-08 21:35:04 +07:00
Makefile Adding deploy-prober example 2024-05-06 22:21:46 +07:00
README.md removing current page & next page in api response 2024-05-09 18:29:48 +07:00

XMR Remote Nodes

Source code of https://xmr.ditatompel.com.

Requirements

Installation

For initial server setup:

  1. Create database structure and import tbl_cron data from ./tools/resources/database.
  2. Download GeoIP Database and place it to ./assets/geoip. (see ./internal/repo/geoip.go).
  3. Copy .env.example to .env and edit it to match with server environment.
  4. Build the binary with make build.
  5. Run the service with ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> serve.

To create admin user (for creating prober API key from Web-UI, execute ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> admin create).

Systemd example: ./tools/resources/init/xmr-nodes-server.service.

For initial prober setup:

  1. Create API key for prober
  2. Copy .env.example to .env and edit it to match with prober environment.
  3. Build the binary with make build.
  4. Run the service with ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> prober.

Systemd example: xmr-nodes-prober.service and xmr-nodes-prober.timer.