Sunday, February 22, 2026

Heimdall – How a Simple Port Error Turned into My Crazy Terminal Side Project

 

Hey folks,

Everything started because I got so tired of that classic Spring Boot error: “Port already in use”. Every time I had to hunt down the PID in the terminal, kill it manually, and pray it didn’t happen again five minutes later… ugh.

I was fed up scrolling through ss, netstat, lsof, ps — all that noise just to free a port during a busy workday.

Then things got out of hand (in a good way ๐Ÿ˜„).

I started building something small… and it kept growing. Now Heimdall is this beautiful curses-based TUI that watches ports, processes, files, risks — and even runs as a daemon in the background.

The coolest parts right now are Sentinel (it spots shady behavior like backdoors, masquerading processes, deleted binaries, suspicious listeners) and Daemon mode (it quietly monitors suspicious outbound connections, suspends the process, and asks you to allow or kill — either via a popup modal if the TUI is open, or a notification + timeout if not).

Whenever I think “hey, this would be cool to add”, I throw it at an AI agent while I still have tokens left ๐Ÿ˜‚. Sometimes I just feel like the product owner who never stops adding features.

If you want to join the fun, check out the repo: https://github.com/sunels/heimdall

or https://pypi.org/project/heimdall-linux/

Give it a star, try it, break it, send feedback/PRs — I’d love to hear what you think (or what crazy feature I should add next).

Thanks for reading, stay safe out there!

Love, Serkan ❤️


Saturday, January 17, 2026

Linux terminal tool for port process open files

 Interactive terminal-based port, process, file, and resource inspector for Linux


portwitr-interactive is a high-performance, curses-based Terminal User Interface (TUI) designed to give you instant visibility and control over your Linux system — all from a single, interactive view.

Tool for sysadmins and developers

✨ Features

๐Ÿ” Live port listing using ss

⚡ Shows CPU% / MEM% usage per process

๐Ÿง  Maps PORT → PID → PROGRAM

⛔ Firewall toggle for selected port (temporarily block/unblock traffic)

๐Ÿ“‚ Displays all open files of the selected process (/proc/<pid>/fd)

๐Ÿงพ Deep inspection via witr --port

๐Ÿ–ฅ️ Fully interactive terminal UI (curses)

⚡ Real-time refresh

๐Ÿ›‘ Stop a process or systemd service directly from the UI (with confirmation)

๐Ÿ“ Warnings annotation (e.g., suspicious working directory is flagged but explained)


Checkout and Play: https://github.com/sunels/heimdall

Installation: https://github.com/sunels/heimdall?tab=readme-ov-file#-installation

    wget https://github.com/sunels/heimdall/releases/download/v0.1.0/heimdall_0.1.0-1_all.deb
    sudo dpkg -i heimdall_0.1.0-1_all.deb
    Run:
    sudo heimdall
    
    # or just
    heimdall