A simple digital signage app built on the web
2.7K
An extremely simple web-based digital signage application.
Here's an example config:
{
// Port for the viewer
"port": 8080,
// Port for the control panel
// (use a different port to restrict access to this interface)
"controlport": 8080,
// (optional) provide weather data to modules that support it
"weather": {
// Provide an OpenWeatherMap API key
// https://openweathermap.org/price
// Showpiece caches the current weather
// 2 calls / 5 minutes max
"key": "not0a0real0key00281f631aef6ad3a1",
// The following fields can be used to lookup a location:
// - "coordinates": [lat, long]
// - "zip" and "country"
// - "cityid"
// - "city"
"city": "chicago"
}
}
npm install
npm run build
node index.js
Navigate to http://localhost:8080 on the "sign." Content can be loaded from the control panel at http://localhost:8080/control.
Screens made for Showpiece are called modules. Each module has its own subdirectory inside of the modules directory. The module must contain an index.html and any additional files needed for its function (CSS, JS, images, etc). An icon.png can also be included, which will appear in the control panel.
Modules can fetch the current weather from /api/weather or /api/all-weather if a weather config is provided.
Content type
Image
Digest
sha256:74df7e7a5…
Size
87.9 MB
Last updated
over 1 year ago
docker pull corysanin/showpiece