frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Plot lines of code over time in Git repositories

https://github.com/emanueldonalds/git-loc-plot
2•genericspammer•1y ago
It's a small wrapper around cloc (https://github.com/AlDanial/cloc), which just provides a convenient way to plot lines of code over time in a Git repository.

The script runs cloc on each commit in your current branch, starting from HEAD tracing back until the first commit.

For large repositories with many commits, you can tell it to only count every n:th commit with the '--step' option to speed up processing.

The way it works is quite sub-optimal, since every single file is counted in each commit, even if the file didn't change since last iteration. Might be a fun project later to find some nice optimizations, maybe by counting files one by one and keeping a dict of line count by file hash, or something along those lines.

Maybe someone will find this script useful, maybe not, anyways happy to hear if someone has any thoughts :)

1•karanjotgaidu•20s ago

Startup Wants to Sell a U.S.-Built Tiny Truck for $21,500

https://www.roadandtrack.com/news/a71667299/reo-industries-runabout-aims-to-simplify-the-truck-ma...
1•rmason•2m ago•0 comments

Claude Code now uses dark UI patterns to gain Google account access via MCP

https://claude.com/docs/connectors/google/gmail
1•janpeuker•2m ago•1 comments

Duolicious – Open-source dating app

https://github.com/duolicious/duolicious
3•nietzscheese•4m ago•0 comments

The Last Museum: a search site for museum art

https://lastmuseum.com/
1•ohjeez•5m ago•0 comments

Why the Metaverse Failed

https://josh.earth/posts/metaverse-failed
1•joshmarinacci•5m ago•0 comments

Ask HN: What do SRE do at your company?

2•petemc_•7m ago•0 comments

Evolving Thoughts on AI in 2026

https://chriskiehl.com/article/evolving-thoughts-on-ai-2026
1•goostavos•14m ago•0 comments

Show HN: Gotaper – A minimalist, journal-inspired race planner for athletes

https://gotaper.app/
1•ezeoleaf•14m ago•0 comments

Ablo – The collaboration layer for AI agents

https://github.com/Abloatai/ablo
1•luckymonkybaby•22m ago•0 comments

Donald Trump is kicking out Chinese firms and keeping their tech

https://www.economist.com/china/2026/06/28/donald-trump-is-kicking-out-chinese-firms-and-keeping-...
3•miohtama•23m ago•0 comments

Don't Use VPN Servces

https://gist.github.com/joepie91/5a9909939e6ce7d09e29
4•backlit4034•24m ago•1 comments

Building a macOS Native GUI for Apple Container

https://www.reddit.com/r/swift/s/ZkDZUfxnRD
2•frizlab•24m ago•0 comments

Lonnie Johnson, in some ways, could personify the 'American Dream' (2013)

https://thecontextofthings.com/2013/11/09/lonnie-johnson-in-some-ways-could-personify-the-america...
1•zeristor•24m ago•1 comments

Ornith 1.0: This is new class of self-improving model [video]

https://www.youtube.com/watch?v=25j4kMGhKGw
1•SweetSoftPillow•25m ago•0 comments

Newly discovered spider builds spring loaded snare to catch ants

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
1•chimpanzee•27m ago•0 comments

MovementHound: Windows lateral movement enumeration with minimal‑rights focus

https://github.com/pol4ir/MovementHound
1•korkiipl•28m ago•0 comments

Rescued from the flames: the Cotton Genesis restored to life

https://www.bl.uk/stories/blogs/posts/rescued-from-the-flames-the-cotton-genesis-restored-to-life
2•bryanrasmussen•36m ago•0 comments

Productivity up 0.3 percent in first quarter 2026

https://www.bls.gov/opub/ted/2026/productivity-up-0-3-percent-in-first-quarter-2026.htm
3•mattas•39m ago•0 comments

Homemade 3D printed metal watch using vintage LED matrix displays

https://old.reddit.com/r/3Dprinting/comments/1ui3ndq/my_brother_and_i_designed_our_own_3dprinted_...
2•dgellow•43m ago•0 comments

Software Architecture Is More Important [video]

https://www.youtube.com/watch?v=k4xHQpKyLWY
2•fallinditch•44m ago•0 comments

How to Use Claude Code: A Complete Beginner's Guide (2026)

https://dest.host/b/how-to-use-claude-code/
2•snorbleck•46m ago•0 comments

Australia doubles the maximum penalty for its social media ban

https://www.engadget.com/2203358/australia-doubles-maximum-penalty-social-media-ban/
3•01-_-•49m ago•0 comments

Show HN: Bash4LLM+ – A lightweight, dependency-free Bash wrapper for LLM APIs

https://github.com/kamaludu/bash4llm/
6•kamaludu•50m ago•3 comments

1M Passports Leaked Online

https://www.schneier.com/blog/archives/2026/06/one-million-passports-leaked-online.html
12•garo-pro•50m ago•3 comments

Show HN: NanoEuler – GPT-2 scale model in pure C/CUDA from scratch

https://github.com/JustVugg/nanoeuler
8•vforno•55m ago•1 comments

TOP500 at ISC'26: We Have a New Number 1 – By George Cozma

https://chipsandcheese.com/p/top500-at-isc26-we-have-a-new-number
20•rbanffy•55m ago•8 comments

Ante: A New Way to Blend Borrow Checking and Reference Counting

https://verdagon.dev/blog/ante-blending-borrowing-rc
5•g0xA52A2A•55m ago•0 comments

Researchers Set Hybrid Bonding Records

https://spectrum.ieee.org/hybrid-bonding-2677022836
3•rbanffy•56m ago•0 comments

Nourish: A New Wayland Compositor Powered by Vulkan with Infinite Scrolling

https://www.phoronix.com/news/Nourish-Wayland-Compositor
3•okso•57m ago•1 comments