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 :)

IBM 7-Angstrom Technology Packs in 100B Transistors (sub 1 nanometer)

https://www.electronicdesign.com/technologies/eda/article/55388297/electronic-design-ibm-7-angstr...
1•WaitWaitWha•4m ago•0 comments

Pl/PHP (procedure language) for PostgreSQL

https://github.com/commandprompt/PL-php
1•linuxhiker•7m ago•1 comments

Desktop Apps, Reimagined by You

https://www.glaze.app
1•CliveSHD•8m ago•0 comments

Persist Is Live to All

https://persist.chat/
1•Robelk1•11m ago•1 comments

Qwik: Resumability That Feels Like React

https://manualmeida.dev/articles/qwik-resumability/
1•thunderbong•13m ago•0 comments

How Word Count Is Important for Social Media Posts

https://medium.com/@thesuperrepemail/how-word-count-is-important-for-social-media-posts-87372645377c
1•mssblogs•18m ago•0 comments

PanelSpec – design UI on real devices, export layout prompts for AI codegen

https://www.ismartbase.com/designer/
1•RobCrane•22m ago•2 comments

Foglamp: Agent Observability

https://www.foglamp.dev/
2•handfuloflight•23m ago•0 comments

Claude Sonnet 5 Is Not Frontier but Has Its Uses

https://thezvi.substack.com/p/claude-sonnet-5-is-not-frontier-but
2•paulpauper•23m ago•0 comments

The Joy of Being American

https://www.theatlantic.com/photography/2026/07/photos-fourth-july-celebrations-years-past/687757/
2•paulpauper•24m ago•0 comments

What I've Been Reading

https://marginalrevolution.com/marginalrevolution/2026/07/what-ive-been-reading-291.html
3•paulpauper•25m ago•0 comments

I'm Begging You to Leave Your AI Note-Taker at Home

https://www.joanwestenberg.com/p/im-begging-you-to-leave-your-ai-note
6•cratermoon•31m ago•4 comments

Show HN: TheraJoy – bilateral stimulation for EMDR using Joy-Cons

https://www.therajoyapp.com
1•carbonclaw•39m ago•0 comments

Ask HN: Is anyone running local LLMs in their organization?

2•harry8•39m ago•0 comments

WebDeck – AI-powered PPT to interactive HTML converter

https://github.com/lzytttttt/WebDeck
2•lzytttttt•40m ago•0 comments

Contour Agroforestry Systems for Climate Adaptation and Dryland Ecosystems

https://www.dar.eco/cascade
2•mooreds•40m ago•0 comments

WhatsApp Usernames Are Already Raising Impersonation Red Flags

https://techcrunch.com/2026/07/01/whatsapp-usernames-are-already-raising-impersonation-red-flags/
1•karakoram•41m ago•0 comments

Cona – Recreate your room in 3D and redesign it with shoppable furniture

https://cona.design
1•Losenok•41m ago•0 comments

60k Radio Streams DB

https://www.radio-browser.info
1•kesor•41m ago•0 comments

SuperDoc – Modern Docx Editor and Agent SDK

https://github.com/superdoc-dev/superdoc
2•hisamafahri•45m ago•0 comments

Tips for scaling AI from founders to organization leaders

https://davenporter.substack.com/p/ai-sdlc-scaling-framework
1•davenportjw•48m ago•0 comments

DocETL: Declarative and Agentic Map-Reduce

https://github.com/ucbepic/docetl
2•handfuloflight•51m ago•0 comments

US home battery installations hit record high on rising electricity costs

https://arstechnica.com/science/2026/07/us-home-battery-installations-hit-record-high-in-early-2026/
1•pseudolus•51m ago•0 comments

Clicks Communicator: Blackberry Style Physical-Keyboard Phone

https://clicks.tech/communicator
1•karakoram•52m ago•1 comments

That Sounds Like AI: The Last Refuge of the Intellectually Insolvent

https://medium.com/@ryanlocklear2025/that-sounds-like-ai-the-last-refuge-of-the-intellectually-in...
3•themondayafter•52m ago•0 comments

More AI – Open-source model-agnostic AI desktop

https://github.com/DougTrier/MoreAI
1•DougTrier•55m ago•1 comments

Float Runs an AI Energy Company on a 3-Person Team with Tiger Data

https://www.tigerdata.com/blog/how-float-runs-ai-energy-company-3-person-team-tiger-data
1•nreece•55m ago•0 comments

We put a Redis server inside our runtime

https://encore.dev/blog/redis-runtime
1•nreece•56m ago•0 comments

Accelerating Gemini Nano Models on Pixel with Frozen Multi-Token Prediction

https://research.google/blog/accelerating-gemini-nano-models-on-pixel-with-frozen-multi-token-pre...
2•CharlesW•57m ago•0 comments

Fable 5 update: Still willing to cybercrime

https://alec.is/posts/fable-5-update-still-willing-to-cybercrime/
11•arm32•1h ago•6 comments