Skip to content

Electron container for Dashboard . Exposes an API to change display

License

Notifications You must be signed in to change notification settings

tataille/elecdashboard

Repository files navigation

Electron Dashboard

Clone and run for a quick way to see Electron Dashboard in action.

This is an Electron application to server as a Dashboard in Kiosk mode

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Install cec-utils
sudo apt-get install cec-utils

# Clone this repository
git clone https://github.com/tataille/elecdashboard
# Go into the repository
cd elecdashboard
# Install dependencies
sudo npm install -g electron --unsafe-perm=true --allow-root
npm install
# If installation fails due to electron post install steps, enter following command:
# sudo npm install -g electron --unsafe-perm=true --allow-root 
# Run the app
npm start

Configure Security

Edit users.htpasswd file and modifiy default user (username). Multiple users can be added. One per line

 user1:password1
 user2:password2

Start the Dashboard at PI startup

Copy ed.sh one directory upper the project directory

 chmod +x ed.sh
 npm install pm2 -g
 pm2 start ed.sh
 pm2 save
 sudo pm2 startup systemd -u pi --hp /home/pi
 # Hide the cursor
 sudo apt-get install unclutter
 # Remove the screen saver
 nano ~/.config/lxsession/LXDE-pi/autostart
 #add "@unclutter -idle 0" in the file 
 #delete line "xscreensaver -nosplash"
 

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Swagger documentation

Once started, navigate to http://<wallboard_host>:1338/api-docs to get the online documentation

License

Apache

About

Electron container for Dashboard . Exposes an API to change display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published