8000 GitHub - santobedi/NodeHostingApp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

santobedi/NodeHostingApp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeHostingApp

This Flask web application allows users to install, manage, and monitor services (called nodes) on a system running systemd. The main features of the app include:

Listing all nodes in a table, with information such as name, node, index, status (loaded, active, uptime), status message, and associated controls. Installing a new node by specifying the brand, username, email, password, and node number. Stopping, restarting, and deleting individual nodes. Stopping and restarting all nodes simultaneously. The app also includes a search function to filter nodes by username.

To be able to "run" a node and receive rewards, it is required to own a node license. More information can be found here:

Sign up for a free account here:

Create Your Free Connect Account

Application Routes

The Flask app has several routes that handle different actions:

  • /: Displays an overview of all nodes and their state.
  • /install: Installs a new node based on the information the user provided.
  • /delete///int:nodeindex: Deletes a node based on the brand, username, and node number.
  • /stop/<service_name>: Stops a service based on the service name.
  • /restart/<service_name>: Restarts a service based on the service name.
  • /disable/<service_name>: Disables a service based on the service name.
  • /restartall: Restarts all nodes.
  • /stopall: Stops all nodes.

HTML Template

In addition to the Flask app, there is an HTML file that contains forms for adding and managing nodes, a table displaying all nodes and their state, and a search field for filtering nodes by username. JavaScript functions are included for filtering nodes by username and search value.

Getting Started

To run the Node Manager Flask app, follow these steps:

Clone the repository to your local machine.

Install the required dependencies: Flask and dateutil. Run the Flask app by executing python app.py in your terminal. Open a web browser and navigate to http://localhost:5000 to access the Node Manager web application. Contributing If you'd like to contribute to this project, please create a fork of the repository, make your changes, and submit a pull request.

Install the App

cd install
.\install.sh

Screenshot example of the running Flask App

Running App example

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 61.4%
  • HTML 21.6%
  • Python 17.0%
0