Pingbot - Backend
This application "pings" websites every few minutes (to be set in config). It can be used to keep the application alive on e.g. glitch.me or repl.it.
- 💻 Linux amd64
- Download latest version
- Unpack file
tar xf pingbot_*_linux_amd64.tar.xz
- Done your binary is
pingbot.out
- Go (recommended latest version)
Method 1:
go install github.com/medzikuser/go-pingbot@latest
- Output binary path
- Check GOPATH
go env GOPATH
- Go to GOPATH and binary name is
pingbot
- Check GOPATH
Method 2:
- Download source code
git clone https://github.com/medzikuser/go-pingbot.git --depth 1
- Go to folder with source code
cd go-pingbot
- Build
make
orgo build -o pingbot.out
- Done your compiled binary name is
pingbot.out
- Download source code
git clone https://github.com/medzikuser/go-pingbot.git --depth 1
- Go to folder with source code
cd go-pingbot
- Build
make GOOS=os GOARCH=arch
- e.g.
make GOOS=openbsd GOARCH=arm64
- e.g.
- Done your cross compiled binary name is
pingbot.out
- Complete .env according to schema.env
- And fill in config.toml according to config.schema.toml
./pingbot.out
or./start.sh
(auto restart e.g. if exit on update is enabled)