2024-02-10 08:11:28 +00:00
|
|
|
# `zdravko`
|
|
|
|
|
|
|
|
Golang selfhosted Status/Healthcheck monitoring app.
|
|
|
|
|
|
|
|
Mostly just a project to test [temporal.io](https://temporal.io/).
|
|
|
|
|
2024-02-15 11:24:10 +00:00
|
|
|
### Roadmap
|
|
|
|
- [x] SSO Support for authentication.
|
2024-02-15 11:24:35 +00:00
|
|
|
- [x] SQLite for database.
|
2024-02-15 11:24:10 +00:00
|
|
|
- This means for main app db as well as temporal db.
|
2024-02-18 21:41:40 +00:00
|
|
|
- [x] Single binary.
|
2024-02-15 11:24:10 +00:00
|
|
|
- One binary to run worker, server and temporal all together.
|
2024-02-21 08:41:49 +00:00
|
|
|
- [x] Abbility for multiple workers.
|
2024-02-15 11:24:10 +00:00
|
|
|
- Spread workers across regions to monitor latency from different locations.
|
2024-02-21 08:41:49 +00:00
|
|
|
- [ ] Use [k6](https://github.com/grafana/k6) for checks, so that they can be written in javascript.
|
2024-02-15 11:24:10 +00:00
|
|
|
- [ ] CronJob Healthchecks (via webhooks).
|
2024-02-10 11:59:58 +00:00
|
|
|
|
2024-02-10 17:05:11 +00:00
|
|
|
![Screenshot](docs/screenshot.png)
|
2024-02-19 19:09:27 +00:00
|
|
|
Demo is available at https://zdravko.mnts.dev.
|
2024-02-10 17:05:11 +00:00
|
|
|
|
2024-02-10 11:59:58 +00:00
|
|
|
# Development
|
|
|
|
|
|
|
|
### Dependencies
|
|
|
|
* [devbox](https://www.jetpack.io/devbox)
|
2024-02-18 09:49:28 +00:00
|
|
|
* [justfile](https://github.com/casey/just) (optional, `devbox run -- just` can be used instead)
|
2024-02-10 11:59:58 +00:00
|
|
|
|
|
|
|
```sh
|
2024-02-11 19:28:00 +00:00
|
|
|
# Configure
|
|
|
|
cp example.env .env
|
|
|
|
|
2024-02-18 21:37:17 +00:00
|
|
|
# Generate JWT key
|
|
|
|
just generate-jwt-key
|
|
|
|
|
2024-02-10 11:59:58 +00:00
|
|
|
# Start development environment
|
|
|
|
just run
|
|
|
|
```
|
2024-02-11 21:21:40 +00:00
|
|
|
|
|
|
|
### License
|
|
|
|
Under AGPL, see [LICENSE](LICENSE) file.
|