Codeberg-e.V./voting-system
16
22
Fork
You've already forked voting-system
3
Codeberg e.V. voting system - Minimal, token based maximum privacy voting system
PHP 89.3%
CSS 6.4%
Shell 3.3%
Hack 1%
Andreas Shimokawa f9ff3caba0 correct repo link
called voting-system now ...
2025年09月23日 16:52:22 +02:00
src correct repo link 2025年09月23日 16:52:22 +02:00
config.inc.local.php Add docker-compose deployment option for development & move actual code into "src" folder 2023年05月20日 13:41:51 +02:00
deploy.sh Add docker-compose deployment option for development & move actual code into "src" folder 2023年05月20日 13:41:51 +02:00
docker-compose.yml Add docker-compose deployment option for development & move actual code into "src" folder 2023年05月20日 13:41:51 +02:00
LICENSE add AGPLv3 LICENSE file 2020年03月25日 10:27:33 +01:00
README.md keep tokens in database and mark as used with timestamp :/ 2020年02月21日 11:03:05 +01:00
setup_database.sh Fix setup_database.sh script 2023年05月21日 12:22:46 +02:00

Codeberg voting system

Concept

The main idea is maximum privacy and anonymity.

When polls are created, 40 character long tokens are generated and put into the database and sent out via to all participants via email. A token can only be used for one poll, multiple polls can run at the same time.

When voting the user has to copy&paste the token to a form that is then posted. Tokens will be maked as used and the vote counter for the selected answer will be increased.

No logs will contain anything about the selected answer or the token connected to it. We also do not know which token was sent to which user.

Installation

To create the database run ./setup_database.sh and put the random password into contig.inc.php