flask polls app with many options and optional blocking for multiple votes from one host
This repository has been archived on 2026-08-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 43.2%
  • HTML 35%
  • CSS 15.8%
  • JavaScript 6%
Find a file
2023-03-10 13:56:51 +01:00
.github Update issue templates 2023-02-04 12:51:49 +01:00
.vscode error handler for unknown key type in poll post 2023-01-26 22:58:59 +01:00
archive json surveys 2023-02-02 19:25:30 +01:00
controler hashing uses now a function 2023-02-08 23:25:02 +01:00
data over 10 percent names written 2023-03-10 13:56:51 +01:00
static credits and dark mode 2023-01-26 21:04:25 +01:00
templates over 10 percent names written 2023-03-10 13:56:51 +01:00
.gitignore Initial commit 2023-01-26 18:05:40 +01:00
.tokeignore onefetch note in tokeignore 2023-02-07 16:27:49 +01:00
app.py over 10 percent names written 2023-03-10 13:56:51 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2023-02-04 12:50:59 +01:00
LICENSE license added 2023-02-04 12:47:06 +01:00
polls.ini deployment 2023-02-02 22:59:18 +01:00
polls.service deployment 2023-02-02 22:59:18 +01:00
README.md deployment 2023-02-02 22:59:18 +01:00
requirements.txt Bump werkzeug from 2.2.2 to 2.2.3 2023-02-16 07:27:39 +00:00
SECURITY.md Create SECURITY.md 2023-02-04 12:55:10 +01:00
wsgi.py uwsgi base file added 2023-02-02 22:33:50 +01:00

polls

flask polls app with many options and optional blocking for multiple votes from one host

Warning:

currently sheet support only in type2 surveys in qbq only json is supported working currently on making everything for the json file mode -> sheet mode wont work currently

Images

Installation

Nginx Deployment

move the folder to /opt/survey configure (user) polls.service and place it in the /ect/systemd/system/ files with matching user

nginx install + site config for running the socket look it up in the internet

certbot for nginx

Debug Run

Debugging: run the app.py file directly

configuration

sqlite3 into the data/accounts.db and remove the raphiel user

Contributing

Issues: Open an Issue on Codeberg
Code Contributions: Make a Pull Reqeust on Codeberg
Other Stuff: Just open an Issue on Codeberg and tell me how you want to contribute

Credits

Radio Buttons

W3Schools

Text Buttons

W3Schools

Background Style (inspired)

Manuel Pinto

DarkMode

DarkReader