Menu

libtmux-ts 0.1 - TypeScript Client for tmux
📰

libtmux-ts 0.1 - TypeScript Client for tmux

#typescript#reddittypescript#user#full#server
Reading 0:00
15s threshold

I maintain libtmux , the Python library that's been around since 2016, and am porting it to more languages. This is the TypeScript / Node.js port. In many ways, this is more capable than the current Python implementation.

One of the main ways it differs is keeping immutable snapshots and typed querying of the tmux object graph (Server, Session, Window, Pane). It also supports tmux's control mode and batching of operations. Architecturally, libtmux for Python would have to break its API to adopt this snapshot model. For other libtmux ports, they don't have the encumbrance of worrying about API breakages to downstream users.

A word on AI: This project is experimental, and I used LLMs extensively to build it (with zero runtime dependencies and automated tests against live tmux(1) servers).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.