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 e7005810b8
Gitpod change workspace image
Change Gitpod workspace image to `medzik/gitpod:full`

* Delete .gitpod.Dockerfile
* Update .gitpod.yml
2021-10-19 22:43:43 +02:00
.github/workflows update workflows 2021-10-15 17:00:54 +00:00
config feat: add UserAgent 2021-10-15 19:15:29 +00:00
database/mongo fix: delete cluster option (not used in latest config) 2021-09-09 18:55:36 +00:00
ping feat: add UserAgent 2021-10-15 19:15:29 +00:00
website chore: update api status 2021-09-15 19:31:01 +00:00
.gitignore chore: update api status 2021-09-15 19:31:01 +00:00
.gitpod.yml Gitpod change workspace image 2021-10-19 22:43:43 +02:00
.goreleaser.yml Revert 2021-10-19 22:14:14 +02: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 golang.org/x/oauth2 2021-10-15 16:56:04 +00:00
go.sum chore(deps): upgrade golang.org/x/oauth2 2021-10-15 16:56:04 +00:00
main.go feat: add UserAgent 2021-10-15 19:15:29 +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 fix: delete cluster option (not used in latest config) 2021-09-09 18:55:36 +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)