Democracy is a web application for creating and hosting online votes that follow different election systems (depending on what you are voting for). The idea is to add a little integrity to voting done in small organisations, even if the stakes are low!
I will, when finished, provide and support:
- RPMs (for openSUSE/SUSE #FuckRedHat)
- debs (For debian stable and oldstable)
- openBSD package
For those running on an unsupported system, I will provide:
- AppImage
But really you should build it from source because I'm not going to fix appimage issues.
You need to have sqlite
or prostgres
, cabal
and ghc
installed. This is currently only tested with ghc-9.2.8
.
The easiest way to get cabal and ghc is with ghcup.
Then all you have to do is open a terminal and naviagte to the source code and type:
cabal -O2 build
cabal -O2 install
If you have installed it, then simply start the service!
If you are running from source, simple run:
./democracy
You probably want to setup some kind of service to do this for you, but I'll leave that to you.
Not implemented yet!
- Welcome Page
- Database backend
- Secure password storage
- Login system with Email
- Proper authentification with servant
- Simple Votes
- Election results page
- Edit some settings during votes
- Password Change
- Multiple people votes
- First past the post
- Single Transferable
- Postgres backend
- TOML Config
- Switch DB backend based on conf
- Pledge and unveil for openBSD
- Password protected votes
- Email code protected votes
- Login based protected votes
- Multiserver mode with signing roles
- Ring Signatures
- GPG plugged desktop app