A mastodon bot posting random sentences
Go to file
2024-07-04 18:11:04 +09:00
data/sentences typo 2023-12-23 20:48:37 +09:00
src migrate to mastodon version 2024-07-04 18:11:04 +09:00
.dockerignore migrate to mastodon version 2024-07-04 18:11:04 +09:00
.example.env migrate to mastodon version 2024-07-04 18:11:04 +09:00
.gitignore migrate to mastodon version 2024-07-04 18:11:04 +09:00
docker-compose.example.yml migrate to mastodon version 2024-07-04 18:11:04 +09:00
Dockerfile migrate to mastodon version 2024-07-04 18:11:04 +09:00
main.py migrate to mastodon version 2024-07-04 18:11:04 +09:00
README.md migrate to mastodon version 2024-07-04 18:11:04 +09:00
requirements.txt migrate to mastodon version 2024-07-04 18:11:04 +09:00
setup.md Dockerize the app 2023-12-09 00:25:33 +09:00

Mastodon Random Sentence Bot

no github badge

A mastodon bot posting random sentences. Forked from Misskey Random Sentence Bot

How to run with docker compose

  1. clone repo

  2. change setting

# copy compose file
cp docker-compose.example.yml docker-compose.yml

# copy and edit .env
cp .example.env .env
vim .env
  1. add your access token
touch token.secret
vim token.secret
  1. RUN
docker compose up
docker compose down

How to run manually

  1. clone repo

  2. make venv

python3 -m venv venv
source ./venv/bin/activate
  1. install modules
pip install -r requirements.txt
  1. 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
  1. RUN
python main.py

Contribute

To contribute to this project is free!

Contributors

Thank you for your contribution!

kdh8219