+27
-11
config.maple
+27
-11
config.maple
···
1
+
// Toggles developer mode; when true, allows access to the admin panel for all users.
1
2
dev_mode = false
3
+
// Path to the static directory. You shouldn't ever need to change this.
2
4
static_path = 'src/static'
3
5
6
+
// General instance settings
4
7
instance = {
8
+
// Instance version. This is shown on the about page.
9
+
version = '2025.12'
10
+
11
+
// Set this to '' if your instance is closed source. This is shown on the about page.
12
+
source = 'https://tangled.org/emmeline.girlkisser.top/beep'
13
+
14
+
// The instance's name, used for the page titles and on the homepage.
5
15
name = 'beep'
16
+
// The welcome message to show on the homepage.
6
17
welcome = 'welcome to beep!'
7
18
19
+
// TODO: Move default_theme and allow_changing_theme to user settings
20
+
// Default theme applied for all users.
8
21
default_theme = 'https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css'
22
+
// Whether or not users should be able to change their theme.
9
23
allow_changing_theme = true
10
24
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
25
+
// Toggle to require that users have the invite code to register.
18
26
invite_only = false
27
+
// Invite code. You can change this at any time.
19
28
invite_code = ''
20
29
21
-
// toggle to `true` to allow any non-logged-in user to view data (posts, users, etc)
30
+
// Toggle to allow any non-logged-in user to view data (posts, users, etc)
22
31
public_data = false
23
32
}
24
33
···
26
35
port = 8008
27
36
}
28
37
38
+
// Database settings.
29
39
postgres = {
30
-
// name of database container in compose.yml
40
+
// Name of database container in compose.yml
31
41
host = 'beep-database'
32
42
port = 5432
33
43
user = 'beep'
34
-
password = 'beep'
44
+
password = 'beep' // TODO: Read from .env
35
45
db = 'beep'
36
46
}
37
47
38
48
hcaptcha = {
49
+
// Toggles if hcaptcha is enabled.
39
50
enabled = false
40
-
secret = ''
51
+
secret = '' // TODO: Read from .env
41
52
site_key = ''
42
53
}
43
54
55
+
// Post settings.
44
56
post = {
45
57
title_min_len = 1
46
58
title_max_len = 50
···
51
63
body_pattern = '.*'
52
64
}
53
65
66
+
// User settings.
54
67
user = {
55
68
username_min_len = 3
56
69
username_max_len = 20
···
73
86
bio_pattern = '.*'
74
87
}
75
88
89
+
// Welcome notification settings.
76
90
welcome = {
91
+
// Title of the notification.
77
92
summary = 'welcome!'
93
+
// Notification body text. %s is replaced with the user's name.
78
94
body = 'hello %s and welcome to beep! i hope you enjoy your stay here :D'
79
95
}