Browse Source

Merge branch 'improve-readme' of framasky/masto-image-bot into master

Dryusdan 1 year ago
committed by Gitea
1 changed files with 11 additions and 4 deletions
  1. +11

+ 11
- 4 View File

@@ -1,11 +1,18 @@
# masto-image-bot

Un bot qui récupère une image random en local et la publie
A bot that fetches a random local image and publish it on Mastodon.

Copiez le fichier `config.sample.txt` en `config.txt`, ajoutez le chemin de votre dossier image.
Remplissez le fichier `secrets/secrets.txt` et remplissez le avec les code que vous trouverez dans l'onglet développeur de votre compte Mastodon.
Copy the file `config.sample.txt` to `config.txt` and add the path to your images directory.
File the file `secrets/secrets.txt` with the codes you will find in the developper tab of your Mastodon account.
You can also register your bot on a Mastodon instance and get the needed codes with the help of the script [register-app](

## Configure it
## Install the dependencies

pip3 install -r requirements.txt

## Configure the bot

Copy `config.sample.txt` to `config.txt` and replace data by your data.