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 12http = { 13 port = 8008 14} 15 16postgres = { 17 host = 'localhost' 18 port = 5432 19 user = 'beep' 20 password = 'beep' 21 db = 'beep' 22} 23 24post = { 25 title_min_len = 1 26 title_max_len = 50 27 title_pattern = '(.|\s)*' 28 29 body_min_len = 1 30 body_max_len = 1000 31 body_pattern = '(.|\s)*' 32} 33 34user = { 35 username_min_len = 3 36 username_max_len = 20 37 username_pattern = '[a-z0-9_.]+' 38 39 nickname_min_len = 1 40 nickname_max_len = 20 41 nickname_pattern = '(.|\s).*' 42 43 password_min_len = 12 44 password_max_len = 72 45 password_pattern = '(.|\s)+' 46 47 pronouns_min_len = 0 48 pronouns_max_len = 30 49 pronouns_pattern = '(.|\s)*' 50 51 bio_min_len = 0 52 bio_max_len = 200 53 bio_pattern = '(.|\s)*' 54} 55 56welcome = { 57 summary = 'welcome!' 58 body = 'hello %s and welcome to beep! i hope you enjoy your stay here :D' 59}