Urgent.News

What's breaking now, across thousands of outlets.

Tech

Terminal recordings, reimagined

"I'll remember!" Famous last words. You spend two hours chasing a bug, hardening a server or deploying a service. The veteran in you knows you should document the steps as you go. The optimist in you says "I'll remember!" and, as usual, the optimist wins. Two hours and a few hundred commands later (including editing dozens of files by hand), it works. Then the meeting reminder pops up and before…

Terminal recording, reimagined: trecs

The renowned adage "I'll remember!" is often spoken with resignation, as many of us spend hours debugging, server hardening, or deploying services, only to forget the details soon after. Trecs, a terminal recorder, seeks to change that.

With trecs, you simply run "trecs record" and continue working as usual. Every command, its output, and even ANSI colors, ncurses/TUI applications, and sixel images are captured. Each command is marked for easy navigation, allowing you to jump between them instead of sifting through hours of text.

Being text-based, you can copy entire screens or individual lines directly from the player. Searching for a specific error or a crucial config line is a breeze. The trecs recorder and TUI editor are both free and open source (AGPLv3). The system can be edited post-recording, with options to delete commands, add annotations or images, and merge recordings.

Audio narration can be added live or later. Transparent, trecs is designed with user convenience in mind. Want to share or view recordings from anywhere? Upload to https://trecs.run. Written in Golang, both the recorder and TUI editor are statically linked, ensuring easy deployment. Visit releases for deb, RPM, ZST packages, and pre-built binaries. Feedback, feature requests, and contributions are more than welcome.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why a Working App Can Still Have the Wrong Database Schema

AI-generated database schemas—the structures that define what information a database stores and how that information relates—can look convincing.

  • Database schema not always necessary
  • AI-generated stats table suggested
  • Data collection may be unnecessary

My Snapchat scraper returned 0 results for a day and still said "SUCCEEDED"

On Monday I checked my Snapchat Spotlight scraper and it looked fine. Green status, run finished in five seconds, exit code 0. The dataset was empty.

  • Snapchat's website layout changed, breaking the scraper
  • Data moved to HTML of pages, streamed as React Server Components
  • User discovered method to extract JSON video data from HTML

More from Tuesday 17 November →