dev_mode = false static_path = 'src/static' instance = { name = 'beep' welcome = 'welcome to beep!' default_theme = 'https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css' allow_changing_theme = true // instance version version = '2025.01' // set this to '' if your instance is closed source (twt) source = 'https://github.com/emmathemartian/beep' // toggle to `true` to require that users have an invite code to register invite_only = false invite_code = '' // toggle to `true` to allow any non-logged-in user to view data (posts, users, etc) public_data = false } http = { port = 8008 } postgres = { host = 'localhost' port = 5432 user = 'beep' password = 'beep' db = 'beep' } hcaptcha = { enabled = false secret = '' site_key = '' } post = { title_min_len = 1 title_max_len = 50 title_pattern = '.*' body_min_len = 1 body_max_len = 1000 body_pattern = '.*' } user = { username_min_len = 3 username_max_len = 20 username_pattern = '[a-z0-9_.]+' nickname_min_len = 1 nickname_max_len = 20 nickname_pattern = '.*' password_min_len = 12 password_max_len = 72 password_pattern = '.+' pronouns_min_len = 0 pronouns_max_len = 30 pronouns_pattern = '.*' bio_min_len = 0 bio_max_len = 200 bio_pattern = '.*' } welcome = { summary = 'welcome!' body = 'hello %s and welcome to beep! i hope you enjoy your stay here :D' }