frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Checkpac – Fast unified search for Arch packages

https://github.com/zeroz41/checkpac
4•unholytd•5mo ago

Comments

unholytd•5mo ago
I built checkpac because I was tired of the package search fragmentation in Arch Linux. The Problem: Want to know what packages you have installed that match "wine"? Which ones have updates? What else is available? Good luck - you'll need to run 4-5 different commands and piece together the results: pacman -Q (shows installed), pacman -Ss (searches repos but mixes everything together), yay -Ss (searches everything but the output is chaos), checkupdates (only shows updates).

There's no simple way to answer "show me everything about packages matching X" without juggling multiple tools. What checkpac does: One command gives you everything, clearly categorized. Run "checkpac firefox" to see what you have installed with update status. Add -r like "checkpac -r wine" to also see what's available to install. Use -d to search descriptions like "checkpac -rd compression". The terminal output is designed to be instantly readable. Green checkmarks for installed packages, red X's for not installed. Package names are color-coded by source (red for core, green for extra, cyan for multilib, yellow for AUR). Version numbers appear in cyan. Most importantly, outdated packages get a yellow warning triangle with an update arrow showing "v1.2.3 → v1.2.4" so you can immediately spot what needs updating. Each package shows its description in dim text for context.

It separates and organizes results by source and status: Official Installed (packages from core/extra/multilib with update status), AUR Installed (your AUR packages also with update checks), Official Available (what's in the repos you could install, shown with -r), and AUR Available (what's in the AUR you could grab, also shown with -r).

Every package shows its version number and checkpac actually compares your installed versions against the remote repositories in real-time - not just cached data. The color highlighting and visual indicators make it obvious at a glance what's installed, what's outdated, and what's available. No more parsing walls of text or guessing package states.

The technical approach: Uses bash associative arrays (hashmaps) for O(1) package lookups instead of searching through lists repeatedly. One expac call grabs all package metadata upfront rather than querying repeatedly. Caches everything in memory to avoid repeated disk hits. Makes parallel AUR API calls when checking for updates against live AUR data. The whole thing is about 400 lines of bash plus expac, curl, and jq.

Other useful features: The -e flag for exact name matches only. Use --exclude-aur or --exclude-arch if you want to filter by source. Handles both installed and available packages in a single search. Shows real-time update status for everything including AUR packages by checking against remote sources. Get it from GitHub at https://github.com/zeroz41/checkpac or install from the AUR at https://aur.archlinux.org/packages/checkpac

Omarchy First Impressions

https://brianlovin.com/writing/omarchy-first-impressions-CEEstJk
1•tosh•4m ago•0 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
1•onurkanbkrc•5m ago•0 comments

Show HN: Versor – The "Unbending" Paradigm for Geometric Deep Learning

https://github.com/Concode0/Versor
1•concode0•6m ago•1 comments

Show HN: HypothesisHub – An open API where AI agents collaborate on medical res

https://medresearch-ai.org/hypotheses-hub/
1•panossk•9m ago•0 comments

Big Tech vs. OpenClaw

https://www.jakequist.com/thoughts/big-tech-vs-openclaw/
1•headalgorithm•11m ago•0 comments

Anofox Forecast

https://anofox.com/docs/forecast/
1•marklit•12m ago•0 comments

Ask HN: How do you figure out where data lives across 100 microservices?

1•doodledood•12m ago•0 comments

Motus: A Unified Latent Action World Model

https://arxiv.org/abs/2512.13030
1•mnming•12m ago•0 comments

Rotten Tomatoes Desperately Claims 'Impossible' Rating for 'Melania' Is Real

https://www.thedailybeast.com/obsessed/rotten-tomatoes-desperately-claims-impossible-rating-for-m...
3•juujian•14m ago•1 comments

The protein denitrosylase SCoR2 regulates lipogenesis and fat storage [pdf]

https://www.science.org/doi/10.1126/scisignal.adv0660
1•thunderbong•15m ago•0 comments

Los Alamos Primer

https://blog.szczepan.org/blog/los-alamos-primer/
1•alkyon•18m ago•0 comments

NewASM Virtual Machine

https://github.com/bracesoftware/newasm
1•DEntisT_•20m ago•0 comments

Terminal-Bench 2.0 Leaderboard

https://www.tbench.ai/leaderboard/terminal-bench/2.0
2•tosh•20m ago•0 comments

I vibe coded a BBS bank with a real working ledger

https://mini-ledger.exe.xyz/
1•simonvc•21m ago•1 comments

The Path to Mojo 1.0

https://www.modular.com/blog/the-path-to-mojo-1-0
1•tosh•23m ago•0 comments

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
5•sakanakana00•27m ago•0 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•29m ago•0 comments

Hot Reloading in Rust? Subsecond and Dioxus to the Rescue

https://codethoughts.io/posts/2026-02-07-rust-hot-reloading/
3•Tehnix•30m ago•1 comments

Skim – vibe review your PRs

https://github.com/Haizzz/skim
2•haizzz•31m ago•1 comments

Show HN: Open-source AI assistant for interview reasoning

https://github.com/evinjohnn/natively-cluely-ai-assistant
4•Nive11•31m ago•6 comments

Tech Edge: A Living Playbook for America's Technology Long Game

https://csis-website-prod.s3.amazonaws.com/s3fs-public/2026-01/260120_EST_Tech_Edge_0.pdf?Version...
2•hunglee2•35m ago•0 comments

Golden Cross vs. Death Cross: Crypto Trading Guide

https://chartscout.io/golden-cross-vs-death-cross-crypto-trading-guide
3•chartscout•38m ago•0 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
3•AlexeyBrin•40m ago•0 comments

What the longevity experts don't tell you

https://machielreyneke.com/blog/longevity-lessons/
2•machielrey•42m ago•1 comments

Monzo wrongly denied refunds to fraud and scam victims

https://www.theguardian.com/money/2026/feb/07/monzo-natwest-hsbc-refunds-fraud-scam-fos-ombudsman
3•tablets•46m ago•1 comments

They were drawn to Korea with dreams of K-pop stardom – but then let down

https://www.bbc.com/news/articles/cvgnq9rwyqno
2•breve•49m ago•0 comments

Show HN: AI-Powered Merchant Intelligence

https://nodee.co
1•jjkirsch•51m ago•0 comments

Bash parallel tasks and error handling

https://github.com/themattrix/bash-concurrent
2•pastage•51m ago•0 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
2•billiob•52m ago•0 comments

Reverse Engineering Medium.com's Editor: How Copy, Paste, and Images Work

https://app.writtte.com/read/gP0H6W5
2•birdculture•57m ago•0 comments