stfn · Codeberg.org

No description

  • HTML 92.8%
  • Python 7.2%
Repository files (latest commit first)
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

  1. In Mastodon go to your Account Preferences -> Development -> New Application
  2. Create a new application and copy the values
  3. Copy .env-example to .env and fill in the variables with values from previous point
  4. Create a new Python virtual env python3 -m venv venv
  5. Install dependencies with pip install -r requirements.txt
  6. Run the bot with python main.py
  7. Run tests with python -m pytest

Read the original on codeberg.org ↗