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 d1fd5be5c3
Merge pull request #17 from MedzikUser/renovate/go.mongodb.org-mongo-driver-1.x
fix(deps): update module go.mongodb.org/mongo-driver to v1.7.2
2021-09-02 22:26:39 +02:00
.github/workflows update 2021-09-02 22:21:17 +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
.gitignore update 2021-09-01 12:49:56 +00:00
.gitpod.Dockerfile update 2021-09-01 13:00:34 +00:00
.gitpod.yml v1.3.1 2021-07-24 21:19:22 +00:00
.goreleaser.yml update 2021-09-01 12:49:56 +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 2021-09-01 12:49:56 +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 fix(deps): update module go.mongodb.org/mongo-driver to v1.7.2 2021-09-02 20:23:12 +00:00
go.sum fix(deps): update module go.mongodb.org/mongo-driver to v1.7.2 2021-09-02 20:23:12 +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-09-01 12:49:56 +00:00
renovate.json update 2021-08-28 13:03:07 +02:00
schema.env update 2021-09-01 12:49:56 +00:00
start.sh update 2021-09-01 12:49:56 +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 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
  • Download dependencies go mod tidy
  • Build go build -o pingbot.out
  • Done your compined 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)