Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexcoder04/dioggy
- Owner: alexcoder04
- License: gpl-3.0
- Created: 2022-11-25T16:26:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T20:15:15.000Z (about 2 years ago)
- Last Synced: 2024-06-21T18:52:46.562Z (7 months ago)
- Topics: auto-updater, bot, daemon, github, go, golang, process-management, updates
- Language: Go
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)