data/sentences | ||
src | ||
.dockerignore | ||
.example.env | ||
.gitignore | ||
docker-compose.example.yml | ||
Dockerfile | ||
main.py | ||
README.md | ||
requirements.txt | ||
setup.md |
Mastodon Random Sentence Bot
A mastodon bot posting random sentences. Forked from Misskey Random Sentence Bot
How to run with docker compose
-
clone repo
-
change setting
# copy compose file
cp docker-compose.example.yml docker-compose.yml
# copy and edit .env
cp .example.env .env
vim .env
- add your access token
touch token.secret
vim token.secret
- RUN
docker compose up
docker compose down
How to run manually
-
clone repo
-
make venv
python3 -m venv venv
source ./venv/bin/activate
- install modules
pip install -r requirements.txt
- change setting(changing the sentences and words directories as a absolute path is recommended)
# copy example setting file
cp .example.env .env
# edit setting file
vim .env
- RUN
python main.py
Contribute
To contribute to this project is free!
Contributors
Thank you for your contribution!