frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Asciinema CLI 3.0 rewritten in Rust, adds live streaming, upgrades file format

https://blog.asciinema.org/post/three-point-o/
185•ku1ik•3h ago

Comments

el_don_almighty•1h ago
I, for one, look forward to our new RUST overlords...
simlevesque•1h ago
The live btop demo is really cool !

Congrats on shipping.

ericdotlee•1h ago
My favorite elixir project of all time now written in Rust.

Love to see it.

Have you guys added the ability to cleanse / watch command strings for sensitive items like secrets, keys etc? Seems easier than ever with advances in lightweight LLMs.

nixosbestos•1h ago
> Have you guys added the ability to cleanse / watch command strings for sensitive items like secrets, keys etc? Seems easier than ever with advances in lightweight LLMs.

Please this has to be satire, right?

telotortium•1h ago
Why would it be satire? Seems like a real use case
data-ottawa•1h ago
It would be nice to censor my username from the prompt without changing my shell prompt.

No idea if it does this already though.

rererereferred•46m ago
Some games have this feature called "streamer mode", where some text that would normally be on screen is removed, like username or party codes. Makes sense for a terminal to do the same for other sensitive data.
kevincox•23m ago
Would actually be nice to standardize an environment variable for this. Obviously not something that you should rely upon when running random tools but can be a nice failsafe.
jen20•1h ago
> My favorite elixir project of all time now written in Rust.

It was written in Python before, no?

PufPufPuf•1h ago
Yes, it's right there in the article.
jen20•57m ago
Indeed - it was an invitation to the original commenter to clarify what they thought Elixir had to do with it...
ku1ik•39m ago
The CLI has been rewritten in Rust. The server is still Elixir/Phoenix - perfect for this feature.
tanelpoder•1h ago
Asciinema is one of the best products/tools I’ve ever used. I mean the auth/upload CLI flow is so straight to the point and easy to use, despite having to cross a few layers (yep I know other CLIs have something similar, it’s just that Asciinema has never “gotten in my way” when doing something with it)
QuantumNomad_•1h ago
I’ve sometimes heard Twitch streamers mention that they use two computers for streaming. One is the computer you are seeing on stream, and the other computer is running OBS and using a HDMI capture device.

With this new live streaming feature in Asciinema, I could imagine that a small subset of programming streamers could skip buying a HDMI capture device. Specially the kind of developer who works exclusively in the terminal. This small group of people could now stream their terminal from the dev machine to the OBS machine using Asciinema 3, instead of capturing HDMI output.

throawayonthe•1h ago
i think the setup you describe is used primarily to offload video encoding to a second pc, not something programming streamers (not running graphically intensive games) probably need not concern themselves with it
haunter•1h ago
That shouldn’t really matter for asciicinema streaming which 0 effect on any kind of performance.

The 2 device setup for game streaming was born because of the heavy CPU usage of x264 encoding. So you could have a PC for the game only while the streamig PC takes the encoding load.

But even then nowadays a lot of people moved on from that since you can use your GPU for encoding (Nvidia NVENC) which almost has 0% overhead and providing the same or slightly worse quality. Really OBS x264 should be only used for offline video recording say for a Youtube video

roganartu•1h ago
Another feature of this is that if your primary PC crashes, which happens sometimes especially with some games, your stream doesn’t go down too. This is more important for streams with more viewers and longer runtimes, as restarting the stream drops all the AFK viewers who may still be contributing ad revenue (or just boosting active viewer count which has other flow on benefits too).

You can see this effect in long streamathons/subathons as twitch automatically kills long streams so you’ll see multiday streams get cut up either manually by streamers or automatically by twitch every 24h or so, and the viewer count drops significantly and takes quite some time (many hours) to recover.

magicalhippo•1h ago
YouTube recompresses everything anyway so I found the higher quality you upload the better the result, especially for complex stuff like high-paced gameplay.

And at very high bitrates nvenc quality is just fine. It's mostly at the lower bitrates x264 really shines.

Of course for livestreaming there are different constraints.

0x457•1h ago
Twitch streamers do that because they are streaming GPU intensive workload (video game) that would compete with streaming software for GPU resources.

It also prevents driver crash caused by a video game to crash a stream.

QuantumNomad_•1h ago
Yeah that makes sense. I was thinking that the two computer setup was also something they did to keep their streaming stuff completely separate from the rest of their life, to not accidentally doxx themselves on-stream and to not accidentally execute malware on the same host they do their email and banking etc on.
rmccue•17m ago
Additionally, running on a different computer allows for eg adjusting scenes in OBS or moderating Twitch, without losing focus from the running app/game.
x187463•1h ago
Asciinema is awesome. I use it to capture all of the demos for TerminalTextEffects. Their Asciinema GIF Generator tool (AGG) produces high quality terminal recording GIFs by processing the asciicast file. This is the best solution I've found for producing short terminal recordings that can be shared in a README/docs as seen in the TerminalTextEffects repo/docs.

Using the raw file output and/or termsvg type solutions do not work for TTE due to the huge amount of data being written to stdout.

https://docs.asciinema.org/manual/agg/

https://github.com/ChrisBuilds/terminaltexteffects

echelon•53m ago
I just wanted to say this is absolutely gorgeous. I don't know if I have a use for this, but I love it and please keep doing this. It's mesmerizing and beautiful.

TTE reminds me of Compiz window manager from eons ago, the thing that got me to ditch Windows for Linux, except for the terminal.

Is there a way you can add something like TTE to tmux or vim as a screen saver or something that would trigger occasionally but not all the time? Do you pipe it? Make aliases?

How do you typically use it? What was your intent when you first wrote it, and what do you use it for now?

Keep it up!

fitsumbelay•52m ago
whoa the live streaming is a game changing game changer no Twitch content pun intended (tho possibly maybe it was ...)
jsheard•51m ago
> introducing terminal live streaming

Now we just need someone to develop ASCII-art vtuber avatars which overlay on top of the terminal.

tracker1•28m ago
Max Headroom v0.2
alkh•50m ago
This is great, congrats for such a huge accomplishment!

My only wish is if asciinema natively supported saving into svg or gif. This would allow you to easily add it to markdown files without the need to install side apps to convert the output to those formats.

renewiltord•48m ago
Wow nice release. Particularly impressive is the demo live stream of btop!
ku1ik•29m ago
asciinema.org is currently being hugged to death! The btop stream is from one of the servers, currently reporting 95% CPU usage: https://asciinema.org/s/olesiD03BIFH6Yz1

But it's chugging along!

asciinema server is Elixir/Phoenix, runs on BEAM, and even with lots of connections and high CPU usage it serves request fine. Power of the BEAM. Phew.

Currently it runs on just 2 VMs, 2 GB of RAM each, so I will probably need to scale it up very soon anyway :)

AbuAssar•29m ago
Asciinema was previously written in python
sensodine•27m ago
I'm a huge fan of Asciinema, and this is awesome work.

Regarding the live streaming feature, I hacked a similar thing on top of s2.dev streams[1] (disclaimer: I am a co-founder), which could alleviate the need for a relay in this architecture[2]. Naturally showing off `btop` was the highlight for me as well :-D.

[1]: https://s2.dev/blog/s2-term [2]: https://docs.asciinema.org/manual/server/streaming/#architec...

xyst•23m ago
The power of rust and proper architecture allows an underpowered 2 vCPU VM to stream contents to hundreds of people.

Hosting a website on a disposable vape

https://bogdanthegeek.github.io/blog/projects/vapeserver/
158•BogdanTheGeek•1h ago•281 comments

Wanted to spy on my dog, ended up spying on TP-Link

https://kennedn.com/blog/posts/tapo/
125•kennedn•2h ago•32 comments

PayPal to support Ethereum and Bitcoin

https://newsroom.paypal-corp.com/2025-09-15-PayPal-Ushers-in-a-New-Era-of-Peer-to-Peer-Payments,-...
209•DocFeind•5h ago•139 comments

Addendum to GPT-5 system card: GPT-5-Codex

https://openai.com/index/gpt-5-system-card-addendum-gpt-5-codex/
12•wertyk•23m ago•0 comments

Launch HN: Trigger.dev (YC W23) – Open-source platform to build reliable AI apps

83•eallam•3h ago•34 comments

How big a solar battery do I need to store all my home's electricity?

https://shkspr.mobi/blog/2025/09/how-big-a-solar-battery-do-i-need-to-store-all-my-homes-electric...
149•FromTheArchives•6h ago•231 comments

CubeSats are fascinating learning tools for space

https://www.jeffgeerling.com/blog/2025/cubesats-are-fascinating-learning-tools-space
118•warrenm•5h ago•52 comments

Boring work needs tension

https://iaziz786.com/blog/boring-work-needs-tension/
44•iaziz786•3h ago•29 comments

Asciinema CLI 3.0 rewritten in Rust, adds live streaming, upgrades file format

https://blog.asciinema.org/post/three-point-o/
186•ku1ik•3h ago•33 comments

How to self-host a web font from Google Fonts

https://blog.velocifyer.com/Posts/3,0,0,2025-8-13,+how+to+self+host+a+font+from+google+fonts.html
67•Velocifyer•4h ago•66 comments

Self-Assembly Gets Automated in Reverse of 'Game of Life'

https://www.quantamagazine.org/self-assembly-gets-automated-in-reverse-of-game-of-life-20250910/
25•kjhughes•3d ago•0 comments

RustGPT: A pure-Rust transformer LLM built from scratch

https://github.com/tekaratzas/RustGPT
302•amazonhut•9h ago•147 comments

AOMedia Announces Year-End Launch of Next-Gen Video Codec AV2

https://aomedia.org/press%20releases/AOMedia-Announces-Year-End-Launch-of-Next-Generation-Video-C...
18•future10se•1h ago•5 comments

A string formatting library in 65 lines of C++

https://riki.house/fmt
28•PaulHoule•3h ago•10 comments

Show HN: AI-powered web service combining FastAPI, Pydantic-AI, and MCP servers

https://github.com/Aherontas/Pycon_Greece_2025_Presentation_Agents
12•Aherontas•21h ago•2 comments

Microsoft to force install the Microsoft 365 Copilot app in October

https://www.bleepingcomputer.com/news/microsoft/microsoft-to-force-install-the-microsoft-365-copi...
109•mikece•2h ago•77 comments

Researchers revive the pinhole camera for next-gen infrared imaging

https://phys.org/news/2025-09-revive-pinhole-camera-gen-infrared.html
14•wglb•3d ago•1 comments

Removing newlines in FASTA file increases ZSTD compression ratio by 10x

https://log.bede.im/2025/09/12/zstandard-long-range-genomes.html
196•bede•3d ago•78 comments

Programming Deflation

https://tidyfirst.substack.com/p/programming-deflation
86•dvcoolarun•4h ago•56 comments

Calif. construction worker unofficially broke a fabled world record

https://www.sfgate.com/sports/article/alo-slebir-mavericks-big-wave-surf-record-21041864.php
4•danielmorozoff•2d ago•1 comments

Show HN: Daffodil – Open-Source Ecommerce Framework to connect to any platform

https://github.com/graycoreio/daffodil
39•damienwebdev•4h ago•3 comments

Folks, we have the best π

https://lcamtuf.substack.com/p/folks-we-have-the-best
274•fratellobigio•11h ago•74 comments

The Mac App Flea Market

https://blog.jim-nielsen.com/2025/mac-app-flea-market/
234•ingve•11h ago•106 comments

Apple has a private CSS property to add Liquid Glass effects to web content

https://alastair.is/apple-has-a-private-css-property-to-add-liquid-glass-effects-to-web-content/
227•_alastair•4h ago•139 comments

Language models pack billions of concepts into 12k dimensions

https://nickyoder.com/johnson-lindenstrauss/
324•lawrenceyan•15h ago•113 comments

Creating a VGA Signal in Hubris

https://lasernoises.com/blog/hubris-vga/
26•lasernoises•4h ago•6 comments

Show HN: Semlib – Semantic Data Processing

https://github.com/anishathalye/semlib
42•anishathalye•5h ago•10 comments

Death to type classes

https://jappie.me/death-to-type-classes.html
97•zeepthee•3d ago•60 comments

A qualitative analysis of pig-butchering scams

https://arxiv.org/abs/2503.20821
174•stmw•15h ago•98 comments

Show HN: MCP Server Installation Instructions Generator

https://hyprmcp.com/mcp-install-instructions-generator/
7•pmig•4h ago•0 comments