Kf

Kftui – TUI for managing multiples kubectl port-forwards from terminal

Hacker News

Kftui – TUI for managing multiples kubectl port-forwards from terminal

hey!! wanted to share kftui with you all. it’s a new terminal user interface (tui) tool that's part of the kftray project. built with rust and ratatui framework, basically to handle and manage multiple port-forward configs from the terminal (with some more features than native kubectl port-forward, such as udp port forward tunnels trough k8s cluster to a vpc internal endpoints and the json local file config for bkp and sharing purposes) a brief context of the project: i often needed port forwards for debugging and local dev, plus ssh tunnels for private services in gcp/aws vpcs, which meant running many commands, also native kubectl port-forward wasn’t enough for udp services like statsd. this led to the creation of kftray in december 2023 and the start of kftui development last month. the first version of kftray was super basic and written in go (with fyne) with only features to import configs from a file and start/stop all port forwards at the same time. but i wanted to learn rust and mess around with tauri framework, so i made the first version of kftray with backend in rust / frontend in typescript, and after seeing ppl use and enjoy kftray, i added more features based on their feedback and my personal experience with the app the initial code was messy, but i’ve learned (still learning) and improved it a lot and this personal growth kept me motivated. (though it still has its quirks, lol), last month, i started developing kftui to remove the frontend code complexity and the need for a monitor display to run the app (a headless app). now, kftui is totally independent of the kftray app, but both share the same states. this means that if a json file with all configs is created and exported in the kftray app, it can be imported into kftui and used without any issues. its important to note that right now, kftui is still in beta (maybe even alpha), so there are some limitations and missing features compared to the full kftray desktop app. for example, adding or editing configurations directly from the tui is not possible and some features from the desktop app aren't in kftui, and also github sync and http trace logging features are not implemented yet. but development is ongoing. (for a matrix feature of kftray and kftui please check the blog post). the next goal is to get kftui to run port forwards as a daemon so they can be attached and detached without dropping the tokio TCP sockets. it’s tricky, especially without a background process like a local server process running, but this issue is being worked on. a lot has been learned from this project, skills and knowledge have been gained that i wouldn't have gotten in a day-to-day SRE job, and that's why im going to keep at it. thats it, feedback is super important, so please share thoughts and suggestions hope you find useful :D this is the main repository for both apps, kftray and kftui: https://github.com/hcavarsan/kftray

Share card

Actual performance

3points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: apps, user, new · Missing: mac, agents, macos
91%91% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: created, started · Missing: supports, reddit linkedin, podcasting
87%87% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
60%60% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: personal, apps, month · Missing: mobile apps, ios, entrepreneurs
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: plus, interface · Missing: platform, intuitive, reviews
35%35% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: growth · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Dj
Djoom3 – a doom 3 java port43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Djoom3 – a doom 3 java port

Hacker News1
Op
Opening the Tesla charging port with WebUSB and HackRF37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Opening the Tesla charging port with WebUSB and HackRF

Hacker News2
Bo
BookML – a bookdown flavoured GitBook port for LaTeXML37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

BookML – a bookdown flavoured GitBook port for LaTeXML

Hacker News3
HT
HTML5 port of Civilization 2: MGE60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HTML5 port of Civilization 2: MGE

Hacker News4
Cu
CuTile for Java Port30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CuTile for Java Port

Hacker News4
Ga
Gameboy port of 204841%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gameboy port of 2048

Hacker News7
XM
XMoto Port in HTML5/CoffeeScript52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

XMoto Port in HTML5/CoffeeScript

Hacker News1
Kn
Knockles – eBPF Port Knocking Tool51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Knockles – eBPF Port Knocking Tool

Hacker News76
Relais
Relais35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Port tunneling tools

Indie Hackerscommitment-side-project
Ch
Chocolate Doom Web Port59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chocolate Doom Web Port

Hacker News1