-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
124 lines (120 loc) · 4.09 KB
/
config.py
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# TODO
config = {
"branding": "onchan",
"attribution": "Max Headroom",
"images": {
"dir": "./public/img"
},
"data": {
"db_name": "onchan.db",
"migration_dir": "./sql/migration",
"purge_delay": 30,
},
"server": {
"debug": False,
"reload": True,
"port": 8080,
"host": "localhost"
},
"info": {
"disclaimer": "Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.",
"home": {
"what": "It is a game. The plot is a lot like se7en. Good luck. Goodbye."
},
"legal": "We live in a fairy-tale land where the rules are suggestions, and idiots run the asylum. Just be legal.",
"about": """>be me\r\n>sperg/10, GED-holding, drug-addict, and manic
>happen to be a computer wizard
>"you will do great things anon"
>family_gaslighting.wav
>realize i have no friends
>family never visits and only enjoys me when i pretend to not be mentally ill
>mfw climb to sigma 6-figure jerbs
>mfw targeted by infosec teams
>mfw psychologically tortured by infosec teams (including my own)
>life is a materialistic game
>imposter-syndrome.jpg
>mfw burning it to homelessness in a month
>mfw being successful is shittier for mental health due to fake people
>mfw most research publications are tripe
Stay true to yourselves, bros. The corporate world and /x/ made me... less than stable.
Don't idolize education and success.
I once thought I was gifted enough to exist in the corporate world.
When an ex-DoD contractor joked about me being a 'kid from 4chan', I knew I made it to the big-leagues.
Not worth/10.
Catch me schizoposting in >>>/x/.
~Darth Thadeus
""",
"contact": {
"name": "Darth Thadeus",
"email": "areyouawizard@proton.me",
"irc": "irc://freenode.net#onchan",
},
"feedback": "Put it in the bin.",
"rules": "You are the hacker known as monogamous. You are region. Forgive and forget. Expecto patronum.",
"faq": {
"What is this place?": "Lurk moar, it is never enough",
"Thoughts on Jim/Ron Watkins?": "Some people take you cannot arrest an idea too far. Pricks.",
"Who is the queen": "Still Boxxy"
}
},
"cookies": {
"key": "lolololololololololololololololololololololololololololololololololololololololololololololololol",
"name": "onchan_pass",
"max_age": 3600 * 24 * 30
},
"boards": [
{
"path": "/b/",
"name": "Random",
"description": "Don''t do it.",
"bump_limit": 100,
"image_limit": 50,
"thread_limit": 100
},
{
"path": "/g/",
"name": "Technology",
"description": "Your choice of Emacs has me quite discheesed.",
"bump_limit": 100,
"image_limit": 50,
"thread_limit": 100
},
{
"path": "/sci/",
"name": "Science & Math",
"description": "Most research is tripe, this board is no different.",
"bump_limit": 100,
"image_limit": 50,
"thread_limit": 100
},
{
"path": "/t/",
"name": "Torrents",
"description": "You wouldn't download a car, would you anon?",
"bump_limit": 100,
"image_limit": 50,
"thread_limit": 100
},
{
"path": "/x/",
"name": "Paranormal",
"description": "Meds, anon.",
"bump_limit": 100,
"image_limit": 50,
"thread_limit": 100
}
]
# The current configuration is:
#
# - public/ for image storage
# - sqlite3
# TODO
# IMAGE STORAGE (types: S3, public/ (for relatively small boards), ? free public service)
# Directory to save/pop to/from
# DATA STORAGE (types: sqlite, standard dedicated SQL (MySQL, etc.))
# BOARDS (path, name, description)
# num pages
# num per page
# allowed file types
# ADMINS (name, trip code)
}