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
Medzik 5ebc9a5b0a chore: rename `backend` to `ping` 2021-09-08 20:18:35 +00:00
.github/workflows go mod tidy -go=1.17 2021-09-04 11:05:41 +00:00
config perf(config): remove mongodb db and collection from .env 2021-09-08 20:16:02 +00:00
database/mongo perf(config): remove mongodb db and collection from .env 2021-09-08 20:16:02 +00:00
ping chore: rename `backend` to `ping` 2021-09-08 20:18:35 +00:00
website chore: rename `backend` to `ping` 2021-09-08 20:18:35 +00:00
.gitignore update 2021-09-01 12:49:56 +00:00
.gitpod.Dockerfile add pre-commit 2021-09-07 20:07:51 +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
.pre-commit-config.yaml update few files 2021-09-07 20:45:10 +00:00
LICENSE v1.3.0 2021-07-24 09:50:17 +00:00
Makefile update few files 2021-09-07 20:45:10 +00:00
README.md update 2021-09-01 12:49:56 +00:00
config.schema.toml perf(config): remove mongodb db and collection from .env 2021-09-08 20:16:02 +00:00
go.mod chore(deps): upgrade 2021-09-07 20:11:45 +00:00
go.sum chore(deps): upgrade 2021-09-07 20:11:45 +00:00
main.go chore: rename `backend` to `ping` 2021-09-08 20:18:35 +00:00
nodemon.json update few files 2021-09-07 20:45:10 +00:00
nodemon.sh update 2021-09-01 12:49:56 +00:00
pre-commit.sh chore: rename `backend` to `ping` 2021-09-08 20:18:35 +00:00
renovate.json update 2021-08-28 13:03:07 +02:00
schema.env chore: rename `backend` to `ping` 2021-09-08 20:18:35 +00:00
start.sh update few files 2021-09-07 20:45:10 +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)