GitXplorerGitXplorer
M

go-pingbot

public
14 stars
1 forks
2 issues

Commits

List of commits on branch main.
Unverified
d27381c48a024421a37561887faabc827d171fb0

go mod tidy

MMedzikUserBot committed 3 years ago
Unverified
36e0d03d9a3ed3e6c4ecebada0b906b0e7adfefa

fix(deps): update module go.mongodb.org/mongo-driver to v1.10.0

rrenovate[bot] committed 3 years ago
Unverified
c01119e393e3ae86aa0022f34c842a2ed2546298

chore(renovatebot): update config

MM3DZIK committed 3 years ago
Unverified
0773d198a4be7f73eaf58e63efd6eca57c9a87a8

go mod tidy

MMedzikUserBot committed 3 years ago
Unverified
7e3583919308ee4ab2c458b71c2e0a6caf70e1b0

fix(deps): update module github.com/gin-contrib/cors to v1.4.0

rrenovate[bot] committed 3 years ago
Unverified
08522d132fd2123bbc9e956fa88b917175594e68

go mod tidy

MMedzikUserBot committed 3 years ago

README

The README file for this repository.

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

Method 1:

  • go install github.com/medzikuser/go-pingbot@latest
  • Output binary path
    • Check GOPATH go env GOPATH
    • Go to GOPATH and binary name is pingbot

Method 2:

  • Download source code git clone https://github.com/medzikuser/go-pingbot.git --depth 1
  • Go to folder with source code cd go-pingbot
  • Build make or go build -o pingbot.out
  • Done your compiled binary name is pingbot.out

⭐ Cross Compile

Check supported OS and ARCH

  • Download source code git clone https://github.com/medzikuser/go-pingbot.git --depth 1
  • Go to folder with source code cd go-pingbot
  • Build make GOOS=os GOARCH=arch
    • e.g. make GOOS=openbsd GOARCH=arm64
  • Done your cross compiled binary name 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)