Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexcoder04/dioggy

Watcher daemon to run and auto-update applications directly from GitHub
https://github.com/alexcoder04/dioggy

auto-updater bot daemon github go golang process-management updates

Last synced: about 1 month ago
JSON representation

Watcher daemon to run and auto-update applications directly from GitHub

Awesome Lists containing this project

README

        

# dioggy

This is a simple program that automatically pulls a project from GitHub, runs it, restarts it if it exits and updates it if updates are pushed to the repo.

Initially created for the [if-schleife-bot](https://github.com/alexcoder04/if-schleife-bot), runs it by default.

Too lazy to write docs, if you have questions, just open an [issue](https://github.com/alexcoder04/dioggy/issues).

## Usage

```sh
./dioggy
```

## Configuration

### Command-line arguments

- `-enable-discord-notifications`: sends a Discord message when the application is started/updated

### Environmental variables

- `GITHUB_CLONE`: which GitHub repo to use, `user/repo` format
- `PREPARE_COMMAND`: command to run after cloning/pulling
- `EXEC_COMMAND`: command to run
- `DISCORD_WEBHOOK_URL`: where to send Discord messages (optional)