a mini social media app for small communities
1dev_mode = false 2static_path = 'src/static' 3 4instance = { 5 name = 'beep' 6 welcome = 'welcome to beep!' 7 8 default_theme = 'https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css' 9 allow_changing_theme = true 10 11 // instance version 12 version = '2025.01' 13 14 // set this to '' if your instance is closed source (twt) 15 source = 'https://github.com/emmathemartian/beep' 16} 17 18http = { 19 port = 8008 20} 21 22postgres = { 23 host = 'localhost' 24 port = 5432 25 user = 'beep' 26 password = 'beep' 27 db = 'beep' 28} 29 30hcaptcha = { 31 enabled = false 32 secret = '' 33 site_key = '' 34} 35 36post = { 37 title_min_len = 1 38 title_max_len = 50 39 title_pattern = '.*' 40 41 body_min_len = 1 42 body_max_len = 1000 43 body_pattern = '.*' 44} 45 46user = { 47 username_min_len = 3 48 username_max_len = 20 49 username_pattern = '[a-z0-9_.]+' 50 51 nickname_min_len = 1 52 nickname_max_len = 20 53 nickname_pattern = '.*' 54 55 password_min_len = 12 56 password_max_len = 72 57 password_pattern = '.+' 58 59 pronouns_min_len = 0 60 pronouns_max_len = 30 61 pronouns_pattern = '.*' 62 63 bio_min_len = 0 64 bio_max_len = 200 65 bio_pattern = '.*' 66} 67 68welcome = { 69 summary = 'welcome!' 70 body = 'hello %s and welcome to beep! i hope you enjoy your stay here :D' 71}