re-init
This commit is contained in:
commit
3246de4e8d
|
@ -0,0 +1 @@
|
||||||
|
0
|
|
@ -0,0 +1 @@
|
||||||
|
1633502835
|
|
@ -0,0 +1 @@
|
||||||
|
manually create a task for Readme-Driven-Development
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
/** Asyncron™
|
||||||
|
* a synchronized checklist verification
|
||||||
|
* (lightweight Dead Man's Snitch alternative)
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
|
@ -0,0 +1,7 @@
|
||||||
|
name "asyncron"
|
||||||
|
description "a synchronized checklist verification"
|
||||||
|
media-type "app"
|
||||||
|
tags "ping" "api" "checklist"
|
||||||
|
license "AGPL"
|
||||||
|
homepage "https://dym.sh/asyncron/"
|
||||||
|
source "https://source.garden/apps/asyncron/"
|
|
@ -0,0 +1,44 @@
|
||||||
|
# Asyncron™
|
||||||
|
|
||||||
|
> a synchronized checklist verification \
|
||||||
|
> (lightweight Dead Man's Snitch alternative)
|
||||||
|
|
||||||
|
## Premise
|
||||||
|
|
||||||
|
1. Give an interval on how often some task must be accomplished, and pinged
|
||||||
|
2. Check periodically
|
||||||
|
|
||||||
|
## Screenshot
|
||||||
|
|
||||||
|
![screenshot](screenshot.png)
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
- put on a local network, or some subdomain prob
|
||||||
|
- script only needs read+write access to the current directory, to keep track of tasks and pings
|
||||||
|
- no database needed
|
||||||
|
- no javascript needed
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
1. open script's url (eg. `http://ping.local`) and create some tasks
|
||||||
|
2. automate verification of accomplishments (like cron scripts)
|
||||||
|
3. for manual completion – click on the task and press the «Ping Manually» button
|
||||||
|
|
||||||
|
### shell scripts and crontab
|
||||||
|
|
||||||
|
> `crontab -l`
|
||||||
|
|
||||||
|
```sh
|
||||||
|
15 10 * * * ~/backup.sh && curl -X PATCH 'http://ping.local/?backup'
|
||||||
|
```
|
||||||
|
|
||||||
|
### http API
|
||||||
|
|
||||||
|
- `GET` – returns `1` if task was pinged and interval has not yet expired, otherwise `0`
|
||||||
|
- `POST` – create/reactivate task
|
||||||
|
- `PUT` – update description and/or interval
|
||||||
|
- `PATCH` – ping a completion
|
||||||
|
- `DELETE` – deactivate task
|
||||||
|
|
||||||
|
more details in the source code
|
Loading…
Reference in New Issue