OFFMYPORT

Violently evict processes from your ports

macOS ๐Ÿง Linux ๐ŸชŸ Windows
CAUTION: CONTAINS SHARP OBJECTS /// HANDLE WITH CARE /// MAY CAUSE PROCESS TERMINATION ///

๐Ÿ’€ THE PROBLEM

You're a developer. Port 3000 is haunted by a ghost process. You try to remember the incantation...

$ lsof -i :3000 | grep LISTEN | awk '{print $2}' | xargs kill -9
// *stares blankly at screen* // *googles it for the 47th time*

๐Ÿ”ช THE SOLUTION

Just type offmyport and stab that process right in its PID.

Get The Weapon

# The blessed way (bun gang rise up)
bun install -g offmyport
# The npm way (we don't judge)
npm install -g offmyport
# Just wanna try it? Go wild
npx offmyport

Usage Guide

# List all ports, pick your victim
$ offmyport

# Target a specific port
$ offmyport 3000

# Mass murder (multiple ports)
$ offmyport 80,443,8080

# Rampage mode (port range)
$ offmyport 3000-3010

# Skip the pleasantries, just kill
$ offmyport 3000 --kill --force
Sent SIGKILL to PID 12345 (node on port 3000)
// rest in peace, little process

Arsenal

๐ŸŽฏ

Interactive TUI

Arrow keys to pick, enter to execute. No memorization required.

โšก

Lightning Fast

Built with Bun. Faster than your processes can run away.

๐ŸŽญ

Choose Your Violence

SIGTERM for the merciful. SIGKILL for the ruthless.

๐Ÿ“‹

JSON Output

For when you need to pipe the carnage elsewhere.

๐Ÿ”ฅ

Batch Mode

--kill --force for scripting your chaos.

๐ŸŒ

Cross-Platform

Stab processes on macOS, Linux, or Windows.

๐Ÿ”ช NO MORE GOOGLING LSOF ๐Ÿ”ช NO MORE NETSTAT ๐Ÿ”ช NO MORE CRYING ๐Ÿ”ช JUST PURE PORT LIBERATION ๐Ÿ”ช

Cheat Sheet

--json Output as JSON (for scripting)
--kill, -k Non-interactive kill mode
--force, -f Skip confirmation (dangerous!)
--version, -v Show version
--help, -h Show help
--murder ???
0
lsof flags memorized
โˆž
processes terminated
100%
port liberation rate
    ___________
   /           \
  /  GET OFF    \
 |   MY PORT!   |
  \   ๐Ÿ”ช๐Ÿ”ช๐Ÿ”ช   /
   \___________/