2024-05-09 18:29:48 +07:00
# XMR Remote Nodes
2024-05-17 17:40:22 +07:00
Source code of [https://xmr.ditatompel.com ](https://xmr.ditatompel.com ), a website that helps you monitor your favourite Monero remote nodes.
2024-05-05 02:20:54 +07:00
## Requirements
2024-05-17 17:40:22 +07:00
### Server & Prober requirements
2024-05-28 10:03:29 +07:00
- Go >= 1.22
- Linux Machine (AMD64 or ARM64)
2024-05-17 17:40:22 +07:00
### Server requirements
2024-05-28 10:03:29 +07:00
- MySQL/MariaDB
- [GeoIP Database ](https://dev.maxmind.com/geoip/geoip2/geolite2/ ) (optional). Place it to `./assets/geoip` , see [./internal/geo/ip.go ](./internal/geo/ip.go ).
2024-05-05 02:20:54 +07:00
2024-05-06 19:59:43 +07:00
## Installation
2024-05-05 02:20:54 +07:00
2024-05-09 18:29:48 +07:00
### For initial server setup:
2024-05-06 19:59:43 +07:00
2024-05-23 03:40:06 +07:00
1. Download [GeoIP Database ](https://dev.maxmind.com/geoip/geoip2/geolite2/ ) and place it to `./assets/geoip` . (see [./internal/geo/ip.go ](./internal/geo/ip.go )).
2024-05-12 04:19:40 +07:00
2. Copy `.env.example` to `.env` and edit it to match with server environment.
3. Build the binary with `make build` .
2024-05-18 18:05:53 +07:00
4. Run the service with `./bin/xmr-nodes-server-linux-<YOUR_CPU_ARCH> serve` .
2024-05-06 19:59:43 +07:00
Systemd example: [./tools/resources/init/xmr-nodes-server.service ](./tools/resources/init/xmr-nodes-server.service ).
2024-05-06 21:45:33 +07:00
2024-05-09 18:29:48 +07:00
### For initial prober setup:
2024-05-06 21:45:33 +07:00
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` .
2024-05-18 18:05:53 +07:00
4. Run the service with `./bin/xmr-nodes-client-linux-<YOUR_CPU_ARCH> probe` .
2024-05-06 21:45:33 +07:00
Systemd example: [xmr-nodes-prober.service ](./tools/resources/init/xmr-nodes-prober.service ) and [xmr-nodes-prober.timer ](./tools/resources/init/xmr-nodes-prober.timer ).