Code Monkey home page Code Monkey logo

raspberry-stats's Introduction

Raspberry Stats

Hello there!

Have you ever wondered how your Pi is doing? What if you had a smart and super-awesome way to find out using nothing more than NodeJS and your web browser. It makes use of hosting the User Interface with NodeJS and the streaming of data with Socket.io so that the stats you're seeing are realtime.


Screenshots :

alt text alt text


Dependencies :

The code depends on the following : Socket.io and Connect (Node). You can install them using NPM with the following commands :

npm install connect socket.io

How to install :

You can install the program using the following method in a(n) (SSH) terminal :

#install all of the programs needed to run this.
sudo apt-get install nodejs npm git

#Clone this repository.
git clone https://github.com/96AA48/raspberry-stats.git

#Go inside the folder
cd raspberry-stats

#Install the needed NodeJS modules.
npm install socket.io connect

#Run the program
sudo nodejs app.js

Make sure that when you're done that you edit some of the variables in app.js and client.js, these are just tiny things like server port and server location.


Disclaimer

Hey there! Thanks for reading/using/editing this code, I just wanted to say a couple of things :

The code was made with the use of nothing more than the knowledge that I have of Javascript and NodeJS. This means that I can't guarantee that the code is efficiënt, accurate and/or creates reliable information.

If there is any trouble setting this up, make an issue on this Github/Gitblit page and I'll help you as soon as I can.

You can also email me at : 96aa48 [at] gmail.com

Thanks !

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.