Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/M3DZIK/go-pingbot
⚡ This application "pings" websites every few minutes. It can be used to keep the application alive on e.g. glitch.me or repl.it.
https://github.com/M3DZIK/go-pingbot
go golang golang-api golang-application http ping pingbot pinger uptime uptime-check uptime-checker uptime-monitoring uptime-monitors uptime-robot uptimerobot
Last synced: 3 months ago
JSON representation
⚡ This application "pings" websites every few minutes. It can be used to keep the application alive on e.g. glitch.me or repl.it.
- Host: GitHub
- URL: https://github.com/M3DZIK/go-pingbot
- Owner: M3DZIK
- License: 0bsd
- Created: 2021-07-13T22:10:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-20T15:40:24.000Z (almost 2 years ago)
- Last Synced: 2024-07-28T19:23:25.137Z (3 months ago)
- Topics: go, golang, golang-api, golang-application, http, ping, pingbot, pinger, uptime, uptime-check, uptime-checker, uptime-monitoring, uptime-monitors, uptime-robot, uptimerobot
- Language: Go
- Homepage: https://pingbot.vercel.app
- Size: 216 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - go-pingbot
README
# [Pingbot](https://pingbot.vercel.app) - Backend
[![Repo Size](https://img.shields.io/github/repo-size/MedzikUser/go-pingbot)](https://github.com/medzikuser/go-pingbot)
[![Build](https://img.shields.io/github/workflow/status/MedzikUser/go-pingbot/release/main)](https://github.com/medzikuser/go-pingbot/actions/workflows/release.yml)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](https://glitch.com/) or [repl.it](https://replit.com/).
## ⚡ Install Pre-Compile binary
* 💻 Linux amd64
* [Download](https://github.com/medzikuser/go-pingbot/releases) 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](https://golang.org/dl) (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](https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63)
* 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)