|
|
@@ -1,3 +1,50 @@
|
|
1
|
1
|
Bloomscroller is a [Mastodon](https://joinmastodon.org) bot that is run as a cron job in order to drip-toot a [Piwigo](https://piwigo.org) gallery one image at a time.
|
|
2
|
2
|
|
|
3
|
|
-_to be cotinued_
|
|
|
3
|
+Specifically, I wrote it in order to publish photos from a [gallery](https://photos.nandn.org.il/piwigo/index.php?/category/21) of flowers that grow in [our](https://nandn.org.il/) garden (hence the name).
|
|
|
4
|
+
|
|
|
5
|
+At [config.py](config.py) there are `TOOT_TEMPLATE` and `ALT_TEXT_TEMPLATE` that can contain fields from an album image's [json info](example.json). In my specific test case I don't use `{title}` and `{comment}`, but they're there if they're useful for you.
|
|
|
6
|
+
|
|
|
7
|
+### Installing
|
|
|
8
|
+
|
|
|
9
|
+* Run `./install.sh`
|
|
|
10
|
+* Edit [config.py](config.py) to suit your needs
|
|
|
11
|
+* Run `./register.sh` to register the bot with you mastodon server (make sure the instance's policy allows you to run the bot).
|
|
|
12
|
+
|
|
|
13
|
+
|
|
|
14
|
+### Running
|
|
|
15
|
+
|
|
|
16
|
+Run `[/path/to/here]/run.sh`. This can be done as a cron job.
|
|
|
17
|
+
|
|
|
18
|
+```
|
|
|
19
|
+ , .-.-,_,
|
|
|
20
|
+ )`-.>'` (
|
|
|
21
|
+ / `\ |
|
|
|
22
|
+ | | |
|
|
|
23
|
+ \ / /
|
|
|
24
|
+ `=(\ /.=`
|
|
|
25
|
+ `-;`.-'
|
|
|
26
|
+ `)| ,
|
|
|
27
|
+ || .-'|
|
|
|
28
|
+ ,_|| \_,/
|
|
|
29
|
+ , \|| .'
|
|
|
30
|
+ |\|\ , ||/
|
|
|
31
|
+ ,_\` |/| |Y_,
|
|
|
32
|
+ '-.'-._\||/
|
|
|
33
|
+ >_.-`Y|
|
|
|
34
|
+ ` .-"||"-.
|
|
|
35
|
+ \'----'/
|
|
|
36
|
+ |:. |
|
|
|
37
|
+ |::. |
|
|
|
38
|
+ /:::: \
|
|
|
39
|
+ .:::' '.
|
|
|
40
|
+ /::: \
|
|
|
41
|
+ ;:::' ;
|
|
|
42
|
+ |::: |
|
|
|
43
|
+ |::: |
|
|
|
44
|
+ |::: |
|
|
|
45
|
+ ;::: ;
|
|
|
46
|
+ \:::. /
|
|
|
47
|
+jgs ':::.. .'
|
|
|
48
|
+ `""-----""`
|
|
|
49
|
+```
|
|
|
50
|
+ASCII art by [Joan G. Stark](https://en.wikipedia.org/wiki/Joan_Stark).
|