frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: PowerKit for Tmux – 32 Plugins

https://github.com/fabioluciano/tmux-powerkit
1•fabioluciano•1h ago
PowerKit is an open-source, modular status bar framework for tmux. It provides 32+ built-in plugins for displaying system information, development context, security status, and media information—all with intelligent caching and a semantic color system.

WHY I BUILT THIS

I was frustrated with the fragmented tmux status bar ecosystem. Most solutions required cobbling together multiple plugins, each with different configuration styles, no caching, and inconsistent theming. I wanted:

1. One framework with consistent configuration across all plugins 2. Smart caching to avoid hammering system calls every status refresh 3. Semantic colors that work across different themes 4. Conditional display - plugins that hide when not relevant (e.g., VPN only shows when connected)

TECHNICAL HIGHLIGHTS

Intelligent Caching: Every plugin has configurable TTL caching. Results are stored in ~/.cache/tmux-powerkit/ with timestamps. Default TTLs are tuned per-plugin based on data volatility—camera/microphone checks every 1s for privacy, while package updates cache for 1 hour.

Semantic Colors: Instead of hardcoding hex values, plugins use semantic names like 'warning' and 'error'. The active theme resolves these at runtime. Switch themes without reconfiguring plugins.

Threshold-Based Colors: Many plugins support multi-tier thresholds. CPU can turn yellow at 70%, red at 90%.

Conditional Display: Plugins intelligently hide when not relevant: - git: only shows in git repositories - vpn: only shows when connected - network: only shows above configurable traffic threshold - camera: only shows when camera is active - kubernetes: can show only when cluster is reachable

PLUGINS (32+)

System Monitoring: cpu, gpu (NVIDIA/AMD/Intel), memory, disk, loadavg, temperature, fan, uptime, brightness

Network: network (bandwidth), wifi (with signal strength), vpn (WireGuard, OpenVPN, Tailscale, etc.), external_ip, ping, ssh, bluetooth, weather

Development Tools: - git: branch with modified repo detection - kubernetes: context/namespace with interactive fzf selectors - cloud: AWS/GCP/Azure context with production warnings - terraform: workspace with production highlighting, OpenTofu support

Security: smartkey - hardware security key detection (YubiKey, SoloKeys, Nitrokey) with "waiting for touch" indicator

Media & Audio: audiodevices (with device switching popup), microphone (with mute toggle), nowplaying (Spotify, Apple Music, MPRIS), volume, camera (privacy indicator)

Package Managers: packages - unified updates for brew, yay, apt, dnf, pacman

Time: datetime, timezones (multiple zones with aliases like nyc, tokyo, london)

INTERACTIVE KEYBINDINGS

prefix + ? : Browse all PowerKit options prefix + K : Kubernetes context selector prefix + N : Kubernetes namespace selector prefix + W : Terraform workspace selector prefix + J/O : Audio input/output device selector prefix + m : Microphone mute toggle prefix + Q : Clear all caches

EXTERNAL PLUGIN INTEGRATION

Wrap any external tmux plugin with PowerKit's styling using the external() function. Supports custom icons, colors, and cache TTL.

INSTALLATION

  set -g @plugin 'fabioluciano/tmux-powerkit'
  set -g @powerkit_theme 'tokyo-night'
  set -g @powerkit_plugins 'datetime,cpu,memory,git,battery'
PLATFORM SUPPORT

Linux: Full support macOS: Full support (some plugins use different backends) BSD: Partial support WSL: Works with Linux-compatible plugins

STACK

Pure shell (bash/zsh compatible). No compiled dependencies. Uses standard Unix tools (df, ps, /proc/*, etc.) with fallbacks per platform.

Themes included: Tokyo Night, Kiribyte. More welcome via PR.

Feedback and contributions welcome. What plugins would be useful for your workflow?

Show HN: Ocean Wave simulation: one-shotted by Gemini 3

1•freakynit•3m ago•0 comments

Humans were making fire 400k years ago, earlier than thought

https://apnews.com/article/britain-archaeology-fire-neanderthals-evolution-suffolk-3698b87f707ac4...
1•gmays•9m ago•0 comments

C2pm-Color to Pixel Map

1•Yukesh_J•11m ago•0 comments

The snail farm don: The most brazen tax avoidance scheme of all time

https://www.theguardian.com/news/ng-interactive/2025/dec/04/the-long-read-snail-farm-tax-avoidanc...
1•gmays•16m ago•0 comments

Measuring the Adoption of TLS ECH and Its Forebear in the Wild (2022)

https://web.archive.org/web/20250701041935/https://link.springer.com/chapter/10.1007/978-3-031-25...
1•1vuio0pswjnm7•18m ago•0 comments

SpaceX Plans to Go Public. Why?

https://arstechnica.com/space/2025/12/after-years-of-resisting-it-spacex-now-plans-to-go-public-why/
1•wintercarver•19m ago•0 comments

Why Private Equity Buyouts Are Taking the Wheel of Indian Businesses

https://taghash.io/blog/why-private-equity-buyouts-are-taking-the-wheel-of-indian-businesses/
1•koolhead17•20m ago•0 comments

The Word, the Name, the Fire (Book)

https://wordnamefire.com/
1•nuevita70•21m ago•1 comments

How I Streamlined My Development Workflow – A Game Changer for Productivity

1•quchao•38m ago•1 comments

When Money Buys Thinking: A New Day in the Life of Developers

https://tamnd.notion.site/2c74b9c1b50d8049b160f073cf773187
1•tamnd•39m ago•0 comments

Show HN: Record iOS Screen with Gestures Included

https://demoscope.app/#ios
1•admtal•45m ago•0 comments

Show HN: MiddleDrag: Three-finger trackpad gestures for middle-click on macOS

https://github.com/NullPointerDepressiveDisorder/MiddleDrag
1•NullPointerDD•46m ago•1 comments

America's Debanking Witch Hunt Finds No Evil

https://www.bloomberg.com/opinion/articles/2025-12-11/debanking-witch-hunt-finds-no-evildoing-in-...
1•petethomas•50m ago•0 comments

Show HN: I got my site down to 237kb by ditching Google Analytics

https://deadstack.net/
1•dreadsword•50m ago•0 comments

Malware found in the subtitles of a fake Leonardo DiCaprio movie torrent

https://www.bitdefender.com/en-us/blog/labs/fake-leonardo-dicaprio-movie-torrent-agent-tesla-powe...
3•CGMthrowaway•52m ago•1 comments

Monumental snake engravings of the Orinoco River (2024)

https://www.cambridge.org/core/journals/antiquity/article/monumental-snake-engravings-of-the-orin...
1•bryanrasmussen•52m ago•0 comments

Rethinking armed group control (2022)

https://odi.org/en/publications/rethinking-armed-group-control/
1•bryanrasmussen•54m ago•0 comments

Modos open source e-paper monitor development update

https://www.crowdsupply.com/modos-tech/modos-paper-monitor/updates/highlights-certifications-and-...
2•Curiositry•57m ago•0 comments

Untreated sleep apnea raises risk of Parkinson's, study finds

https://medicalxpress.com/news/2025-11-untreated-apnea-parkinson.html
2•PaulHoule•58m ago•0 comments

Gemini model that would train on all gmail

1•orena•58m ago•0 comments

Show HN: Advent of Acro – A frameworkless PHP/JS video advent-calendar

https://advent.vs.digital/
1•schuhwerk•59m ago•0 comments

Google is building an experimental new browser and a new kind of web app

https://www.theverge.com/tech/842000/google-disco-browser-ai-experiment
4•cryptoz•1h ago•1 comments

Show HN: UJAS – An open-source hiring platform (like WordPress for hiring)

https://github.com/gemini45840-cmyk/UJAS
1•jayteetech•1h ago•0 comments

Mark V Shaney

https://en.wikipedia.org/wiki/Mark_V._Shaney
1•djoldman•1h ago•0 comments

Mercury Personal Banking

https://mercury.com/personal-banking
4•gregimba•1h ago•7 comments

Historic Flooding in Western Washington

https://www.kuow.org/stories/go-now-100-000-evacuated-in-historic-skagit-flood
2•measurablefunc•1h ago•0 comments

Mathgpt.today for Discord

https://mathgpt.today/
1•umeedsto•1h ago•1 comments

6.7 Magnitude Earthquake Strikes Off Northeast Japan

https://www.newsweek.com/6-7-magnitude-earthquake-strikes-off-northeast-japan-11199276
3•ls-a•1h ago•1 comments

Rescued at Sea: How Venezuela's Machado Survived the Riskiest Leg of Her Escape

https://www.wsj.com/world/americas/rescued-at-sea-how-venezuelas-machado-survived-the-riskiest-le...
1•petethomas•1h ago•1 comments

Jonathan Blow has spent the past decade designing 1,400 puzzles for you

https://arstechnica.com/gaming/2025/12/jonathan-blow-has-spent-the-past-decade-designing-1400-puz...
3•furcyd•1h ago•0 comments