News for hackers. Stuff that matters.

seeyebe

Re:Show HN: Sip: Alternative to Git Clone on Tuesday August 26, 2025 @03:30PM (#45031144)
Didn't need the complexity of regexes for this, and C++17 strikes a good balance between features and availability.
Re:Show HN: Gmap: Explore Git Repos Visually from the CLI on Monday August 04, 2025 @04:04PM (#44790763)
You’re right. What I’m working on is meant to complement that, especially early on. The goal isn’t to replace judgment or deep dives, but to surface patterns that can guide where to look: areas with a lot of churn, untouched files, contributors active in a specific part of the code, etc.

It’s still early, but I’d like to evolve it to make those insights more actionable, maybe even link recent PRs, show how files evolved, or highlight ownership boundaries. Feedback like yours helps shape that, so thanks again.

Re:Show HN: Gmap: Explore Git Repos Visually from the CLI on Monday August 04, 2025 @08:19AM (#44784805)
Good point, and I appreciate the heads-up. Naming is tricky. I’ll definitely consider renaming or at least making the distinction clear in the README
Re:Show HN: Gmap: Explore Git Repos Visually from the CLI on Monday August 04, 2025 @08:18AM (#44784802)
Thanks for the thoughtful question. The tool doesn’t aim to declare what’s “important,” but rather to highlight patterns. like hotspots, dormant code, or contributor trends. that can guide refactoring, onboarding, or even just curiosity. For some workflows (e.g. legacy cleanup, team handover, bug tracking), that context can be quite valuable.
Re:Show HN: Gmap: Explore Git Repos Visually from the CLI on Friday August 01, 2025 @12:00AM (#44752902)
(I posted a version of this earlier, but this is a proper “Show HN” with updates and full context.)

Show HN: Gmap: Explore Git Repos Visually from the CLI

https://github.com/seeyebe/gmap

I built gmap, a command-line tool to visualize Git activity, weekly heatmaps, file churn, authorship stats, and more, right from your terminal.Install with: cargo install gmapOr on Arch via AUR: yay -S gmapRepo: https://github.com/seeyebe/gmapFeedback is welcome. Contributions too. if you’re into Git internals, CLIs, or terminal UX.

( Read More... | 10 comments | on HN )
Ah yeah, that changed recently, you now can use the tui and it will fetch anyways.

Good shout on the cache folder. Right now it just lives locally (.gmap), so yeah adding it to .gitignore is the way to go for now. I’ve been thinking about better ways to handle it. maybe an XDG-compatible path or something configurable. If a better idea comes up, I’ll def switch to it.

Thanks for trying it out!

Show HN: Gmap: A fast command-line tool to explore Git activity

https://github.com/seeyebe/gmap

Hey folks,I just released a new CLI tool called gmap, built in Rust, focused on exploring Git history visually and efficiently from your terminal.Highlights: • Heatmap view: weekly commit activity with churn and delta stats • Filetype breakdown: see which file extensions are most active • Authorship insight: per-week top contributors • Timeline and trends: sparkline and stats over time •...

( Read More... | 2 comments | 2 points | on HN )
Thanks! Great question. Everything is an excellent tool, but it works differently—it uses a pre-built index, while rq scans the file system in real time.

To benchmark, you can use hyperfine like this:

hyperfine 'rq C:\ ".png" --glob' 'es.exe .png' 'fd --type f png'

This compares rq, Everything CLI (es.exe), and fd.

Windows search is slow and painful for developers. Even tools like Everything or PowerShell Get-ChildItem can crawl on huge directories. I wanted a CLI tool that feels instant—so I built rq, an open-source file search utility in modern C17 that leverages parallel directory traversal.

rq is typically 3–7x faster than common alternatives, supports filters (size, date, type, regex, glob), and streams results as text or JSON. It’s designed for scripting and developer workflows.

Why not just use existing tools? • Windows Explorer: slow, not scriptable • PowerShell: Get-ChildItem is painfully slow • Everything: fast, but GUI-first • ripgrep: amazing, but focused on text content search

rq focuses on metadata-based search for files and directories on Windows.

Core challenges: 1. Handling Windows quirks like MAX_PATH and Unicode (rq uses \?\ paths and UTF-8 internally) 2. Efficient parallel traversal without burning CPUs 3. Adding powerful filters without making everything slow

Design highlights: • Custom thread pool built on Windows Thread Pool API • Directory traversal is fully parallel: each worker processes directories and queues subdirectories • CLI filters: size, extension, date, regex, glob, file type

Example usage: rq D:\ “*.png” –glob –min 1M –after 2024-01-01 –threads 8

Performance benchmark (1.2M files on NVMe SSD, Windows 11, Ryzen 7): • rq (8 threads): 3.2s • Everything CLI: 6.8s • PowerShell Get-ChildItem: ~40s

Lessons learned: • C17 is still great for high-performance tools • Windows APIs are powerful but painful for paths and Unicode • Thread pools beat raw threads for scalability • Avoid syscalls in the hot path for speed

Source: https://github.com/seeyebe/rq

Great suggestion, thanks! snub already skips common dirs like node_modules, .git, .svn, and __pycache__ by default (you can turn that off with --no-skip), but an explicit -x/--exclude flag for user-supplied patterns would be even more useful
Yep! Binaries are up on GitHub under Releases. Let me know if you hit any issues.

https://github.com/seeyebe/snub/releases/tag/v0.3.0

Hey, really appreciate that. means a lot coming from someone else in the raw C/WinAPI trenches. Just checked out phono too; super cool concept, I love seeing C used in unexpected spaces like that. Definitely gonna take a look at it properly today. Respect right back, Ferki. glad snub landed with you.

Show HN: Snub – A fast, lightweight file search CLI for Windows (written in C)

https://github.com/seeyebe/snub

built snub, a fast and lightweight recursive file search tool for Windows, written in modern C (C17). File Explorer and PowerShell often crawl on large codebases — so I wrote something that doesn’t.snub is: - Fully multithreaded - Avoids indexing entirely - Supports globbing, size/date filters, result limiting, and JSON output - Packaged as a single small executableNo dependencies. Just raw...

( Read More... | 7 comments | 3 points | on HN )