frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Do not download the app, use the website

https://idiallo.com/blog/dont-download-apps
786•foxfired•10h ago•440 comments

Open Sauce is a confoundingly brilliant Bay Area event

https://www.jeffgeerling.com/blog/2025/open-sauce-confoundingly-brilliant-bay-area-event
83•rbanffy•2d ago•23 comments

Turn any diagram image into an editable Draw.io file. No more redrawing

https://imagetodrawio.com/
30•matthewshere•1h ago•8 comments

CCTV Footage Captures the First-Ever Video of an Earthquake Fault in Motion

https://www.smithsonianmag.com/smart-news/cctv-footage-captures-the-first-ever-video-of-an-earthquake-fault-in-motion-shining-a-rare-light-on-seismic-dynamics-180987034/
106•chrononaut•5h ago•19 comments

It's time for modern CSS to kill the SPA

https://www.jonoalderson.com/conjecture/its-time-for-modern-css-to-kill-the-spa/
438•tambourine_man•11h ago•247 comments

Show HN: Auto Favicon MCP Server

https://github.com/dh1011/auto-favicon-mcp
7•dh1011•1h ago•0 comments

Users claim Discord's age verification can be tricked with video game characters

https://www.thepinknews.com/2025/07/25/discord-video-game-characters-age-verification-checks-uk-online-safety-act/
32•mediumdeviation•4h ago•17 comments

Simon Tatham's Portable Puzzle Collection

https://www.chiark.greenend.org.uk/~sgtatham/puzzles/
8•sogen•1h ago•2 comments

It's a DE9, not a DB9 (but we know what you mean)

https://news.sparkfun.com/14298
378•jgrahamc•18h ago•244 comments

Never write your own date parsing library

https://www.zachleat.com/web/adventures-in-date-parsing/
174•ulrischa•14h ago•224 comments

Windsurf employee #2: I was given a payout of only 1% what my shares where worth

https://twitter.com/premqnair/status/1948420769945682413
538•rfurmani•1d ago•361 comments

Vanilla JavaScript support for Tailwind Plus

https://tailwindcss.com/blog/vanilla-js-support-for-tailwind-plus
243•ulrischa•14h ago•116 comments

Efficient Computer's Electron E1 CPU – 100x more efficient than Arm?

https://morethanmoore.substack.com/p/efficient-computers-electron-e1-cpu
196•rpiguy•15h ago•69 comments

Why MIT switched from Scheme to Python (2009)

https://www.wisdomandwonder.com/link/2110/why-mit-switched-from-scheme-to-python
216•borski•15h ago•186 comments

Animated Cursors

https://tattoy.sh/news/animated-cursors/
177•speckx•14h ago•38 comments

Experimental surgery performed by AI-driven surgical robot

https://arstechnica.com/science/2025/07/experimental-surgery-performed-by-ai-driven-surgical-robot/
89•horseradish•11h ago•94 comments

Why I Do Programming

https://esafev.com/notes/why-i-do-programming/
9•artmare•2h ago•3 comments

What is X-Forwarded-For and when can you trust it? (2024)

https://httptoolkit.com/blog/what-is-x-forwarded-for/
22•ayoisaiah•2d ago•5 comments

Steam, Itch.io are pulling ‘porn’ games. Critics say it's a slippery slope

https://www.wired.com/story/steam-itchio-are-pulling-porn-games-censorship/
476•6d6b73•16h ago•627 comments

The future is not self-hosted

https://www.drewlyton.com/story/the-future-is-not-self-hosted/
301•drew_lytle•20h ago•283 comments

Developing our position on AI

https://www.recurse.com/blog/191-developing-our-position-on-ai
205•jakelazaroff•2d ago•64 comments

A Union Pacific-Norfolk Southern combination would redraw the railroad map

https://www.trains.com/trn/news-reviews/news-wire/a-union-pacific-norfolk-southern-combination-would-redraw-the-railroad-map/
52•throw0101c•11h ago•81 comments

CO2 Battery

https://energydome.com/co2-battery/
125•xnx•15h ago•112 comments

Women dating safety app 'Tea' breached, users' IDs posted to 4chan

https://www.404media.co/women-dating-safety-app-tea-breached-users-ids-posted-to-4chan/
414•gloxkiqcza•16h ago•527 comments

Programming vehicles in games

https://wassimulator.com/blog/programming/programming_vehicles_in_games.html
263•Bogdanp•17h ago•59 comments

Generic Containers in C: Vec

https://uecker.codeberg.page/2025-07-20.html
18•uecker•3d ago•14 comments

Researchers value null results, but struggle to publish them

https://www.nature.com/articles/d41586-025-02312-4
111•Bluestein•2d ago•41 comments

Steve Jobs' cabinet

https://perfectdays23.substack.com/p/steve-jobs-cabinet
74•padraigf•3d ago•62 comments

Show HN: Apple Health MCP Server

https://github.com/neiltron/apple-health-mcp
174•_neil•2d ago•35 comments

Show HN: Open IT Maintenance Planner

https://maintenance-planner.vangemert.dev/
9•spmvg•2d ago•3 comments
Open in hackernews

Asciinema: Record and share your terminal sessions

https://asciinema.org
245•phendrenad2•1d ago

Comments

taoh•1d ago
We use asciinema to record CLI tools terminals and add the recordings as svg to our README. We also use the recordings to replay as part of our CI. works great!
iib•1d ago
How do you use the recordings as part of the CI?
taoh•1d ago
We made a tool using termsvg: https://github.com/DeepGuide-Ai/dg. It'll use recorded sessions and execute the non-interactive sessions during CI.
kragen•1d ago
That sounds cool! An animated SVG? How do you convert to SVG format?
_ache_•1d ago
svg-term-cli I think. I found a post talking about it not long ago.

https://github.com/marionebl/svg-term-cli

taoh•1d ago
We use termsvg to convert cast to svg automatically. The tool is open source: https://github.com/DeepGuide-Ai/dg.
kragen•1d ago
Thanks! I hadn't heard of it!
kragen•7h ago
Upon investigation, both dg and svg-term-cli output SVG with embedded CSS animation. So it's not that SVG supports animation per se. This also remodels my understanding of what CSS animation can do.
meowface•1d ago
I wish it supported easy export to MP4.
taoh•1d ago
It should be pretty easy to export to MP4, but using SVG will be lighter and faster, which is why we created the dg tool to automatically export to SVG. Please see my previous comments if interested
jasonjmcghee•1d ago
You can do it in two commands, but not ideal to need gif as stopgap.

    agg demo.cast demo.gif
    ffmpeg -i demo.gif demo.mp4
kragen•1d ago
I've found asciinema pretty cool and recorded a few recordings of things I've done, like some experimental Emacs commands, a computer algebra system, a Unicode Tetris game in ARM assembly, and a minimal roguelike: https://asciinema.org/~kragen. These are not the most spectacular recordings on the site, but I have found them a useful way to communicate ideas.

I wish there was some kind of voiceover support.

One thing to be aware of before you try it is that, if you make a recording without providing a filename for it, it uploads it by default to the web site, even if you haven't created an account yet, though it doesn't make it public. So maybe don't record anything you have a responsibility of confidentiality for, or patch out that feature.

nostoneunturned•1d ago
That is so shady.
kragen•1d ago
It's kind of justifiable in the sense that it's more convenient in the usual case. You say `asciinema rec`, do your thing, and then you have a secure URL to share with somebody, and you can make it public with a couple more clicks.

Actually I think this has changed, because when I tried this just now, it asked me

   (s)ave locally, (u)pload to asciinema.org, (d)iscard
   [s,u,d]? u
which is a little more friction but probably a safer default.
junon•23h ago
I can see why you think that but Asciinema's whole original purpose was to share quick recordings. IIRC you actually had to go out of your way to just save locally, as it's main advertised and very obvious functionality was that it was uploaded. They've since made things a little more flexible, but I don't perceive it as being shady. If you used it you were most likely after that functionality.
Aurornis•16h ago
It was developed as a tool for the website, not a general purpose screen recording tool.

The latest version has evolved to be more general purpose without assuming the upload.

homebrewer•1d ago
Since 3.0 (Rust rewrite that is already shipped by Arch et al), the filename argument is required, and it simply saves it locally by default without even asking to upload.

upload is a separate command.

seansh•23h ago
If you want voiceover and more you might wanna check out CodeMic.io.
kragen•11h ago
That's not just proprietary, it's surveillance capitalism. "Subscribe for early access and monthly progress updates." You should be embarrassed for posting that kind of filth on a thread about asciinema, which is a free-software program that works offline and has strict privacy protections.

Also, codemic.io seems to be oriented toward full-motion video, so aside from the authoritarianism issues, it's not even related.

theraven•1d ago
I’ve moved over to using vhs https://github.com/charmbracelet/vhs
eddieh•1d ago
Looks cool, but produce GIFs? Asciinema is text based IIRC.

The name is the downside of Asciinema IMO. Can’t help but read it as ASCII enema, which is funny, but not what I want think about. Just call it tty-player or something…

hamandcheese•1d ago
Did someone say titty player?
eddieh•1d ago
Touché.
ggaughan•1d ago
vhs can also create video files: https://github.com/charmbracelet/vhs#output
justusthane•19h ago
But the brilliant thing about Asciinema is that the output is just text (JavaScript). You can pause it and copy text from it if you need to, and the filesize is basically nil.
ethan_smith•18h ago
VHS offers a declarative approach with .tape files that makes terminal demos reproducible and version-controllable, plus it generates GIFs without requiring a browser to view the recordings.
Shadowmist•1d ago
| tr : " "
userbinator•1d ago
Useful tool, but I can't help reading the name as "ASCII Enema" every time I see it.
teaearlgraycold•1d ago
Either that or “ass cinema”.
junon•23h ago
AsciiEnema: It even handles the most significant bits.

... I'll see myself out.

kstonekuan•1d ago
Cool, wonder if this could be used to record agentic cli sessions like claude code and gemini cli
scottyeager•1d ago
Yes.
eviks•1d ago
How is this better than basic linear scrollable text? You don't have to waste time waiting for letters to appear at a pace slower than your reading speed. You don't worry about missing a moment and then trying to rewind with the imprecise controls (and you can't use text search to instantly find the word you remember) of broken full-screen button like it's on this website when viewed on a smartphone
jasonjmcghee•1d ago
I generally see it used to demo a TUI, to great effect.
eviks•1d ago
Good point, I mostly remember the cli sequences as shown in the demo (which are only better than the gif alternative). The TUI version should be their primary demo!
WouterSpaak•1d ago
I fully agree, this would be pretty much impossible to demo with just plain text: https://asciinema.org/a/659042
yjftsjthsd-h•1d ago
I assume this plays nice with tuis? Ex. you can use this to record vim, which scrollback doesn't do
stevengoodwin•1d ago
This is a really nice, and very compact, way of demonstrating the terminal in action.

I used it to show off my 2002 version of ASCII pacman game, since no one's going to bother compiling it, and it'll eventually end up with bitrot.

You can see me playing it (really badly!) at https://asciinema.org/a/723703

pi_22by7•1d ago
Nice work on the game! The recording shows it off well. Good thinking using asciinema for this kind of thing.

I'd probably be the idiot who types pacman and wonders why it's trying to update my system instead of starting the game.

justusthane•19h ago
Love it! The Pacman character animation is great.
wkjagt•16h ago
Very cool! I'd love to see the code, if it's shareable.
bytejanitor•1d ago
The upload "feature" is very dangerous.
ku1ik•19h ago
This has been changed. In 2.4 there’s explicit prompt for save/upload/discard. Since 3.0 there’s no auto upload in any form - you always record to a file, and to upload you need to explicitly run `asciinema upload filename`.
benterix•1d ago
The best use case for me is as explained here: https://koaning.io/posts/svg-gifs/
pi_22by7•1d ago
This looks really useful for documentation. The text-based approach seems like a huge advantage over screen recordings. Being able to copy-paste commands from a "video" is brilliant. The privacy concern about auto-uploading is a bit concerning though, glad they added the prompt to choose local vs upload.
xiconfjs•22h ago
yes, but for me [1] it breaks new-lines which where there before in the terminal.

[1] Firefox 141 @ Ubuntu 22.04

tambourine_man•18h ago
I always read it “ASCII Cinema” in my mind, but that’s obviously not correct (they provide the IPA in the first paragraph)
stevenjgarner•23h ago
I am curious about the use cases where a VIDEO recording is inherently more useful than a TEXT recording of a terminal session. I have found simply using:

script session.log

... to be invaluable, especially when documenting commands that will be finding their way into a bash script or when I am collaborating with another person who will always have script available in their terminal but may have restrictions on being able to install asciinema.

justusthane•19h ago
Demoing TUIs
Roark66•22h ago
I like the idea. I haven't used the tool, but what I'd love to (maybe it already does this) is to be able to take a recording and turn it into a text document showing what to run, what output to expect and so on.

Something that lets one turn a terminal recording into a document showing how to redo that thing without having to watch a video and no need to copy/paste between terminal and text editor, take screenshots and such.

Maybe this could be achieved by recording in a human readable file format and then running it via an LLM with right prompt.

Then I'd like it to record all the time.

I always have a bunch of tmux sessions running. I've set it up to save the history of all sessions, but obviously the history is one file. Something like this could resolve it nicely.

ku1ik•19h ago
You can get a plain text log of a recorded session in several ways.

If you uploaded to asciinema server (e.g. asciinema.org) then you can click on Download and select txt format.

Or, with the CLI 3.0, you can either:

- convert existing cast file to plain text: asciinema convert demo.cast demo.txt

- record directly to plain text: asciinema rec demo.txt

alienbaby•17h ago
ok, but can you take a recording and turn it into a text document showing what to run, what output to expect and so on.

IE: I think the person your replying to would like to have a tool that rebuilds a terminal session as a, for example, step by step guide. Not just grab it as a text file.

minishlink•21h ago
I'm using asciinema on the homepage of https://appzung.com What's also cool about it is that you can easily redact information that you would not want to expose, by simply editing the source text .cast file.
theideaofcoffee•18h ago
The venerable script(1) command has been around since 1979 (via 3.0BSD), and while some of the timestamping (supporting via the -r flag to feed the resultant file into the playback) and other utility functions (replay via -p are much newer, the result is the same. Record to a (mostly) text file to schlep around as needed. And it's normally included by default on most installs, including macos.

There's no upload-to-server functionality unlike asciinema, but that may be a feature for some users.

ku1ik•17h ago
On a related note, asciinema player supports good ol' typescript files produced by the script(1) command.

https://blog.asciinema.org/post/blast-from-the-past/

azemetre•17h ago
Could anyone recommend any plugins that turn asciinema recordings to SVGs that are currently maintained?

I'm aware of this one, which seems to be the only one actively maintained from when I lasted looked:

https://github.com/MrMarble/termsvg

Hoping others have different recommendations.

What would be nice about transforming to SVG is low bandwidth and ease of use for static sites.

zimbatm•15h ago
https://github.com/marionebl/svg-term-cli
dmayle•17h ago
I want to take just a second, not to talk about asciinema itself, but to use asciinema to talk about a project I just discovered recently called carbonyl.

It's a command line web-browser that uses a headless GUI browser (in this case chromium) in order to surf the web and render it to the terminal. brow.sh preceded it (powered by Firefox), but in my testing, carbonyl has much better web support.

In any case, here's a very brief demo: https://asciinema.org/a/HLHWeKE2s5bdyhUGQPBum49kx

It's so short because the bandwidth is high to use it, and asciinema.org rejects casts that are greater than 10MB

electroglyph•13h ago
I have a really simple asciinema implementation at terminoid.com, it may work there. I haven't gotten around to finishing my work on it...
magicalhippo•2h ago
I looked at Carbony not long ago, but as far as I can see it's not been updated for a couple of years?
fduran•16h ago
At SadServers we use Asciinema to record some scenario sessions, this is how we did it: https://github.com/sadservers/sadservers?tab=readme-ov-file#... (we still have some issues to iron out on our side)

The author Marcin is a nice fellow and as a reminder asciinema development relies on donations and sponsorships https://github.com/sponsors/ku1ik

x187463•16h ago
All of the terminal effects I display over at: https://chrisbuilds.github.io/terminaltexteffects/showroom/ were recorded using asciinema and converted to gif use AGG. https://github.com/asciinema/agg

The workflow only takes a few seconds. The .cast file is output to a folder, AGG reads the .cast and creates a gif. AGG has arguments to automatically set the row/column widths and strip inactive time.

I could not find any other solution that produced high quality gifs. Asciinema is awesome.

zimbatm•15h ago
Quality animated SVGs is even better:

https://github.com/marionebl/svg-term-cli

x187463•9h ago
The amount of information the SVG must store to represent the animation actually crashed the application creating it. There’s too much going on in TTE animations.
greazy•8h ago
For a workshop I embedded gifs of cli tools in PowerPoint.

It was great. The PowerPoint acted as both notes for me and the trainees who could refer to them after the workshop finished.

Only issue is I prefer sharing pdf of slide deck but I couldn't workout how to export a pdf with gif and no idea if it's possible to embed a gif in a pdf