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 // name of database container in compose.yml
31 host = 'beep-database'
32 port = 5432
33 user = 'beep'
34 password = 'beep'
35 db = 'beep'
36}
37
38hcaptcha = {
39 enabled = false
40 secret = ''
41 site_key = ''
42}
43
44post = {
45 title_min_len = 1
46 title_max_len = 50
47 title_pattern = '.*'
48
49 body_min_len = 1
50 body_max_len = 1000
51 body_pattern = '.*'
52}
53
54user = {
55 username_min_len = 3
56 username_max_len = 20
57 username_pattern = '[a-z0-9_.]+'
58
59 nickname_min_len = 1
60 nickname_max_len = 20
61 nickname_pattern = '.*'
62
63 password_min_len = 12
64 password_max_len = 72
65 password_pattern = '.+'
66
67 pronouns_min_len = 0
68 pronouns_max_len = 30
69 pronouns_pattern = '.*'
70
71 bio_min_len = 0
72 bio_max_len = 200
73 bio_pattern = '.*'
74}
75
76welcome = {
77 summary = 'welcome!'
78 body = 'hello %s and welcome to beep! i hope you enjoy your stay here :D'
79}