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