EN /HU | Login

Siliconia BBS

The computer and console museum of the BBS network: every home computer, microcomputer, PC and video game console Wikidata knows, with its maker, years, CPU and memory, its family line, the machines with the same CPU and the Wikipedia story in English or Hungarian; the legends and the Hungarian machines, two machines side by side. With an account, mark the machines you had and write down your memories of them.

Live at teletypegames.org:2338, in the browser on bbsweb, and through TTG Gate BBS

Overview

A Ruby app on the rubbs gem, like Commodex BBS and Kinema BBS.

It has two faces on one port:

  • Modern: ANSI colours, windows, menus and the mouse (SyncTERM, NetRunner, PuTTY, bbsweb). The shelves as lists with the picked machine's card on the right, a machine's page with its buttons (Wiki, HU, Photo, Family, CPU, Memories, Mine), the Wikipedia lead in a scrolling window, the photo in half blocks, two machines side by side.
  • Commodore 64: PETSCII on a 40×25 screen, for a C64 terminal program (CCGMS, Novaterm, UltimateTerm) behind a WiFi modem. Cursor menus and lists, a machine a page with its actions on one row (wiki, photo, more) and the rest under "more", the Wikipedia lead and the memories as pages, the photo on a screen of its own.

Where the data comes from

What Source Licence
The machines and their facts Wikidata: every item under home computer, microcomputer, personal computer or video game console (about 3,400), kept on the board, refreshed weekly CC0
The stories Wikipedia, English or Hungarian, the lead of the article, read on demand CC BY-SA 4.0, credited under every story
The photos Wikimedia Commons: the file Wikidata names for a machine (about 1,700), only under a free licence (public domain, CC0, CC BY, CC BY-SA) the file's own, its author and licence under every photo
The marks and memories the callers, in the board's SQLite database —

Wikidata describes a machine model as a class (the Commodore 64 is a subclass of home computer), so the board takes everything under the four classes by "instance of" or "subclass of", and leaves out classes of computers, form factors, video games, software, fantasy consoles and bare categories. Nothing is guessed: a fact Wikidata does not have shows as a dash (years, maker, CPU, memory) or not at all, and every page says where to fix it on Wikidata. Machines with no article, maker or year come after the others in every list. Only the Legends shelf is kept by hand.

A photo is drawn in characters by ImageMagick: a plain backdrop is made black and cut off, the modern face gets upper half blocks in two of the 256 colours a cell (72×44 pixels), the C64 a full or half block a cell in its sixteen colours (38×40, the colours made stronger). A photo not under a free licence is not shown. The character copy of a CC BY-SA photo is under CC BY-SA too.

The machine of the week (F5, E on the C64) is one of the machines with an English article, a year and a maker, the same for everyone all week; it is on the Today page of TTG Gate BBS too.

Using it

On a modern terminal:

Key Action
F2 Search: a machine, a maker or a CPU (6502, z80, tvc)
F3 A random machine
F4 The Legends
F5 The machine of the week
F10 The menu: Hungarian machines, by kind, decade, maker or CPU, compare two, most viewed, the machines the network grew up on, with memories; my machines, the wall
Alt-W, Alt-H On a machine: the English or the Hungarian Wikipedia story
Alt-P Its photo
Alt-F, Alt-C Its family line, the machines with its CPU
Alt-E, Alt-I Its memories, mark it as yours
Alt-X Log off

On a Commodore 64 the main menu is S search, L legends, B browse (kind, decade, maker, CPU), H Hungarian machines, R random machine, E machine of the week, T top lists, M my machines, W the wall, F write to the sysops, I about, Q log off. On a machine W reads the story, P shows the photo, M opens the rest: the Hungarian story, the family line, the same CPU, the memories, write one, mark it, compare it.

A guest can browse everything; the marks ("I had one", "I grew up on it") and the memories need an account of the network. A memory (up to 600 characters) shows once an admin has approved it.

Configuration and data

Variable Default
SILICONIA_BBS_CATALOG_SEED config/catalog.json.gz the catalog shipped with the board
SILICONIA_BBS_CATALOG data/catalog.json.gz the catalog a refresh writes
SILICONIA_BBS_CATALOG_TTL 604800 seconds before Wikidata is read again (0: never)
SILICONIA_BBS_LEGENDS config/legends.yml the Legends shelf
SILICONIA_BBS_DB data/siliconia.sqlite3 the marks, memories and views
SILICONIA_BBS_PICTURES data/pictures the photos drawn, one JSON a machine
SILICONIA_BBS_HERALD data/herald.json the machine of the week, for the gate's Today page

The memories are approved with docker exec -w /app/boards/siliconia ttg-bbs bin/memories list | approve ID | reject ID. bin/refresh-catalog writes a new seed catalog in a dev checkout (about two minutes).

Under the hood

Badges. With an account this board counts for Curator (the pages of 10, 50, 200 machines), Collector (1, 5, 20 machines marked) and Nostalgic (1, 5 memories), besides the network's own.

It runs as boards/siliconia of bbs/ttg-bbs, in the shared ttg-bbs container; its data is in /srv/stacks/ttg-bbs/boards/siliconia/data and stays between deploys. A push to master deploys it from Woodpecker (ci-deploy ttg-bbs); a change only in boards/siliconia restarts only this board. Its log lines are in docker logs ttg-bbs, with "board":"siliconia-bbs".

The code follows the house layering: lib/domain (the models, the Wikidata, Wikipedia and Legends repositories, CatalogService, AboutService, CollectionService, MemoryService, the composition root SiliconiaBBS) knows nothing of telnet, and lib/ui holds UI::Modern and UI::Petscii.