Skip to content
Nite edited this page Jul 29, 2023 · 2 revisions

Config file

There is a config file, which gets created if you change something in the settings. You can also create it manually to change something.
This has the advantage, that you are not required to add flags like --browser=false each time.

Windows

Go to \AppData\Local and create a seekr folder and in that folder create a config.toml file.
The path should look like this: \AppData\Local\seekr\config.toml

Linux

Create a seekr folder and inside of it, create a config.toml file.
The path should look like this: ~/.config/seekr/config.toml
Please note, that we are not following the xdg desktop standards for the config folder path.

Content

[server]
ip = "localhost"
port = 8569
[general]
browser = true

You can change these values accordingly.

Config flags

When you are running the file through go run main.go, you can use optional flags.
This is for options that are not yet available through the UI, or maybe you just want to run once.

Auto-open the website on webserver start-up

go run main.go -browser=true/false

Force port, regardless if its already in use

go run main.go -forcePort

Change IP to server webserver / API on (default -> localhost)

go run main.go -ip=ipAdress

Toggle Discord-Rich-Presence (default -> true)

go run main.go -discord=true/false

Change database folder name (default -> "data")

go run main.go -db folderName