- 01
You know who opened each port
doki looks for the agent the process descends from. If there is none, it uses the agent working in that folder.
- 02
What each one uses
Every card shows live CPU and memory. At the top you see the number of servers and the memory they use together.
- 03
Open, copy or stop
One button opens the server in your browser. Another stops it; if it doesn’t respond, a second click forces it to quit.
- 04
On your other machines too
Servers on your machines over SSH show up below, and doki opens a tunnel so you can see them from your Mac.
Grouped by the agent that started them
Your Mac’s servers are grouped by agent, most recent first. Each group shows the agent’s name, its project and a link to its conversation.
Anything no agent doki sees opened goes last, under Other servers. A server that just came up is marked as new.
The same servers show up as small tags next to each agent in the Inbox, so you can open them without going to Ports.
- At the top, four numbers: servers, how many are frontend, backend and data, agents with servers, and memory in use.
- Each card says whether the server is local only or open on your network.
- Network copies its local network address, to open it from your phone or another device on your network.
dokiMacBook ProPorts on your other machines
Below your Mac comes every machine you connect over SSH, Linux or macOS, with its own servers. doki reads them over a single connection and installs nothing there.
When you press Open, doki makes an SSH tunnel to your Mac and opens the server on localhost. The other servers from the same session come along, so a web app that calls its API keeps working.
For a database, Tunnel brings it to localhost and you connect with your usual client. When you’re done, you close the tunnel from the same card.
dokiservidor-prodMachines
A list without noise
By default doki hides system processes that listen on a port. If you want to see them, turn on Show system processes.
A port you don’t care about can be hidden from its menu. Restore hidden brings them back.
On the Mac, each card’s menu also opens the project folder in Finder. And if you turn it on, the ports notch puts how many servers you have and how much memory they use next to the camera.
How to start
Open Ports in doki
It’s in the Mac’s sidebar and in doki in the browser. There’s nothing to set up.
Let your agents work
When one starts a server, it shows up in its group with the port and what it uses.
Open it or stop it
Press Open to see it in the browser, or the red button to stop it when you no longer need it.
Frequently asked questions
How does doki know which agent started a server?
It walks up the server’s parent processes until it finds an agent. If there is none, it assigns it to the most recent agent working in the same folder or a parent folder.
What happens when I stop a server?
doki asks it to quit. If it stays up, a second click forces it. On another machine it does the same over SSH.
Can I see the servers on a Linux box?
Yes, if you connect it as a machine over SSH. doki reads its ports and opens a tunnel so you can see them from your Mac.
Does Ports work in the browser?
Yes. doki in the browser has the same screen: view, stop, hide, restore and system processes. Tunnels only work from the Mac.
Do I have to tell doki which ports to watch?
No. doki sees everything listening on your Mac and recognizes the most common frameworks and services by their process.