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 cfef7e7bc7
Create codeql-analysis.yml
2021-10-22 23:09:19 +02:00
.github/workflows Create codeql-analysis.yml 2021-10-22 23:09:19 +02: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 chore(GoReleaser): publish to Docker (#23) 2021-10-19 23:20:25 +02:00
.pre-commit-config.yaml update few files 2021-09-07 20:45:10 +00:00
Dockerfile chore(GoReleaser): publish to Docker (#23) 2021-10-19 23:20:25 +02:00
LICENSE v1.3.0 2021-07-24 09:50:17 +00:00
Makefile remove empty line 2021-10-22 22:28:18 +02: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 fix(deps): update module github.com/medzikuser/go-utils to v1 (#24) 2021-10-21 23:24:53 +02:00
go.sum go mod tidy 2021-10-21 21:25:52 +00:00
main.go chore: remove print http UserAgent 2021-10-21 12:37:21 +02: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)