Web GUI/Monitor for Nelson, a P2P manager for IOTA's IRI node
8.1K
This is a small http server that monitors the Nelson instance and outputs the status as a web page. Based on create-react-app.
node (version >6.9) and yarn and npm should be installedserve globally: sudo npm install -g serveGlobally install Nelson
npm install -g @semkodev/nelson.gui
And run it
nelson.gui -p 5000
You can use the node process manager to run Nelson GUI as a service. Just do the following:
# Install the process manager:
npm install pm2 -g
# Make pm2 start at startup:
pm2 startup
# Start the Nelson GUI as service
pm2 start nelson.gui --port 3333
# Save current processes runing with pm2 to startup on boot:
pm2 save
Provided you have docker installed, Nelson GUI can be started as follows:
docker run <docker opts> semkodev/nelson.gui <nelson.gui command line opts>
Clone the project
git clone [email protected]:semkodev/nelson.gui.git
cd nelson.gui
yarn install --pure-lockfile
node build/nelson.gui.js
Now your server runs at http://localhost:5000
Is your Nelson's API running on a non-standard host:port (localhost:18600)? Simply provide it when starting the GUI:
nelson.gui -p 5000 --apiHostname another.hostname.com --apiPort 123456
The data is refreshed automatically each 5 seconds (or at the heartbeat rate of your Nelson)
If your Nelson's API is username/password protected (strongly recommended!), you can specify the credentials in the URL:
http://www.your.gui.host.com:<port>/#/<username>:<password>
This is the simplest way. A better login window is coming soon.
NOTE: If your Nelson API is not password protected, the GUI will scramble all the hostnames and IPs for security reasons.
The monitor is under heavy development. Please be patient. Contribution / Pull Requests are welcome, but at this early stages where so much changes, your work might become quickly non-mergeable and thus be in vain. Please, for now, refrain to small PRs, thank you!
Donations always welcome:
AAJXXFJUEQHKPYIOUIUO9FWCMOAFBZAZPXIFRI9FLDQZJGHQENG9HNMODUZJCHR9RHHUSBHWJELGRDOWZRNWYLYCQW
Content type
Image
Digest
Size
69.4 MB
Last updated
about 8 years ago
docker pull romansemko/nelson.gui