Secret Hitler Online
An online implementation of the board game Secret Hitler, written in node.js and socket.io.
Play at secrethitler.online (requires 5 players, use guest accounts to test).
Supports 5-10 players, text or voice (beta) chat, and the game's core rule set. Game data is persisted to allow features like stat aggregation, or game replays in future.
"Secret Hitler" is a game designed by Max Temkin, Mike Boxleiter, Tommy Maranges, and Mackenzie Schubert. This adaptation is neither affiliated nor endorsed by the copyright holders.
Steps to install are as follows:
install-the-games-dependencies.shto your server and run it with a user who has sudo privileges
install-the-game.shto your server, and run it with a user who has sudo privileges
tools/secret-hitler-game.serviceto your server:
- Move the file to
- Ensure that it is owned by root, and is executable
- Ensure that
- Configure the database:
/etc/postgresql/YOUR-VERSION/main/postgresql.confso that postgres runs on
sudo -u postgres psql -c "CREATE USER secrethitler WITH PASSWORD 'your_password';"
sudo -u postgres psql -c "CREATE DATABASE secrethitler;"
sudo -u postgres psql -d secrethitler -f /var/www/secret-hitler/schema.sql
sudo -u postgres psql -d secrethitler -c "GRANT SELECT, INSERT, UPDATE ON feedback, games, users TO secrethitler;"
It is licensed under Creative Commons BY-NC 4.0 (non-commercial, attribution required).