-
-
Notifications
You must be signed in to change notification settings - Fork 39
Install
Learn how to install and get started with Leaker
go install -v github.com/vflame6/leaker@latestNote: Leaker requires Go 1.24+ to install successfully.
Download the latest binary for your platform from the Releases page.
- Download the archive for your OS and architecture
- Extract the binary
- Move it to a directory in your PATH
git clone https://github.com/vflame6/leaker.git
cd leaker
go build -o leaker main.go
mv leaker /usr/local/bin/
leaker --versionBuild the Docker image:
docker build -t leaker .Run with Docker:
docker run leaker email user@example.comTo use a local provider config with Docker:
docker run -v $HOME/.config/leaker:/home/app/.config/leaker leaker email user@example.com- Leaker requires Go 1.24 or later. Download it from go.dev.
- When installing via
go install, ensure$HOME/go/binis in your system PATH:
# Linux / macOS
echo 'export PATH=$PATH:$HOME/go/bin' >> $HOME/.bashrc
source $HOME/.bashrc
# Or for zsh
echo 'export PATH=$PATH:$HOME/go/bin' >> $HOME/.zshrc
source $HOME/.zshrc- The installed binary will be located at
$HOME/go/bin/leaker
Leaker works immediately after installation - sources that don't require API keys (ProxyNova, Hudson Rock free tier) are available out of the box.
However, most sources require API keys for full functionality. On first run, leaker generates a provider-config.yaml file at:
-
Linux/macOS:
$HOME/.config/leaker/provider-config.yaml -
Custom location: Set via
LEAKER_PROVIDER_CONFIGenvironment variable or-pflag
See the Configuration page for details on setting up API keys.
leaker --versionList available sources and check which ones have keys configured:
leaker -LSources marked with * require API keys to function.
To update to the latest version:
go install -v github.com/vflame6/leaker@latestOr download the latest binary from the Releases page.