Stephane Bortzmeyer d63885ea1b Typo
2021-03-27 13:15:42 +01:00
2021-03-27 12:28:58 +01:00
2021-03-27 12:28:58 +01:00
2021-03-27 13:13:59 +01:00
2021-03-27 13:15:42 +01:00

presto2gemini

Download solar storm alerts from the Presto service and converts them into gemtext (text/gemini) to be served via Gemini.

The result can be seen (if you have a Gemini browser) on my Gemini capsule.

Installation

Download the program, Be sure you have the Python requests library then run the program periodically, for instance through cron:

# Solar alerts
33 3,7,11,15,19,23 * * * /path/to/program/presto2gemini.py

Technical details

We start from plain text files like this alert since Presto alerts are not available in a structured format.

Description
Download solar storm alerts from the Presto service and converts them into gemtext (text/gemini) to be served via Gemini.
Readme 36 KiB
Languages
Python 100%