Skip to content

Freedom-Club-Sec/Coldwire-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coldwire-server

Coldwire federated server implementation in Golang.

Configuration

Copy the example configuration from from docs/example_configuration.json

Put either your server DNS name or IP in Your_domain_or_IP That's it. No further modification needed

If you want better performance, you might want configure "SQL" and or "Redis" services: consult docs/configuration.md for more details

Setup

Download prebuilt binaries from releases.

Or optionally compile the source code using:

git clone https://github.com/Freedom-Club-Sec/Coldwire-server.git
cd Coldwire-server
make build

The compiled binary will be in bin/ folder.

Example Usage

./coldwire-server-linux-amd64 --help
Usage of ./coldwire-server-linux-amd64:
  -c string
        Path to JSON configuration file (shorthand) (default "configs/config.json")
  -config string
        Path to JSON configuration file (default "configs/config.json")
  -h string
        Server address to listen on (shorthand) (default "127.0.0.1")
  -host string
        Server address to listen on (default "127.0.0.1")
  -p int
        Server port to listen on (shorthand) (default 8000)
  -port int
        Server port to listen on (default 8000)

Run server:

./coldwire-server -c your_config_file.json