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
3•fabioluciano•1mo 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?

I Was Trapped in Chinese Mafia Crypto Slavery [video]

https://www.youtube.com/watch?v=zOcNaWmmn0A
1•mgh2•3m ago•0 comments

U.S. CBP Reported Employee Arrests (FY2020 – FYTD)

https://www.cbp.gov/newsroom/stats/reported-employee-arrests
1•ludicrousdispla•5m ago•0 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
1•vladeta•10m ago•1 comments

Show HN: SVGV – A Real-Time Vector Video Format for Budget Hardware

https://github.com/thealidev/VectorVision-SVGV
1•thealidev•12m ago•0 comments

Study of 150 developers shows AI generated code no harder to maintain long term

https://www.youtube.com/watch?v=b9EbCb5A408
1•lifeisstillgood•12m ago•0 comments

Spotify now requires premium accounts for developer mode API access

https://www.neowin.net/news/spotify-now-requires-premium-accounts-for-developer-mode-api-access/
1•bundie•15m ago•0 comments

When Albert Einstein Moved to Princeton

https://twitter.com/Math_files/status/2020017485815456224
1•keepamovin•16m ago•0 comments

Agents.md as a Dark Signal

https://joshmock.com/post/2026-agents-md-as-a-dark-signal/
1•birdculture•18m ago•0 comments

System time, clocks, and their syncing in macOS

https://eclecticlight.co/2025/05/21/system-time-clocks-and-their-syncing-in-macos/
1•fanf2•20m ago•0 comments

McCLIM and 7GUIs – Part 1: The Counter

https://turtleware.eu/posts/McCLIM-and-7GUIs---Part-1-The-Counter.html
1•ramenbytes•22m ago•0 comments

So whats the next word, then? Almost-no-math intro to transformer models

https://matthias-kainer.de/blog/posts/so-whats-the-next-word-then-/
1•oesimania•23m ago•0 comments

Ed Zitron: The Hater's Guide to Microsoft

https://bsky.app/profile/edzitron.com/post/3me7ibeym2c2n
2•vintagedave•26m ago•1 comments

UK infants ill after drinking contaminated baby formula of Nestle and Danone

https://www.bbc.com/news/articles/c931rxnwn3lo
1•__natty__•27m ago•0 comments

Show HN: Android-based audio player for seniors – Homer Audio Player

https://homeraudioplayer.app
2•cinusek•27m ago•0 comments

Starter Template for Ory Kratos

https://github.com/Samuelk0nrad/docker-ory
1•samuel_0xK•29m ago•0 comments

LLMs are powerful, but enterprises are deterministic by nature

2•prateekdalal•32m ago•0 comments

Make your iPad 3 a touchscreen for your computer

https://github.com/lemonjesus/ipad-touch-screen
2•0y•38m ago•1 comments

Internationalization and Localization in the Age of Agents

https://myblog.ru/internationalization-and-localization-in-the-age-of-agents
1•xenator•38m ago•0 comments

Building a Custom Clawdbot Workflow to Automate Website Creation

https://seedance2api.org/
1•pekingzcc•41m ago•1 comments

Why the "Taiwan Dome" won't survive a Chinese attack

https://www.lowyinstitute.org/the-interpreter/why-taiwan-dome-won-t-survive-chinese-attack
2•ryan_j_naughton•41m ago•0 comments

Xkcd: Game AIs

https://xkcd.com/1002/
1•ravenical•42m ago•0 comments

Windows 11 is finally killing off legacy printer drivers in 2026

https://www.windowscentral.com/microsoft/windows-11/windows-11-finally-pulls-the-plug-on-legacy-p...
1•ValdikSS•43m ago•0 comments

From Offloading to Engagement (Study on Generative AI)

https://www.mdpi.com/2306-5729/10/11/172
1•boshomi•45m ago•1 comments

AI for People

https://justsitandgrin.im/posts/ai-for-people/
1•dive•46m ago•0 comments

Rome is studded with cannon balls (2022)

https://essenceofrome.com/rome-is-studded-with-cannon-balls
1•thomassmith65•51m ago•0 comments

8-piece tablebase development on Lichess (op1 partial)

https://lichess.org/@/Lichess/blog/op1-partial-8-piece-tablebase-available/1ptPBDpC
2•somethingp•53m ago•0 comments

US to bankroll far-right think tanks in Europe against digital laws

https://www.brusselstimes.com/1957195/us-to-fund-far-right-forces-in-europe-tbtb
4•saubeidl•54m ago•0 comments

Ask HN: Have AI companies replaced their own SaaS usage with agents?

1•tuxpenguine•57m ago•0 comments

pi-nes

https://twitter.com/thomasmustier/status/2018362041506132205
1•tosh•59m ago•0 comments

Show HN: Crew – Multi-agent orchestration tool for AI-assisted development

https://github.com/garnetliu/crew
1•gl2334•59m ago•0 comments