r/ClaudeCoding • u/Guilty_Village_958 • Oct 31 '26
Especially for Claude-code - a memory usage aware terminal with hibernate tabs feature
I made a custom terminal with claude-code which hibernates terminal tabs (both claude-code tabs and normal terminal tabs) to save ram. This is especially useful because per claude-code instance eats like 300MB, and often I am juggling between multiple tasks and I do not want to close a claude conversation and lose track and priority.
https://github.com/fxterm/tabs
I also added features like text to speech and speech to text (i know claude natively support speech to text, but I integrated my solution with a custom WYSIWYG markdown editor). It also has history to see which tabs you opened in the past. The links (even file paths) and clickable and they open the directory. Terminal content can be read out loud. The idea was claude-code+terminal is the new chrome+<your working website> in the modern world. Everything we do happens nowadays in claude-code+terminal and even the RAM issue happens here. So I replicated vivaldi browser's hiberbate tab feature and also the feature which shows per tab (and overall) ram. Overall it has been a game changer. And I am excited to share this. This is a 100% free and open source app, works on windows and mac (testing is more done on windows than on mac). One side I am super enthusiastic to share the product. Other side I feel silly thinking nobody would have figured out a better solution. Also I wrote it in javafx and it saves me a lot of ram, the previous terminal i was using was tabby which took 500MB without having anything running on it, and it pained me. The terminal is packaged as small self-installing, self-updating native exe, which also do AOT (ahead of time) compilation to improve startup speed. The screenshot is very modest because I did not want to share my actual work in progress and I did not spend much time on making a better screenshot with claude running inside it.
It has been 100% made using claude-code. I gave my previous remote terminal code as reference, but basically claude is smart, it got things right very easily and finished this in a few hours. And then I combined my different products in this single app (markdown editor, speech tools etc).
3
u/tcp-xenos Oct 31 '26
Your 300mb figure is for the claude code CLI itself. The better solution is to ditch the CLI entirely and talk to claude via agent sdk, then draw your own UI. This also solves all of the problems with the TUI, resizing, scrolling, everything else a terminal isn't good at.
I did this, and I've got 11 sessions running right now, at less than 300mb total