https://github.com/naltun/viewhq
⛑️ A little websockets-based Flask application that let's me change rendered views from a single control 'view HQ' of sorts. This is mainly a testing ground for a different application. 🖥️ 🛫
https://github.com/naltun/viewhq
flask python python3 view views websocket websockets
Last synced: about 2 months ago
JSON representation
⛑️ A little websockets-based Flask application that let's me change rendered views from a single control 'view HQ' of sorts. This is mainly a testing ground for a different application. 🖥️ 🛫
- Host: GitHub
- URL: https://github.com/naltun/viewhq
- Owner: naltun
- Created: 2018-04-28T00:14:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T15:22:26.000Z (about 8 years ago)
- Last Synced: 2025-10-19T22:49:06.930Z (8 months ago)
- Topics: flask, python, python3, view, views, websocket, websockets
- Language: HTML
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# viewHQ
A little, websockets-based Flask application that let's me change rendered views from a single control 'view HQ' of sorts. This is mainly a testing ground for a different application.
### Status
This test project has concluded. I have learned what I needed to learn and have transitioned the code to my other application. This repo will probably not be furthered updated.
### Who's this for?
This little application can serve as a starting ground for any Flask developer who wants to incorporate a view 'control HQ' of sorts; by that I mean, you can take this code and adapt it to your needs. You can do this by changing `app.py` to reflect your routes/views, and add your `.html` files into `templates`, and from `templates/control.html`, after you change the button values, you will be able to control the views connected clients have rendered.
### Python Requirements
* Python 3 (currently I am using v3.6.5 (Arch+ ftw), although this should work on any 3.x)
* Redis
* Flask
* Flask-SocketsIO
### Rock On
\m/
### License?
For once, I am putting this code in the public domain. Have fun.