-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.py
42 lines (35 loc) · 1.17 KB
/
settings.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
name = "multich"
url = "http://localhost"
_port = 5150
# These are the suggested #tags for new posts
tags = ["random", "nsfw"]
# Crypt salt -- used for secure tripcode (2 characters)
# Admin password -- SHA256("changeme") - Not used yet
salt = "changeme"
phash = "057ba03d6c44104863dc7361fe4578965d1887360f90a0895882e58a6248fc86"
archive = "./archive/" # Used for federation
backup = "./bak/" # Used with ./backup.py
wlist = "./ips.txt"
log = "./log.txt"
delete = "./delete.txt"
bans = "./bans.txt"
# Spam / flood control
_short = 120 # Name, title, tag field length
_long = 10000 # Post message field length
post = 60 # Make posters wait 60 seconds between posts
thread = 60 * 60 # Make posters wait 1 hour between threads
# Community features: imageboards
boards = False
images = False
ihost = "https://i.imgur.com/"
# Tor needs to be installed and pip3 install requests_tor package.
# Only used for .onion friends
torport = 9050
refreshtime = 60*15 # Check friend boards every 15 minutes
friends = {
"0chan": "http://0chan.vip",
"52chan": "http://bbs.4x13.net",
"ripirc": "http://ripirc.org",
"sageru": "http://multichan.sageru.org",
"local": url
}