Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsbarnes/epdtext-web
Web interface for epdtext
https://github.com/tsbarnes/epdtext-web
bootstrap bootstrap5 e-paper epd epd2in7b flask flask-application ipc message-queue python python3 web webapp
Last synced: 13 days ago
JSON representation
Web interface for epdtext
- Host: GitHub
- URL: https://github.com/tsbarnes/epdtext-web
- Owner: tsbarnes
- Created: 2021-09-16T05:23:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-18T02:04:29.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T23:36:00.334Z (2 months ago)
- Topics: bootstrap, bootstrap5, e-paper, epd, epd2in7b, flask, flask-application, ipc, message-queue, python, python3, web, webapp
- Language: HTML
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# epdtext-web
epdtext-web is a Flask web app to control [epdtext](https://github.com/tsbarnes/epdtext)
## Basics
Simply put, epdtext-web is an addon for epdtext that allows you to control the screen via a web app, accessible
from any computer on the same network as your Raspberry Pi.## Installation
*Note: you'll need epdtext installed first, see
[the epdtext README](https://github.com/tsbarnes/epdtext/blob/main/README.md)** First, make sure you have `git` and `pip3` using this command:
```shell
sudo apt install git python3-pip
```* Second, clone the repository and change directory into it:
```shell
git clone https://github.com/tsbarnes/epdtext-web.git /home/pi/epdtext-web
cd /home/pi/epdtext-web
```* Third, install the Python dependencies:
```shell
sudo pip3 install -r requirements.txt
```* Fourth, configure your secret key by creating `app.cfg` with the following contents:
```python
SECRET_KEY = ""
```* You can generate a new secret key with this command:
```shell
python -c 'import os; print(os.urandom(16))'
```* Last, copy the service file and start the server:
```shell
sudo cp /home/pi/epdtext-web/epdtext-web.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable epdtext-web
sudo systemctl start epdtext-web
```* Congratulations, you're set up! Now access the web app by visiting your Pi's address in a web browser!