frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•8mo 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!

The most popular Go dependency is

https://blog.thibaut-rousseau.com/blog/the-most-popular-go-dependency-is/
1•thiht•2m ago•0 comments

Go.sum Is Not a Lockfile

https://words.filippo.io/gosum/
1•birdculture•3m ago•0 comments

Show HN: Code Recap – Generate year-in-review reports from your Git history

https://github.com/NRB-Tech/code-recap
1•dignick•7m ago•0 comments

E∞ = (L₁ × U) / D "Life-First Decision Invariant" Protocol (LFDI)

https://zenodo.org/records/18171608
1•DavidWishengrad•9m ago•0 comments

IMAP Tunnel - A fast SOCKS5 proxy disguised as email traffic to bypass DPI

https://github.com/x011/imap-tunnel-proxy
1•lobito25•10m ago•0 comments

Paste URL and generate your brand page in seconds with AI

https://brandfast.co/
1•daniloao•10m ago•0 comments

Show HN: AI that picks your best credit card for every purchase

https://payvo.ai
1•iman_malhi•13m ago•0 comments

Show HN: An open-source AI researcher that generates reports with 3D animations

https://github.com/precious112/prism_ai
1•PreciousH•18m ago•0 comments

C-from-scratch: Learn to build safety-critical systems in C

https://github.com/williamofai/c-from-scratch
1•todsacerdoti•18m ago•0 comments

Aviation emissions could be halved without cutting journeys

https://www.theguardian.com/environment/2026/jan/07/aviation-emissions-halved-flights-efficiently...
1•trocado•19m ago•1 comments

Show HN: Omni Podcast: AI Podcast Generator

https://omnipodcast.org/
1•dond1986•21m ago•1 comments

Goblin SuperMarket Part I

https://medium.com/luminasticity/goblin-supermarket-part-i-c3b7642103bf
1•bryanrasmussen•22m ago•0 comments

Breeching_(boys)

https://en.wikipedia.org/wiki/Breeching_(boys)
1•throwfaraway135•27m ago•0 comments

Shame Surrounding Spreadsheets

https://rubenerd.com/shame-surrounding-spreadsheets/
1•Tomte•30m ago•0 comments

Firefox extension to redirect x.com to xcancel.com

https://addons.mozilla.org/en-US/firefox/addon/toxcancel/
12•maelito•31m ago•7 comments

China seeks to enhance ties with Ireland to boost relations with EU

https://www.reuters.com/world/china/china-seeks-closer-ties-with-ireland-xi-tells-martin-beijing-...
4•saubeidl•32m ago•0 comments

Measuring AI Agents in Production

https://arxiv.org/abs/2512.04123
1•ac1djazz•32m ago•0 comments

Show HN: Titan Planet – JavaScript back end framework now powered by V8

1•soham_byte•32m ago•0 comments

Dev visibility for non-technical founders

1•akhnid•33m ago•0 comments

pgpm – A Postgres Package Manager for Modular Postgres Development

https://pgpm.io/
1•soheilpro•33m ago•0 comments

Which Does Korea's Gen Z Prefer: Apple vs. Samsung?

https://www.youtube.com/watch?v=-SZbxrilRm8
1•mgh2•33m ago•0 comments

How Long Would It Take a Human to Handwrite All of GitHub?

https://chaking.gumroad.com/l/abmpa
1•che8111•33m ago•0 comments

Hetzner: Measuring the performance of the new gen server types

https://old.reddit.com/r/hetzner/comments/1o8kwfl/measuring_the_performance_of_the_new_gen_server/
3•tosh•34m ago•1 comments

Research identify two psychological traits that predict conspiracy theory belief

https://www.psypost.org/researchers-identify-two-psychological-traits-that-predict-conspiracy-the...
1•wjSgoWPm5bWAhXB•36m ago•0 comments

AI voice agents which convert

https://coldi.ai/
1•Olivia8•36m ago•0 comments

Singleton Done Right in C++

https://andreasfertig.com/blog/2026/01/singleton-done-right-in-cpp/
1•klaussilveira•38m ago•0 comments

Digg.com (Relaunch)

https://digg.com/d/login
2•beatthatflight•41m ago•2 comments

Private Inference (Confer Blog)

https://confer.to/blog/2026/01/private-inference/
1•lwyr•41m ago•0 comments

Reflex FRP – a Haskell-based ecosystem for building user interfaces and web apps

https://reflex-frp.org/
2•ravenical•43m ago•0 comments

Century-old tumours could reveal why more young people are getting bowel cancer

https://www.bbc.com/news/articles/cvgxpv9k822o
1•cbluth•45m ago•0 comments