Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otobrglez/koofr-watch
koofr-watch observes your Koofr activities and emits changes to Webhooks.
https://github.com/otobrglez/koofr-watch
koofr scala zio
Last synced: 13 days ago
JSON representation
koofr-watch observes your Koofr activities and emits changes to Webhooks.
- Host: GitHub
- URL: https://github.com/otobrglez/koofr-watch
- Owner: otobrglez
- Created: 2024-12-03T14:54:46.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-13T10:45:42.000Z (23 days ago)
- Last Synced: 2024-12-13T11:27:57.057Z (22 days ago)
- Topics: koofr, scala, zio
- Language: Scala
- Homepage: https://github.com/otobrglez/koofr-watch
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# koofr-watch [![build status](https://github.com/otobrglez/koofr-watch/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/otobrglez/koofr-watch/actions/workflows/build.yml)
[koofr-watch][koofr-watch] observes your [Koofr](https://koofr.eu/) storage/activities and emits changes to webhooks
making the integration with other services and processes a breeze!Koofr [API Documentation is here](https://stage.koofr.net/developers/api).
## Demo w/ Discord
![koofer-watch-demo.png](koofer-watch-demo.png)
## Running with Docker 🐬
```sh
docker pull ghcr.io/otobrglez/koofr-watch:latest
docker run -ti --rm \
-e PORT=4447 \
-e KOOFR_USERNAME=$KOOFR_USERNAME \
-e KOOFR_PASSWORD=$KOOFR_PASSWORD \
-e WEBHOOK_URL_1=https://discord.com/api/webhooks/123 \
ghcr.io/otobrglez/koofr-watch
```## Development
Get your application
password [here](https://koofr.eu/help/linking-koofr-with-desktops/how-to-generate-an-application-specific-password-in-koofr/).```bash
export KOOFR_PASSWORD=""
export KOOFR_USERNAME=""
export PORT=4447
export WEBHOOK_URL_1=https://discord.com/api/webhooks/123.....
export WEBHOOK_URL_2=https://discord.com/api/webhooks/456.....
export WEBHOOK_URL_3=https://discord.com/api/webhooks/768..... # Five of them are supported....sbt run
```## Observability
The service will expose metrics in Prometheus format at [
`http://localhost:4447/metrics`](http://localhost:4447/metrics).The `PORT` is configured via environment variable.
## Stay In Touch
- [Oto Brglez](https://github.com/otobrglez)
## License
[MIT](https://opensource.org/licenses/MIT)
[koofr-watch]: https://github.com/otobrglez/koofr-watch
[java-koofr]: https://github.com/koofr/java-koofr
P.s.: This product is not associated with the Koofr organisation and was built by reverse-engineering [java-koofr] Java
SDK.