Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/argutia-hsg/order-tracker-display
Smart order screen like at McDonald's
https://github.com/argutia-hsg/order-tracker-display
chromium signage
Last synced: about 5 hours ago
JSON representation
Smart order screen like at McDonald's
- Host: GitHub
- URL: https://github.com/argutia-hsg/order-tracker-display
- Owner: argutia-hsg
- License: mit
- Created: 2025-01-22T19:41:14.000Z (1 day ago)
- Default Branch: master
- Last Pushed: 2025-01-22T19:50:00.000Z (1 day ago)
- Last Synced: 2025-01-22T20:30:36.304Z (1 day ago)
- Topics: chromium, signage
- Language: HTML
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Smart display for order-tracker
Smart order screen like at McDonald's.
## How does this work?
This python script launches a
- websocket server on localhost:8081
- HTTP-sevrer on localhost:8080
- chromium instance showing http://localhost:8080/index.htmlPost a JSON of the following format to `http://localhost:8080/update`,
which updates the order numbers.```json
{
"preparing": [103, 104, 105],
"finished": [101, 102]
}
```Reverse-proxy or otherwise export `http://localhost:8080/update` if your
software that updates the display is hosted on another machine.## Build and run
1. Install python >= 3.7 and chromium
2. Create a virtualenv directory: `python3 -m venv venv` and `source venv/bin/activate`
3. Install requirements: `pip install -r requirements.txt`
4. Run: `python3 display.py`## Build for distribution
The included `build-dish.sh` script packages the python script as a standalone binary.
## Customization
You can place an mp4-video into `web/ad-video.mp4`. This will be played on the left pane.
You can otherwise customize the HTML files in the web directory. Using the `-r` option, you
can also specify a different webroot. The web-page just takes the above JSON and displays
the numbers.## Demonstration Image
![demo.png](demo.png)
## Contributing and License
This code is Licenced under the MIT Licence. Feel free to use and fork.