docs: README
This commit is contained in:
parent
e59cef8209
commit
7c0be29f13
1 changed files with 38 additions and 10 deletions
48
README.md
48
README.md
|
@ -1,15 +1,43 @@
|
||||||
## features
|
# Autotasker
|
||||||
|
|
||||||
- List the jobs available
|
Autotasker is a small server-side job runner and scheduler.
|
||||||
- Run a background-process
|
|
||||||
|
|
||||||
- actix
|
Autotasker free software licenced under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
||||||
- tera
|
|
||||||
|
|
||||||
## vocabulary
|
## Getting started
|
||||||
|
|
||||||
- Job
|
- Create a config file to define your tasks.
|
||||||
- JobRun
|
- Deploy the server (using git clone + cargo or docker or binary + systemd service).
|
||||||
|
- Enjoy!
|
||||||
|
|
||||||
Using
|
## Philosophy
|
||||||
https://docs.rs/sqlx-models/latest/sqlx_models/
|
|
||||||
|
Unix-like
|
||||||
|
|
||||||
|
- Small.
|
||||||
|
- Can be configured with a file.
|
||||||
|
- Can be interfaced easily.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- [x] List the tasks availables.
|
||||||
|
- [x] Run tasks in background.
|
||||||
|
- [x] Store the logs and tasks runs in a sqlite DB.
|
||||||
|
- [ ] Schedule tasks (CRON-like).
|
||||||
|
- [ ] OpenMetrics exporter to alert when a task failed.
|
||||||
|
- [ ] External alerting when a task failed.
|
||||||
|
- [ ] Run task via webhook, with a webhook token.
|
||||||
|
- [ ] Content negociation with JSON or HTML.
|
||||||
|
- [ ] OAuth2 support for admin.
|
||||||
|
|
||||||
|
## Vocabulary
|
||||||
|
|
||||||
|
- `Task` is a configured command to be run.
|
||||||
|
- `TaskRun` refer to a singular task run.
|
||||||
|
|
||||||
|
## Built with
|
||||||
|
|
||||||
|
- [Axum](https://lib.rs/crates/axum) for web server.
|
||||||
|
- [Tera](https://lib.rs/crates/tera) for templating.
|
||||||
|
- [Sqlx](https://lib.rs/crates/sqlx) to interact with Sqlite.
|
||||||
|
- [Sqlite](https://sqlite.org/) for storing state and logs.
|
||||||
|
|
Loading…
Reference in a new issue