Giter VIP home page Giter VIP logo

system-dashboard's Introduction

Cross-Platform System Dashboard

This repository is a Minimalist Win/OSX/Linux System Dashboard for Python 2/3 using Flask and Freeboard. This tool was created extremely quickly (less than a couple hours) as a "Hello World" test for both technologies, with impressive and practical results for the amount of time invested.

The cross-platform system information is derived from the psutil Python package, which is exposed by a minimal Flask API and retrieved by Freeboard. This data includes:

  • CPU %
  • RAM %
  • Disk Read/Write
  • Bytes Sent/Received
  • RAM Used/Total
  • Disk Used/Total

This dashboard is especially useful if placed on a secondary screen, such as another monitor, or a connected iPad running the Duet app.

Setup

To install the Python dependencies, run:

pip install psutil flask flask_cors

Download/Clone this repository, then open a Terminal/Command Prompt and cd into the folder containing the files. To start the Flask server, run:

python flask_system.py

After the server starts running, open up a Freeboard window by opening system_dashboard.html in any browser (Chrome recommended), choose Load Freeboard, and select the system_daskboard_flask.json config file. Done!

Maintainer

Max Woolf (@minimaxir)

Credits

Flask JSONDash by Chris Tabor which gave me the silly idea to work on a local dashboard, and noted the CORS requirement for Flask.

License

MIT

The included Freeboard code is redistributed per its MIT License.

system-dashboard's People

Contributors

minimaxir avatar

Watchers

Karan Singh Gautam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.