misskey-random-sentence-bot/README.md

1.3 KiB

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