Git Product home page Git Product logo

silty_family_dash's Introduction

silty_ui

Full-screen display for use on a Raspberrypi. With nginx installed allows for some childrens rewards

system based on rules and rewards.

setup

Install dependencies

sudo apt-get update
sudo apt-get install sqlite3 php5-sqlite python3-psutil python3-tk python3-pil 
python-imaging-tk nginx mumble-server php5-fpm python3-pil.imagetk samba

Download and move packages

git clone http://github.com/formcore/silty_ui sudo mv ./silty_ui /var/www

Set correct permissions

sudo chown -R www-data:www-data /var/www sudo chown -R root:www-data /var/lib/php5/
sudo chmod -R 775 
/var/lib/php5/sessions/

Run the program

/var/www/silty_ui/silty_ui.py

Displays in full screen application:

Nginx status Samba status Mumble-server status Deluge status CPU usage RAM usage Uptime Disk usage Date and time Section for notes Section for "stars", reward system for children ***

PLANNED UPDATES:

  • Find some use for the remaining panel, currently showing an image. I guess it's staying as an image, I'll update it to pull from a gallery uploaded via the website.
  • Set "stars" pane to show users individually, as opposed to totals shown currently.
  • Add a check for existence of disk directory, if not found default to SD card on pi.
  • Move all "main" panels out of root and into a frame, allowing me to remove and replace with other "fullscreen" dialogues.

Update HTML section to allow:

  • Adding new users
  • Changing usernames
  • Admin panel to see other users additions
  • Update each page to allow applying to certain users (example, stars given to x instead of falling into a general nameless star pool)
  • Change "rewards" to use locally hosted images
  • Update each section to only show non-admin users content relative to themselves
  • Add some functionality to add links to sidebar (currently only editable direct through Sqlite3)
  • Remove "icomoon" icons in favour of basic buttons
  • Move "change password" to some sort of controls page
  • Figure out a way to set the "rules" to explain which users a particular rules applies to using a single column in the table, and only show rules that apply to the person viewing (unless admin)
  • Create seperate javascript / php code to handle each HTML page individually, allowing for greater customisation of each.
  • Recreate CSS for a newer, simpler layout, dropping mostly bloat formatting and cleaning the code up in general.

Known bugs

  • Adding stars on website may crash "Silty ui" fullscreen display, checks are in place but testing is required
  • Uptime sometimes shows "garbage" numbers at the end of the string, this is something to do with the admittedly awful method of just cutting up a long string of time
  • New posts on website use double newlines instead of just one.
  • Right now, I think it'd be too easy to SQL inject the site... if the website is public facing, back stuff up and be careful until it's fixed :(

silty_family_dash's People

Stargazers

Travis McKinkley avatar Kevin.Y avatar Holo avatar  avatar Grady O'Connell avatar samy kamkar avatar Joshua J. Riojas avatar Shemaiah Telemaque avatar A. MOUKHTARI avatar

Watchers

Shemaiah Telemaque avatar Samuel avatar Holo avatar

silty_family_dash's Issues

terminate

How do you terminate the program?

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.