Skip to content

Postodon is a server that will post to mastodon at a given interval, with each post consisting of an intro and content. This project was forked from promptodon as I saw the use of a more general purpose interval-based posting bot.

License

Notifications You must be signed in to change notification settings

BNolet/postodon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postodon

A python-based bot for Mastodon

Development

Below are the steps required to get started in working on Postodon

Requirements

  • Python
  • Docker

Python

Minimum required version: 3.12

macOS:

  1. Install Homebrew (if you haven’t already): Open the Terminal and run the following command:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Python:
    brew install python

Windows:

  1. Download Python: a. Go to the official Python website. b. Download the latest Python installer (e.g., python-3.x.x.exe).
  2. Install Python a. Open the downloaded installer from your Downloads folder b. Check the box "Add Python to PATH" c. Click Install Now

Linux: Most distributions come with Python preinstalled.

Docker

Install Docker Desktop from the official website

Windows

macOS

Ubuntu, Debian, Fedora, CentOS

Running

Set up your .env file with the following values:

flask_secret_key="MYSUPERSECRETKEY"
domain="127.0.0.1"
port=5001
env=debug
interval=86400

Running via Python

python src/app.py

Running via Docker

  1. docker build -t postodon:latest .

  2. docker run -p 5001:5001 --env-file ./.env postodon:latest

Production

This project is still in a very basic alpha phase. There will be pitfalls and errors and things will break.

Colour palette

This is the basic colour palette being used at the moment. Anyone is free to come up with a better one. Eventually I'll make it possible to specify the colour palette via the .env file.

https://coolors.co/37b7c3-982649-05668d-679436-a5be00

About

Postodon is a server that will post to mastodon at a given interval, with each post consisting of an intro and content. This project was forked from promptodon as I saw the use of a more general purpose interval-based posting bot.

Topics

Resources

License

Stars

Watchers

Forks