mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
⚡ This application "pings" websites every few minutes. It can be used to keep the application alive on e.g. glitch.me or repl.it.
.github/workflows | ||
config | ||
database/mongo | ||
ping | ||
website | ||
.gitignore | ||
.gitpod.yml | ||
.goreleaser.yml | ||
.pre-commit-config.yaml | ||
config.schema.toml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
nodemon.json | ||
nodemon.sh | ||
pre-commit.sh | ||
README.md | ||
renovate.json | ||
schema.env | ||
start.sh |
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.
⚡ Install Pre-Compile binary
- 💻 Linux amd64
- Download latest version
- Unpack file
tar xf pingbot_*_linux_amd64.tar.xz
- Done your binary is
pingbot.out
👨💻 Compile from Source Code
‼️ Not recommended because automatic updates don't work
🖥️ Requirements
- Go (recommended latest version)
⭐ Compile
- 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 is
pingbot.out
⚙️ Configurate
- Complete .env according to schema.env
- And fill in config.toml according to config.schema.toml
🔧 Run
./pingbot.out
or./start.sh
(auto restart e.g. if exit on update is enabled)