38 lines
593 B
Markdown
38 lines
593 B
Markdown
# Gocirc
|
|
|
|
a lightweight IRC server written in Golang
|
|
|
|
## setup
|
|
1. cloning the repository
|
|
```
|
|
git clone ssh://git@git-ssh.anarchists.space:222/meer/Gocirc.git
|
|
cd Gocirc
|
|
```
|
|
2. compiling the server
|
|
```
|
|
chmod +x build.sh
|
|
./build.sh
|
|
```
|
|
|
|
3. setting up configuration file
|
|
example JSON config
|
|
```JSON
|
|
{
|
|
"port": 6667,
|
|
"webapiport": 7880,
|
|
"motd": "<motd file>",
|
|
"enableserverpassword": true,
|
|
"serverpassword": "YOUR_SERVERPASSWORD",
|
|
"channels": [
|
|
{
|
|
"channel": "#main",
|
|
"description": "the main channel"
|
|
}
|
|
],
|
|
"ops": [
|
|
"admin"
|
|
]
|
|
}
|
|
```
|
|
change values as needed
|
|
|