-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
59 lines (46 loc) · 997 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Dyno
===
Enough movement to get you where you need to go.
## WHY
Sometimes you feel like building a cabin with a bunch of tiny tools, dont you?
## TODO
* full installation script
* build index.html
* ~~purging by death date~~
* metadata support functions
* ~~EDITOR support~~
* drafts and publish by symlink
* long and short flag support
* basic css file
* monit/init support for daemon
* ~~cron.d scheduling~~
## INSTALL
```bash
hub clone colby/dyno
cp dyno/dyno.sh /usr/local/bin/
cp dyno/dyno.cron /etc/cron.d/
export DYNO_PATH="$PWD/dyno"
```
## HOWTO
Create a dyno.
```bash
# takes a string of text, which is hashed into a dyno
./dyno.sh "This is a test!"
```
Edit a dyno.
```bash
# takes a dyno hash, loads it in $EDITOR
./dyno.sh a28bca1b906f539ba70ca3a0b1f2e773
```
Kill a dyno.
```bash
# takes a date string, in %s, kills any dyno older than %s
./dyno.sh 1584729329
```
## NOMOREINSTALL
```bash
# but why?
rm -rf $DYNO_PATH/dyno
rm /usr/local/bin/dyno.sh
unset DYNO_PATH
```