Bot that pulls graphs from Observium and posts them to Mastodon
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
mastobservium-stats.py

README.md

Mastobservium-stats

A simple python script that takes graphs from observium and posts them to mastodon. Used to do a server status kind of thing.

Installation:

You need pillow and Mastodon.py. This runs on python3. That's it I mean, you also need an observium server and a mastodon server. But. yeah. That's obvious.

Usage:

For the first run, uncomment the first commented line (the one with Mastodon.create_app()).

For the second run, uncomment the second bunch of commented lines (the ones with masto = Mastodon... and masto.log_in().)

From then on, uncomment the third block of commented line and profit

That's it!