frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Ridiculously Huge Numbers [video]

https://www.youtube.com/playlist?list=PL3A50BB9C34AB36B3
1•xelxebar•38s ago•1 comments

Using Beads to supercharge my agent workflow

https://jonsimpson.ca/using-beads-to-supercharge-my-workflow/
1•jonniesweb•5m ago•0 comments

Show HN: Ulog – USB serial logger with auto session management

https://github.com/matterizelabs/ulog
1•abu-matterize•6m ago•1 comments

Becoming a Whorelord: The Overly Analytical Guide to Escorting

https://knowingless.com/2021/10/19/becoming-a-whorelord-the-overly-analytical-guide-to-escorting/
2•andsoitis•6m ago•0 comments

The End of Industrial Society

https://www.palladiummag.com/2021/03/24/the-end-of-industrial-society/
2•MrBuddyCasino•9m ago•0 comments

Defections from $12B Thinking Machines shows struggle for AI talent

https://fortune.com/2026/01/16/mira-murati-thinking-machines-staff-defections-openai-zoph-metz-sc...
1•nsoonhui•12m ago•0 comments

What's biggest mistake companies make when trying to implement Generative AI?

1•datacouch•13m ago•0 comments

C++26 Reflection loves QRangeModel

https://www.qt.io/blog/c26-reflection-qrangemodel
1•jandeboevrie•13m ago•0 comments

The Paper 3

https://zenodo.org/records/18293965
1•KaoruAK•17m ago•0 comments

X algorithm has been open sourced

https://github.com/xai-org/x-algorithm
8•grainier•17m ago•1 comments

Management Time: Who's Got the Monkey? [pdf]

https://www.med.unc.edu/uncaims/wp-content/uploads/sites/764/2014/03/Oncken-_-Wass-Who_s-Got-the-...
1•rintrah•23m ago•1 comments

Chatbot Psychosis

https://en.wikipedia.org/wiki/Chatbot_psychosis
8•tbmtbmtbmtbmtbm•24m ago•0 comments

Stevey's Birthday Blog

https://steve-yegge.medium.com/steveys-birthday-blog-34f437139cb5
1•throwawayHMM19•27m ago•0 comments

Crypto criminals stole $700M from people

https://www.bbc.com/news/articles/c93w30gl5jno
2•dayli•29m ago•0 comments

Show HN: Stashcast – Self-hosted custom podcast feeds for any media

https://github.com/jonocodes/stashcast
1•jonotime•36m ago•0 comments

China's Birthrate Sinks to Record Low

https://www.wsj.com/world/china/chinas-population-falls-for-fourth-straight-year-409986bd
6•RestlessMind•39m ago•1 comments

Run coding agents on your desktop without breaking your flow

https://www.ami.dev/
1•alexinavar•44m ago•1 comments

Show HN: Crapless craps – flutter PWA vibe coded from my phone

https://craps.exe.xyz:8081/
2•calderwoodra•47m ago•0 comments

Let's Buy California from Trump – Denmark's Next Big Adventure

https://denmarkification.com/
8•mil22•48m ago•0 comments

Building Production-Grade Micro Services on Azure Kubernetes

https://medium.com/@koladilip/building-production-grade-micro-services-on-azure-kubernetes-2884b5...
1•koladilip•50m ago•0 comments

Why 33% of NYC logistics thefts happen when the driver is nearby (Analysis)

https://www.tranzia.com/blog/nyc-logistics-safety
1•mednosis•55m ago•1 comments

My favorite NP-complete problem (2016) [video]

https://www.youtube.com/watch?v=BJBnR5Sn-sc
1•todsacerdoti•1h ago•0 comments

Show HN: Saile – credential once, work anywhere for clinicians

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

Japan's 40-year bond yield hits 4% record on fiscal jitters

https://www.cnbc.com/2026/01/20/japan-40-year-jgb-government-bond-yield-record-fiscal-jitters-sna...
2•zerosizedweasle•1h ago•0 comments

OpenAI launches GPT-audio and GPT-audio-mini

https://platform.openai.com/docs/models/gpt-audio
2•reed1234•1h ago•1 comments

Validation Economy: How Western Creators Monetize South Asia's Need to Be Seen

https://skift.com/2026/01/18/the-validation-economy-how-western-travel-creators-monetize-south-as...
1•ilamont•1h ago•1 comments

Show HN: Hammer of JSON

https://github.com/andrewbaxter/hammer-of-json
3•rendaw•1h ago•0 comments

EmuDevz – A game about building emulators

https://store.steampowered.com/app/4260720/EmuDevz/
3•evo_9•1h ago•1 comments

The Catcher in the Prompt: Day 60

https://blog.pytoshka.me/post/the-catcher-in-the-prompt/
1•kenny-opennix•1h ago•1 comments

Chinese Batteries Will Run the World

https://www.nytimes.com/2026/01/19/opinion/trump-energy-china-future.html
6•cmod•1h ago•0 comments