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
2•unholytd•2h ago

Comments

unholytd•2h 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

RAG Fails on PDF Tables

https://mrm1001.github.io/2025/09/09/ocr-to-rag-for-tables.html
1•mariarmestre•2m ago•0 comments

Five technological achievements (That we won't see any time soon.)

https://crookedtimber.org/2025/09/09/five-technological-achievements-that-we-wont-see-any-time-soon/
1•beardyw•5m ago•0 comments

AST-Grep

https://ast-grep.github.io/
2•tosh•5m ago•0 comments

Choose Your Own Adventure

https://www.filfre.net/2025/09/choose-your-own-adventure/
1•doppp•6m ago•0 comments

Obesity exceeds underweight among school-age children for the first time

https://www.unicef.org/press-releases/obesity-exceeds-underweight-first-time-among-school-age-chi...
1•thm•8m ago•0 comments

What's New in Unicode 17.0

https://blog.emojipedia.org/whats-new-in-unicode-17-0/
1•soheilpro•9m ago•0 comments

Term.everything: Run any GUI app in the terminal

https://github.com/mmulet/term.everything
2•thm•10m ago•0 comments

Gaming laptops that look normal

https://comparelaptopprices.com/blog/gaming-laptops-that-look-normal/
1•mahin•11m ago•0 comments

A multiplayer DOOM-like in pure SQL

https://github.com/cedardb/DOOMQL
1•doppp•14m ago•0 comments

Implement two-phase commit (2pc)

https://github.com/pgdogdev/pgdog/pull/419
1•levkk•16m ago•0 comments

Akin's laws of spacecraft design: 404

https://spacecraft.ssl.umd.edu/old_site/academics/akins_laws.html
1•rufasterisco•16m ago•1 comments

Ruby Executes JIT Code: The Hidden Mechanics Behind the Magic

https://railsatscale.com/2025-09-08-how-ruby-executes-jit-code-the-hidden-mechanics-behind-the-ma...
2•amalinovic•18m ago•0 comments

Ask HN: Is the hn(at)ycombinator.com email for support questions deprecated?

1•42lux•22m ago•2 comments

Show HN: Nano Banana – Tool Built to Push My Own Product Development Skills

https://www.nanobananas.me/
1•Franklinjobs617•24m ago•0 comments

News: Arm announces next Generation core family called Arm Lumex

https://www.phoronix.com/news/Arm-Lumex-Platform-C1
5•HeyMeco•26m ago•2 comments

Show HN: AI image creation that works like chat threads

https://hiflux.ai
1•Ronanxyz•28m ago•0 comments

My Quarterly System Health Check-In

https://blog.nilenso.com/blog/2025/09/05/my-quarterly-system-health-check-in-beyond-the-dashboard/
1•Bogdanp•29m ago•0 comments

Interviewing the couple in the Will Smith AI crowd video

https://waxy.org/2025/09/interviewing-the-couple-in-the-will-smith-ai-crowd-video/
2•tobr•34m ago•0 comments

Show HN: Real-time Collaboration for Django Admin (open-source)

https://github.com/Brktrlw/django-admin-collaborator
1•brktrl•35m ago•0 comments

From Reactive to Predictive: How AI Is Changing DevOps Operations

https://kubeace.com/blog/ai-driven-devops-predictive-operations
1•HarishSush•36m ago•1 comments

German firm gives 'second life' to used EV batteries

https://techxplore.com/news/2025-08-german-firm-life-ev-batteries.html
3•PaulHoule•39m ago•0 comments

Vercel Pro Pricing Model Change to Usage-Based

https://pricetimeline.com/news/158
1•maoro•40m ago•0 comments

Plex: Important Notice of Security Incident

https://forums.plex.tv/t/important-notice-of-security-incident/930523
22•Shank•46m ago•16 comments

NiceVoice - Free AI Voice Cloning Tool

1•nicevoice•48m ago•0 comments

Contactless card payments could become unlimited

https://www.bbc.co.uk/news/articles/czjv7jy2r9vo
5•mindracer•49m ago•0 comments

The Kottke.org Rolodex

https://kottke.org/25/07/the-kottkeorg-rolodex
1•rapnie•53m ago•0 comments

Children and young people's reading in 2025

https://literacytrust.org.uk/research-services/research-reports/children-and-young-peoples-readin...
4•GeoAtreides•55m ago•0 comments

Thermal energy stored for decades without losses

https://science.orf.at/stories/3231641/
4•jhoechtl•1h ago•1 comments

Poland shoots down drones over its territory amid Russian attack on Ukraine

https://www.theguardian.com/world/2025/sep/10/poland-shoots-down-drones-over-its-territory-amid-r...
6•yu3zhou4•1h ago•0 comments

Show HN: Free PDF to JPG Converter

https://freepdftoimg.com/
2•yangyiming•1h ago•0 comments