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!

Curated catalogue of 934 GitHub apps, searchable by need

https://installist.app
1•ihrqinwbv•1m ago•0 comments

Low-Latency Electric Bass with SonoBus and PipeWire

https://fedoramagazine.org/real-time-jamming-on-fedora-low-latency-electric-bass-with-sonobus-and...
1•ofrzeta•2m ago•0 comments

Show HN: Dnote – a shared memory between you and coding agents

https://github.com/dnote/dnote
1•stockkid•5m ago•1 comments

Show HN: Parkie Parkinson – For people with Parkinson's and the people who care

https://parkie.cc/
1•bert2002•5m ago•0 comments

Arzo Technolog

https://www.instagram.com/p/DgPqZz7BpRd/
1•elyasachakzai•7m ago•0 comments

Making 3D engine for original Game Boy (not Color) technical details

https://www.reddit.com/r/retrogamedev/comments/1y7yhcv/working_on_a_3d_engine_for_the_original_ga...
1•retro_guy•8m ago•0 comments

Netflix subscribers set to pay towards licence fee to save BBC

https://www.telegraph.co.uk/news/2026/11/29/netflix-amazon-disney-viewers-pay-towards-bbc-licence...
2•haunter•10m ago•0 comments

Show HN: Aksh- A native wysiwyg editor written in Chez Scheme and GTK

https://get-aksh.com/
1•pushpankar•11m ago•0 comments

Neckbeard.tech – Like the real thing, but better

https://neckbeard.tech/
1•idonegoofd•18m ago•1 comments

50 Hours in a Secret Russian town in America [video]

https://www.youtube.com/watch?v=TMQ31DQjjWg
1•dataflow•20m ago•0 comments

A Machine-Speed Workday Payroll-Diversion Campaign

https://www.reco.ai/blog/inside-a-machine-speed-workday-payroll-diversion-campaign
1•daretograsp•21m ago•0 comments

Cutting the Universe in Half Until the Planck Length [video]

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

An HTTP flood from 27k addresses, and why our site stayed down after it ended

https://natbox.io/blog/a-flood-took-our-client-area-down
1•msarrph•38m ago•0 comments

Can anyone help me with my Intelli project?

1•spidertox•39m ago•0 comments

Building an Unpopular World

https://www.writingruxandrabio.com/p/building-an-unpopular-world
2•bryanrasmussen•40m ago•0 comments

Taiwan votes to end 'nuclear-free homeland' policy, reopen door to nuclear power

https://www.seattletimes.com/business/taiwan-votes-to-end-nuclear-free-homeland-policy-and-reopen...
4•mpweiher•42m ago•1 comments

Electronic hair: Transforming hair into a scalable bioelectronic interface

https://www.science.org/doi/10.1126/sciadv.aei3615
2•VelcoDar•45m ago•2 comments

The Last Boring Slide

https://claude.ai/artifact/Cy2d8Vn63CnzCtonA1LSah
2•nateb2022•46m ago•1 comments

Pop _OS 26.04 LTS Has Landed

https://system76.com/blog/post/pop_os-26-04-lts-has-landed
1•birdculture•49m ago•0 comments

Open Source AI Tools for Extracting URLs

https://github.com/OpenSourceAGI
1•vtemp009•51m ago•0 comments

A new Gemini model coming, better than Neon

https://twitter.com/Ar_Douillard/status/2126801364357349833
2•_hmj•52m ago•3 comments

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have

https://arxiv.org/abs/2609.37693
16•peter_d_sherman•57m ago•3 comments

Bare metal bootable Qwen3-0.6B inference in pure x86-64 assembly

https://github.com/alesha-pro/llm.asm
1•harel•1h ago•1 comments

Building a URL shortener designed for 1.2M requests per second

https://learnitmyway.com/url-shortener/
1•learnitmyway•1h ago•0 comments

Users in UK to pay £180 licensing fee to use streaming services

https://www.thetimes.com/uk/media/article/netflix-viewers-pay-bbc-licence-fee-8jzj0ql68
3•darth_avocado•1h ago•0 comments

Show HN: Cicada Kata – a match-3 game with a cipher trail left behind

https://www.cicadakata.com/
1•cicadakata•1h ago•0 comments

Plato's Key

https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key
3•Anon84•1h ago•0 comments

Why Popcorn Kernels Pop Under Nine Atmospheres of Steam

https://www.oddlyclear.com/how-popcorn-kernels-pop-steam/
1•thunderbong•1h ago•0 comments

Show HN: Made a million Kakuro puzzles and a web app

https://halifax-kakuro.com/puzzle/
1•selinger•1h ago•0 comments

Show HN: laiaric-open – Fast, open-weight text-to-JSON model

https://github.com/raycollabs/laiaric
2•xeditai•1h ago•0 comments