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.11'
13
14 // set this to '' if your instance is closed source (twt)
15 source = 'https://tangled.org/emmeline.girlkisser.top/beep'
16
17 // toggle to `true` to require that users have an invite code to register
18 invite_only = false
19 invite_code = ''
20
21 // toggle to `true` to allow any non-logged-in user to view data (posts, users, etc)
22 public_data = false
23}
24
25http = {
26 port = 8008
27}
28
29postgres = {
30 host = 'localhost'
31 port = 5432
32 user = 'beep'
33 password = 'beep'
34 db = 'beep'
35}
36
37hcaptcha = {
38 enabled = false
39 secret = ''
40 site_key = ''
41}
42
43post = {
44 title_min_len = 1
45 title_max_len = 50
46 title_pattern = '.*'
47
48 body_min_len = 1
49 body_max_len = 1000
50 body_pattern = '.*'
51}
52
53user = {
54 username_min_len = 3
55 username_max_len = 20
56 username_pattern = '[a-z0-9_.]+'
57
58 nickname_min_len = 1
59 nickname_max_len = 20
60 nickname_pattern = '.*'
61
62 password_min_len = 12
63 password_max_len = 72
64 password_pattern = '.+'
65
66 pronouns_min_len = 0
67 pronouns_max_len = 30
68 pronouns_pattern = '.*'
69
70 bio_min_len = 0
71 bio_max_len = 200
72 bio_pattern = '.*'
73}
74
75welcome = {
76 summary = 'welcome!'
77 body = 'hello %s and welcome to beep! i hope you enjoy your stay here :D'
78}