// Software
AERA-Gateway
The Raspberry Pi side of the AERA Atari programs: the services that give an Atari (ST, STE, TT, Falcon; TOS or MagiC, STinG) modern mail, calendars, contacts, file transfer, the web, PDFs, translation, web radio and Claude, and one program, aera-gateway, that sets them up, keeps them up to date and says how they are.

- Raspberry Pi
One Raspberry Pi on the home network makes the secure connections an Atari can’t, for mail, calendars, contacts, file transfer, the web, PDFs, translation, web radio and Claude.
The Story
Servers on the internet want encrypted connections today, and an Atari can’t make them at a usable speed, or at all. So the AERA programs talk plainly to a Raspberry Pi on the home network, and the Pi makes the secure connection onwards. Any computer with Raspberry Pi OS (bullseye or newer), Debian or Ubuntu and Python 3.9 or newer will do, and one Pi can run all the services.
One program, aera-gateway, installs each service, brings it up to date and says how it is. Each service runs as its own service under a user with no access to the rest of the Pi. Without --allow the services answer any address on the home network, and with it only your Atari. They check every server’s certificate and name, and log who connected where, never what was said. The same services also run in one Docker container, on 64-bit Linux, macOS and Windows.
How it connects
plain IMAP, SMTP, POP3
plain HTTP, proxy form
plain FTP
plain HTTP, proxy form
the PDF, converted on the Pi
text, translated on the Pi
plain HTTP, MP3 back
Getting started
- On a Raspberry Pi (Raspberry Pi OS bullseye or newer, or any Debian or Ubuntu with Python 3.9 or newer), one line sets up every service for your Atari, here with your mail provider’s servers:
sudo apt install -y git && git clone https://github.com/whomper/AERA-Gateway ~/AERA-Gateway && ~/AERA-Gateway/update-pi.sh --allow ATARI_IP --mail imap.gmail.com smtp.gmail.com. - Or one service at a time, for example
sudo aera-gateway install web --allow ATARI_IP. Now and then run~/AERA-Gateway/update-pi.shagain for the latest release, with every setting kept.aera-gateway statussays what runs where. - Or in Docker, on 64-bit Linux, or on macOS and Windows with Docker Desktop: download
docker/compose.ymlfrom the repository, put your Atari’s address and your mail provider’s servers in it, and rundocker compose up -d. GATEWAY_IPis the Gateway’s address on your home network,ATARI_IPthe Atari’s. Each Atari program takesGATEWAY_IPand its service’s port: EMail 143 (IMAP), 587 (SMTP) or 110 (POP3); ECal and EContact 8180; EFTP 2121; EWeb 8280; EConvert and EPDF 8380; translation in EMail, EWeb and EPDF 8480; EPlay 8580; ClaudeST 2323. The programs’ own settings are in the program’s page and in gateway/README.md.
Highlights
mailfor EMail: plain IMAP, SMTP and POP3 in (ports 143, 587, 110), TLS to your mail provider.davfor ECal and EContact: HTTPS to CalDAV, CardDAV and calendar feeds on port 8180, feeds trimmed to the months ECal keeps.ftpfor EFTP: plain FTP in on port 2121 (and 30000-30099 for data), FTPS or SFTP to the server.webfor EWeb: HTTP and HTTPS to any web site on port 8280; pictures made smaller or as the Atari’s pens, scripts compiled, pages translated, snapshots in the Gateway’s browser.pdffor EConvert and EPDF: PDFs converted (and translated) on the Gateway, port 8380.translatefor EMail, EWeb and EPDF: text translated on the Gateway by a local engine, port 8480.radiofor EPlay: web radio from MP3, AAC, Ogg or HLS stations, sent to the Atari as MP3, with titles, covers and logos, port 8580.claudefor ClaudeST: HTTPS to claude.ai or the Anthropic API, port 2323 or a serial cable.- One program,
aera-gateway, sets them up, keeps them up to date and says how they are. - One line to start:
update-pi.sh --allow ATARI_IPinstalls every service for your Atari. - Releases only:
update-pi.shtakes the Pi to the latest release, every setting kept. - Also in Docker: the same services and ports in one container, on 64-bit Linux, macOS and Windows.
Requirements
- A Raspberry Pi with Raspberry Pi OS bullseye or newer, or any Debian or Ubuntu computer, with Python 3.9 or newer
- git (Raspberry Pi OS Lite comes without it)
- Or Docker: 64-bit Linux with Docker 24 or newer, or macOS 13 or newer or Windows 10 or 11 with Docker Desktop; about 2 GB of memory, 4 GB with translate
- For translation: a 64-bit system and 4 GB of memory or more; the English and German languages are about 290 MB
- For EWeb’s snapshots (
--browser): the Gateway’s browser, which takes more memory and disk - For PDF conversion: a few minutes to build the converter on the Pi
- The Pi on the Atari’s home network, or a serial cable for ClaudeST
Credits
- Written by AERA | Erez Yaary
- Free software under the GNU GPL, version 2 or later
- The picture decoders in pens/common/third_party/ (libjpeg-turbo, TJpgDec, libnsgif) and QuickJS in jsc/eweb/third_party/ (MIT) keep their own licences
- Tested in emulation: CI on every push: Python 3.9, 3.11, 3.12 and 3.13 (Raspberry Pi OS bullseye, bookworm and trixie, Ubuntu 24.04), and the installer for real on a computer with systemd, and the browser for real with Ubuntu’s Chromium snap
// Works with
The AERA family

IMAP, SMTP and POP3 through the mail service, with TLS to your mail provider.

ECal
Calendars through the dav service on port 8180; EContact uses the same service.

EFTP
FTPS and SFTP servers through the ftp service on port 2121.

EWeb
Any web site through the web service on port 8280, with pictures made to fit the Atari.
