No description
Find a file
2019-10-31 19:59:39 +01:00
templates Reordered csv columns, sorted csv file (fixes #9) 2019-10-31 19:59:39 +01:00
.gitignore Deploy via Ansible, including cronjob 2019-09-10 16:16:31 +02:00
ansible.cfg Deploy via Ansible, including cronjob 2019-09-10 16:16:31 +02:00
ansible.yml Parse csv files recursively from folder, add debug mode (ref #7) 2019-09-20 09:03:44 -07:00
env.example Initial version of communist quotes bot 2019-09-08 21:21:35 +02:00
inventory.example Deploy via Ansible, including cronjob 2019-09-10 16:16:31 +02:00
quotes-to-add.csv Added file with quotes to add 2019-09-26 16:01:41 +02:00
README.md Parse csv files recursively from folder, add debug mode (ref #7) 2019-09-20 09:03:44 -07:00

Communist Quotes Bot

A Fediverse bot that posts random quotes from different communists.

You can check it out here: https://impenetrable.fortress.promo/communistquotes

Contribute Quotes

Edit the file communistquotes/marxistquotes.csv and make an MR.

Compile and Run

First, copy env.example to env, then enter your actual login information. To run the bot, execute the following commands:

cd communistquotes/templates/
sudo docker build . -t communistquotes
sudo docker run -it --rm --name communistquotes --env-file ../env communistquotes --debug

Deploy

Copy inventory.example to inventory, and enter your server's ssh address. Then run the following command:

ansible-playbook ansible.yml --become