I wanted my Codex pet to live in VS Code.
▲ 2 r/vscode

I wanted my Codex pet to live in VS Code.

I mainly use Codex through the VS Code extension, and I really like the pet feature in the ChatGPT app.

But since I spend most of my time in VS Code, keeping the ChatGPT app open just for the pet felt a bit unnecessary — especially on Windows. So I made a small VS Code extension that brings the Codex pets directly into the editor.

It uses Codex hooks to react to what Codex is doing — idle, running, waiting, review, failed, etc. You can also choose from different pets and backgrounds.

Nothing fancy, just a little extension for people who like the Codex pets but spend most of their time in VS Code.

Marketplace:
https://marketplace.visualstudio.com/items?itemName=yutat23.pet-viewer-for-codex

GitHub:
https://github.com/yutat23/pet-viewer-for-codex

u/magipsy — 2 days ago
▲ 83 r/tui

lsoff — Who’s using my port?

I shared this over in r/CLI and was really happy with how well it was received, so I figured I’d share it here too.

lsoff is a small cross-platform CLI/TUI for checking which processes are listening on TCP/UDP ports.

Run it with no arguments and you get a TUI where you can search, sort, inspect processes, and kill them if needed. It works on Windows, Linux, and macOS.

I did put some extra care into process termination. it tries to verify that the process is still the same one you originally selected instead of blindly trusting a PID.

I’ve also been improving the TUI based on feedback. j/k navigation, x to kill, expandable sockets for the same PID, and a cleaner shortcut footer.

Homebrew tap support was added recently too.

GitHub:

https://github.com/yutat23/lsoff

Feedback on the TUI/UX is very welcome!

u/magipsy — 4 days ago
▲ 158 r/CLI

lsoff — Who’s using my port?

It’s a really small cross-platform tool for checking listening TCP/UDP ports.

Run it with no arguments and you get a TUI where you can browse, search, sort, inspect, and kill processes interactively.

Or keep it simple:

> lsoff 8080
PROTO  PORT  ADDRESS  PID    PROJECT  PROCESS  PATH                                       CMD                                 CWD
tcp    8080  0.0.0.0  85783  yuunama  node     /opt/homebrew/Cellar/node/25.5.0/bin/node  node /opt/homebrew/bin/live-server  ~/mywork/yuunama

You can also search by process name, PID, path, command line, project, and more.

I’m sure something similar already exists, but I wanted one simple tool that works the same way on Windows, Linux, and macOS.

I did put some extra care into process termination — it tries to verify that the process is still the same one you originally selected instead of blindly trusting a PID.

https://github.com/yutat23/lsoff

u/magipsy — 6 days ago
▲ 7 r/cursor

I wanted to use Cursor Agent from VS Code, so I built a sidebar for it

I use VS Code a lot, but I also wanted to use Cursor Agent without switching editors, so I made Cursor Agent Sidebar.

It connects to the locally installed Cursor CLI through ACP and lets you use the agent directly from VS Code’s secondary sidebar.

It supports things like Agent / Plan / Ask modes, model switching, @ file references, slash commands, image attachments, permission requests, diff review, and session history.

So if you’d rather stay in VS Code but still want to use Cursor Agent, give it a try!

MarketPlace: https://marketplace.visualstudio.com/items?itemName=yutat23.cursor-agent-sidebar

GitHub: https://github.com/yutat23/cursor-agent-sidebar

Would love to hear what you think!

u/magipsy — 8 days ago
▲ 5 r/CLI

coe — a small cross-platform CLI for testing TCP connections

I made a small TCP client/server CLI called coe.

I originally built it because I wanted an easy way to test devices and protocols that use CR/LF/CRLF terminators, especially on Windows where nc usually isn’t available out of the box.

It supports separate send/receive terminators, hex and byte logging, multiple clients in server mode, escape sequences, and one-shot sends for scripts.

For example:

coe -c 192.168.1.100 8080 -tt CR -rt CRLF

Nothing too fancy, just a small tool for quickly poking at TCP stuff from the terminal.

https://github.com/yutat23/coe

Would love to hear what you think!

u/magipsy — 9 days ago