Add README.md
This commit is contained in:
parent
6af578e1aa
commit
ae9165bd55
|
@ -0,0 +1,22 @@
|
||||||
|
# maid-bot
|
||||||
|
|
||||||
|
Another bot for posting arts to your timeline.
|
||||||
|
|
||||||
|
Currently posting on: https://udongein.xyz/MaidBot
|
||||||
|
|
||||||
|
### Initial setup
|
||||||
|
|
||||||
|
* Create sources.dat file and fill them with URLs where
|
||||||
|
```
|
||||||
|
source_url_to_wget hyperlink_url_to_put_in_post_description
|
||||||
|
source_url_to_wget hyperlink_url_to_put_in_post_description
|
||||||
|
source_url_to_wget hyperlink_url_to_put_in_post_description
|
||||||
|
source_url_to_wget hyperlink_url_to_put_in_post_description
|
||||||
|
|
||||||
|
. . . . . . . . . . etc
|
||||||
|
```
|
||||||
|
* Fill token.dat with bot's auth token.
|
||||||
|
* Edit post-local.sh and write custom text. in "status" field of POST json.
|
||||||
|
* Now put it to crontab!
|
||||||
|
|
||||||
|
The bot will take random pair of URLs from the file, download the image itself by the first url and post it to fedi, attaching the second url as description.
|
Loading…
Reference in New Issue