frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•1y ago
Hi HN,

We’re Chonkie (https://github.com/chonkie-inc/chonkie) — we build open source tools that help split documents into meaningful chunks for use with AI models.

When you use LLMs over large documents or codebases, you often need to break them into smaller parts to fit the model’s context window. Our chunkers do this in a smart way: they preserve structure and meaning, so only the most relevant pieces are passed into the model. This reduces hallucinations, avoids confusion, and improves performance and accuracy.

Today we’re launching our Code Chunker — a fast, structure-aware way to break down source code into high-quality, token-aware chunks.

How it works:

(See the code: https://github.com/chonkie-inc/chonkie/blob/main/src/chonkie...)

Code Chunker uses tree-sitter (https://tree-sitter.github.io/tree-sitter/) to parse your code into an abstract syntax tree (AST). It then recursively merges and groups nodes in a way that respects both code structure and token limits.

It supports all languages that tree-sitter supports, and is designed to preserve formatting and semantics. Large functions or class definitions won’t be split in the middle of a block — instead, we dive recursively into the AST to produce clean, coherent chunks that fit your configured token budget.

What it’s useful for:

  - Embedding-based code search

  - RAG (retrieval-augmented generation) over codebases

  - Long-context analysis of code

  - Preparing repos for fine-tuning or pretraining
Try it out:

  - Open source package: https://docs.chonkie.ai/chunkers/code-chunker

  - Hosted playground (free with account): https://cloud.chonkie.ai
Happy Chonking!

Show HN: SelMem – selective reconstructive memory for LLMs

https://github.com/jbsalles/Selmem
1•Jibs79•2m ago•0 comments

Show HN: A benchmark comparison of C++ vs. Node.js performance

https://vikky2810.github.io/blog/cpp-vs-node/
1•vikky2810•4m ago•0 comments

Tracking Singularity – A Curated Log of Important Events in AI Since Mid 2026

https://trackingsingularity.com/
2•dejavucoder•20m ago•0 comments

SunCalc – sunrise, sunset, shadow length, solar eclipse

https://www.suncalc.org
1•gregsadetsky•21m ago•0 comments

Picking a domain name is hard

https://aetherspe.cc/blog/20260925-picking_a_domain_name_is_hard/
1•weakened_malloc•26m ago•1 comments

Show HN: Sitcom Flavour – Season your Claude Code chats with sitcom replies

https://ada.tools/sitcom-flavour/
1•EmreErkan•26m ago•0 comments

Stanford used AI to replace Hispanic student with Black woman in photo

https://www.msn.com/en-ca/money/general/stanford-used-ai-to-replace-hispanic-student-with-black-w...
2•pykello•29m ago•1 comments

Goodbye Google

https://robert.ocallahan.org/2026/09/goodbye-google.html
3•Murmuring9087•38m ago•0 comments

Krakatoa, an interactive 2.5D painting of the 1883 eruption

https://www.echohive.ai/experiments/krakatoa
1•echohive42•38m ago•0 comments

Jev Based Code Review

https://github.com/egma-ai/jev-code-reviewer
1•namanbhulawat•40m ago•2 comments

Plex: Remote Streaming via Third-Party Apps to Require a License

https://netguide.io/news/en/2026/09/22/plex-remote-streaming-via-third-party-apps-to-require-a-li...
3•sippingabonedry•42m ago•0 comments

Proofmode

https://proofmode.org/
2•F3nd0•44m ago•0 comments

Vulnerability Cve-2026-82958

https://vulnerability.circl.lu/vuln/cve-2026-82958
1•anonyoum•48m ago•0 comments

What your phone is made of

https://anas-sabbar.ca/writing/what-your-phone-is-made-of/
2•Roccan•50m ago•0 comments

Fzakaria/omnibin: Every binary nixpkgs ever shipped, on your PATH

https://github.com/fzakaria/omnibin
1•Tomte•50m ago•0 comments

Finding Bugs

https://matklad.github.io/2026/09/19/finding-bugs.html
1•jamilbk•53m ago•0 comments

What's New in Oracle Solaris 11.4 SRU 95

https://blogs.oracle.com/solaris/whats-new-in-oracle-solaris-11-4-sru-95
2•zdkaster•55m ago•0 comments

Pompeii test case demonstrates Gaussian Splatting's potential

https://www.gim-international.com/news/pompeii-test-case-demonstrates-gaussian-splatting-s-potent...
1•bryanrasmussen•56m ago•0 comments

Every Package Is Installed

https://fzakaria.com/2026/09/24/every-package-is-already-installed
1•ghuntley•59m ago•0 comments

Perch: Semantic Code Linting with Jev

https://github.com/lakeday-org/perch
1•handfuloflight•1h ago•0 comments

Is indirect prompt injection still a big threat as models get more advanced?

https://realarcherl.github.io/posts/prompt_injection/
3•ArcherL•1h ago•4 comments

AI/ML Engineer

https://docs.google.com/forms/d/e/1FAIpQLSdrsnW2CpvYDBRZnS91cL4nXgnvi1mwQSYqF6IhvGPImaLKYw/viewform
1•lets_talk•1h ago•0 comments

We Built Safety into Muse

https://research.meta.ai/blog/security-and-safety-for-ai-agents-our-approach-with-muse
2•AnhTho_FR•1h ago•0 comments

Micron Technology sucessfully demonstrates first 512GB DDR5 RDIMM module

https://investors.micron.com/news/press-release/2026/Micron-Advances-Memory-Innovation-With-the-W...
3•peter_d_sherman•1h ago•0 comments

September's ozone hole biggest in 20 years, warning signs appeared months ago

https://www.rnz.co.nz/news/science-and-technology/1572285/september-s-ozone-hole-biggest-in-20-ye...
3•colinprince•1h ago•0 comments

Collaborative Editing in Wordgard

https://marijnhaverbeke.nl/blog/collaborative-editing-wordgard.html
4•fagnerbrack•1h ago•1 comments

Plan Mode Is Dead

https://www.aymannadeem.com/artificial/intelligence,/developer/tools/2026/09/24/plan-mode-is-dead...
2•jmvldz•1h ago•0 comments

Power your agents: Gemini 3.8 Live with Live Avatar is now generally available

https://cloud.google.com/blog/products/ai-machine-learning/gemini-3-8-live-with-live-avatar-is-no...
2•planteur•1h ago•0 comments

What I Found Out About Organ Donation Shocked Me

https://www.nytimes.com/2026/09/18/opinion/organ-donation-system-ethics-trust.html
3•Alien1Being•1h ago•3 comments

Scalable Subagents

https://github.com/ringlochid/oh-my-subagents
1•ringlochid•1h ago•0 comments