Skip to main content

in reply to Enfys 🏴󠁧󠁢󠁷󠁬󠁳󠁿 🏳️‍⚧ 🔜 Revision 2025

RE: wetdry.world/@enfys/1139686706…

Quite a few of you are wondering how Fedi via Teletext/FediText/Teletextodon works, so here goes:

It's running off of a Raspberry Pi with composite video output. Every 30-60 seconds I use Mastodon.py to grab the most recent toot on my timeline, the only data I need from this is the author, content and time it was posted.

The actual toot text content I get back is HTML so I remove the tags so it's just text and have to sanitize the content for any characters that are not supported.

I then use this data to construct a teletext page (TTI format), I wrap the text to a maximum of 38 characters per line (it would be 40 but there is room for control characters at the start for colour and double height), using double height text as default and if the toot is longer than what I can fit onto the display then it swaps to doing single height characters instead.

The final page is then thrown into a teletext signal injector, which then I can view on my TV by pressing the teletext button on my remote control. :3

Sadly no support for any user input or images yet, it's mostly just a fun gimmick.

This entry was edited (2 months ago)
⇧