Initial commit

This commit is contained in:
Sistav
2026-03-01 23:10:24 -05:00
commit 4cefc00b64
44 changed files with 1587 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# Server port
PORT=3000
# How many letters to keep in the DB (older ones are pruned)
LETTERS_CACHE_SIZE=1000
# How often a new letter is generated (milliseconds)
LETTER_GENERATION_INTERVAL=800
# Max phrase submissions per IP per hour
MAX_SUBMISSIONS_PER_HOUR=1
# Max upvotes per IP per day
MAX_UPVOTES_PER_DAY=10
# Print each generated letter to the console (true/false)
LOG_LETTERS=false
# Path to the SQLite database file (defaults to monkey.db next to server.js)
# DB_PATH=/data/monkey.db