top | item 44085796

Show HN: Fwtui – A terminal UI for managing UFW (built with Bubble Tea)

24 points| beny406 | 9 months ago |github.com

I recently started writing Go professionally, after spending several years working mostly in Elm. Coming from Elm, I was naturally drawn to the Bubble Tea framework because of its Elm-like architecture and functional style. That made it a great fit for a hobby project to deepen my Go knowledge.

The result is fwtui – a terminal UI for managing UFW (Uncomplicated Firewall) on Linux.

What it does: Browse, add, and remove firewall rules

Easily apply popular default profiles (e.g., SSH, HTTP, PostgreSQL) or create a custom one

Understandable ports syntax with TCP/UDP support and range validation

No mouse needed – works great over SSH

Built entirely in Go with a focus on simplicity and TUI usability

Repo: https://github.com/Beny406/fwtui

Would love to hear your feedback – especially from other Go or Elm folks!

2 comments

order

christianrocha|9 months ago

Hello from Charm! I've been wanting someone to build this with Bubble Tea for SO long. I'm not on a Linux machine at the moment, but so excited to give this a try when I am.

Anyway, it's nice to hear that the Elm architecture is working for you. If you have any questions about Bubble Tea feel free to jump in Discord: https://charm.sh/chat

beny406|9 months ago

I am glad someone might find it useful. Its my first attempt so I am more than open to any suggestions for improvement.