Ceefax.js
A BBC Ceefax terminal/emulator in HTML5 & Javascript
Install / Use
/learn @MattRyder/Ceefax.jsREADME
#ceefax.js A BBC Ceefax terminal/emulator in HTML5 & Javascript
ceefax.js is a reproduction of the original TV-based teletext system, developed by the BBC.
##Features
- Embeddable into most web pages.
- Works in any HTML5 based browser, that supports the
<canvas>element. - Fully customisable, pages are loaded via JSON!
- Pages can be looked up by typing their page numbers.
##So how do I use this?
Fortunately enough, ceefax.js can be up and running with a few lines of Javascript!
(...and a couple lines of CSS, if you really want to impress!)
// Load the data from JSON, for our personalised BBC News feed:
$.getJSON('testdata.json', function( data ) {
$.each(data, function(i, a) {
Ceefax.Pages.push(new CeefaxPage(a.page, a.category, a.headline, a.article));
});
});
// Now tell ceefax.js where to find canvas, and how often to update:
Ceefax.run("myCanvas", 1000/30);
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
