No description
- HTML 92.8%
- Python 7.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| 2025-06-10 20:40:54 +02:00 | ||
| tests | Switch to GoToSocial | 2024-11-23 19:27:20 +01:00 |
| .env-example | Initial commit | 2023-07-23 09:25:28 +02:00 |
| .gitignore | Initial commit | 2023-07-23 09:25:28 +02:00 |
| LICENSE | Create LICENSE | 2023-08-06 18:02:26 +02:00 |
| main.py | Switch to API | 2025-06-10 20:40:54 +02:00 |
| pytest.ini | initial tests | 2023-08-06 19:08:25 +02:00 |
| README.md | add readme and update requirements | 2023-08-06 19:19:05 +02:00 |
| requirements.txt | Switch to API | 2025-06-10 20:40:54 +02:00 |
| services.py | Switch to API | 2025-06-10 20:40:54 +02:00 |
Astrobin Image Of The Day Bot for Mastodon
Initialization
- In Mastodon go to your Account Preferences -> Development -> New Application
- Create a new application and copy the values
- Copy
.env-exampleto.envand fill in the variables with values from previous point - Create a new Python virtual env
python3 -m venv venv - Install dependencies with
pip install -r requirements.txt - Run the bot with
python main.py - Run tests with
python -m pytest