Browse Source

Improve README (translation, install deps…)

This commit is dedicated to Le Libre au quotidion, who is supporting me with Ğ1.
Many thanks ☺️
Luc Didry 1 year ago
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: EA868E12D0257E3C
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.