This application "pings" websites every few minutes. It can be used to keep the application alive on e.g. glitch.me or repl.it.
Go to file
Oskar 5ebf84f529 add error check (fix lint) 2021-08-31 20:22:45 +02:00
.github/workflows update ci 2021-08-27 19:25:28 +02:00
backend chore(opts): add option update e.g. to major version update 2021-08-31 18:16:28 +00:00
config feat: add timeout to stop after ping (set in config) 2021-08-30 13:41:06 +00:00
database/mongo fix: upgrade deps and delete unused functions 2021-08-18 16:59:51 +00:00
website chore(cors): update cors only to pingbot.cf 2021-08-22 18:13:30 +02:00
.env.schema fix: add github token to auto updater 2021-08-15 14:38:12 +00:00
.gitignore Update 2021-08-12 19:39:05 +00:00
.gitpod.Dockerfile Update 2021-08-12 19:39:05 +00:00
.gitpod.yml v1.3.1 2021-07-24 21:19:22 +00:00
.goreleaser.yml add start script 2021-08-29 10:19:54 +00:00
LICENSE v1.3.0 2021-07-24 09:50:17 +00:00
Makefile feat: add ctx to backend ping, add cluster functional... 2021-07-31 20:59:43 +00:00
README.md update readme 2021-08-31 18:18:36 +00:00
config.schema.toml feat: add timeout to stop after ping (set in config) 2021-08-30 13:41:06 +00:00
go.mod chore(opts): add option update e.g. to major version update 2021-08-31 18:16:28 +00:00
go.sum chore(opts): add option update e.g. to major version update 2021-08-31 18:16:28 +00:00
main.go add error check (fix lint) 2021-08-31 20:22:45 +02:00
nodemon.json Add toml config, golint to gitpod Dockerfile... 2021-07-29 19:54:55 +00:00
nodemon.sh update 2021-08-22 12:04:12 +02:00
renovate.json update 2021-08-28 13:03:07 +02:00
start.sh add start script 2021-08-29 10:19:54 +00:00

README.md

Pingbot - Backend

Repo Size Build

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 xzf pingbot_*_linux_amd64.tar.gz
    • 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
  • Download dependencies go mod tidy
  • Build go build -o pingbot.out
  • Done your compined binary is pingbot.out

⚙️ Configurate

  • Complete .env according to .env.schema
  • 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)