Skip to content

benbrook1980/XMR-Stak-Monitor

 
 

Repository files navigation

XMR Stak Monitor

image

About

This app was created by me, RayLehnhoff. If you want to support future development of this dashboard, buy me a beer, or otherwise throw XMR my way, my wallet address is: 42XXeiS1eYLj9EKYqcDE6FHivg7wead8x9MVkZmggMGHDpmJ9yoZqMD5XbdPaNRmBq4tSXsuwfn7gLgwB781YbqHCKbNPCt

Project Description

This monitor serves as a dashboard for users that miner on several devices.

This monitor uses nodejs, express, and angular2.

Get Started

We assume that you have a running version of nodejs on your computer. If you don't have it, you will need to download it from the nodejs website.

  1. Download the Project
  2. Modify the minersconfig.local.ts file in server/minersconfig.local.ts to match your setup:

The minersconfig file should look somewhat like this:

  export const miners = {
      "miners":[
          {"name":"Miner", "url":"http://192.168.86.72:10080", "username":"", "password":""},
          {"name":"Server", "url":"http://192.168.86.4:60080", "username":"admin", "password":"admin"},
          {"name":"Desktop", "url":"http://localhost:10080", "username":"", "password":""}
      ]
  }

The app will append the /api.json URL, so do not include it.

These URLs can be either remote or local -- it doesn't matter.

The minersconfig.local.ts file is ignored by this project, so updates should not wipe it out.

  1. Open a terminal/command shell, change the directory to the XMR-STAK-Monitor folder and run: npm install npm run start

  2. Browse to http://localhost:4200 -- the dashboard should now load.

Docker

  1. Run docker build -t xmr-stak-monitor .
  2. Run docker run -p 4200:4200 -p 4300:4300 --name=xmr-stak-monitor xmr-stak-monitor

Changing things

If you want to change the port the server runs on, you will need to modify the file in server/config.ts -- by default, it runs on port 4300, with the angular (client app/dashboard) running on port 4200. To change the angular app's port, modify protractor.conf.js and change it to whatever you want.

About

A dashboard for multiple XMR miners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.6%
  • HTML 19.0%
  • JavaScript 5.6%
  • CSS 4.8%