Skip to content
Breaking
Latest technical intelligence from Northeast India • Infrastructure, AI, Cloud & Security Analysis • Precision Analysis | Raw Intelligence | Your North Star of Tech Latest technical intelligence from Northeast India • Infrastructure, AI, Cloud & Security Analysis • Precision Analysis | Raw Intelligence | Your North Star of Tech
WEBDEV

Analysis: I have open-sourced a WebGL front-end for your terminal that emulates a CRT monitor

Reviving the Retro: WebGL Brings Old-School Terminal Emulator to Modern Applications

Reviving the Retro: WebGL Brings Old-School Terminal Emulator to Modern Applications

A new open-source project, cool-retro-term-webgl, is set to captivate developers and retro computing enthusiasts alike. This modern WebGL-based recreation of the beloved cool-retro-term terminal emulator brings the authentic retro effects of old cathode ray tube (CRT) monitors to the web and modern applications.

Bridging the Gap Between Past and Present

For years, cool-retro-term, created by Filippo Scognamiglio (Swordfish90), has been a favorite among developers due to its perfect mimicry of old CRT monitors, complete with scanlines, glow, and that nostalgic flicker. The new open-source project, cool-retro-term-webgl, aims to bring those authentic retro effects to the web and modern applications.

Authentic Retro Effects Powered by WebGL

The project, led by Remo Jansen, ports the shader magic from the original cool-retro-term, which is built in QML and C++, to WebGL. This allows the CRT renderer to be used in browsers, web apps, and even native desktop apps via Electron. The result is a lightweight, high-performance CRT renderer that integrates seamlessly with XTerm.js.

  • Screen curvature and distortion
  • Phosphor glow and bloom
  • Scanlines and rasterization
  • RGB chromatic aberration
  • Flicker, static noise, and burn-in persistence
  • Horizontal sync jitter

Two Packages in a Monorepo

The project offers two packages in a monorepo: cool-retro-term-renderer, which is the core library for adding CRT effects to any XTerm.js instance, and cool-retro-term-electron, a full-featured desktop terminal app built with Electron, supporting real shell processes via node-pty.

Relevance to North East Region and India

The open-source cool-retro-term-webgl project showcases the creativity and technical prowess of developers in the global community. In the North East region of India, such initiatives inspire local developers to create innovative solutions, fostering a vibrant tech ecosystem.

A Look into the Future

With the project licensed under GPL-3.0, the future holds endless possibilities for collaboration, customization, and integration. As more developers discover and contribute to the project, we can expect to see cool-retro-term-webgl become an integral part of the web and desktop development landscapes.