Code Monkey home page Code Monkey logo

go-pingbot's Introduction

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)

go-pingbot's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar m3dzik avatar medzikuserbot avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

panwar0

go-pingbot's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/ci.yml
  • actions/checkout v3
  • actions/setup-go v3
  • go-semantic-release/action v1
  • actions/checkout v3
  • docker/login-action v2
  • goreleaser/goreleaser-action v3
  • actions/upload-artifact v3
.github/workflows/codeql-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/lint.yml
  • actions/checkout v3
  • golangci/golangci-lint-action v3
gomod
go.mod
  • go 1.17
  • github.com/BurntSushi/toml v1.1.0
  • github.com/MedzikUser/go-utils v1.0.0
  • github.com/gin-contrib/cors v1.4.0
  • github.com/gin-gonic/gin v1.8.1
  • github.com/joho/godotenv v1.4.0
  • github.com/jpillora/opts v1.2.0
  • go.mongodb.org/mongo-driver v1.10.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.