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!

Why I still teach OpenGL ES 3.0

https://eliasfarhan.ch/jekyll/update/2026/01/27/why-i-teach-opengles.html
1•abnercoimbre•46s ago•0 comments

Show HN: employkids – Hire your kids so they can retire millionaires (legally)

https://employkids.com/
1•jfeng5•1m ago•0 comments

Bonus 203: Correcting the Record in the Social Security/DOGE Case

https://www.stevevladeck.com/p/bonus-203-correcting-the-record-in
1•hn_acker•4m ago•0 comments

My app is going viral and hitting the Google books API quota

1•iboshidev•5m ago•1 comments

Had LLM/AI build an unbiased quiz: Where in the World Should I Live?

https://dev.mkn.us/world.html
1•mknweb•6m ago•0 comments

Theorizer: Turning Papers into Scientific Laws

https://allenai.org/blog/theorizer
1•headalgorithm•7m ago•0 comments

Show HN: Free On-Device AI SDK to Run PyTorch on Mobile NPUs (Open Source)

https://github.com/zetic-ai/ZETIC_MLange_apps
1•kimys1324•8m ago•0 comments

LM Studio 0.4.0

https://lmstudio.ai/blog/0.4.0
1•jiqiren•9m ago•1 comments

Building a CAD Kernel in One Night

https://campedersen.com/brep-kernel
2•ecto•10m ago•1 comments

White hat astroturfed #1 ClawdBot/MoltBot skill that can pwn all users

https://twitter.com/llmjunky/status/2016032497629319404
1•EGreg•11m ago•1 comments

VisualJJ – Jujutsu in Visual Studio Code

https://www.visualjj.com/
3•demail•11m ago•0 comments

Groop – No AI. No Influencers. No Algorithms. No Tracking

https://www.joingroop.app/
1•sampsn•12m ago•3 comments

Apple plans to launch AI-powered wearable pin device as soon as 2027

https://arstechnica.com/apple/2026/01/report-apple-plans-to-launch-ai-powered-wearable-pin-device...
2•mpweiher•13m ago•0 comments

Show HN: A single command to run Claude Code inside Lima VMs

https://github.com/sylvinus/agent-vm
1•sylvinus•13m ago•0 comments

Show HN: I'm building an AI-proof writing tool. How would you defeat it?

https://auth-auth.vercel.app/
1•callmeed•14m ago•0 comments

Britain's Strategic Limbo

https://notes.philippdubach.com/0016
2•7777777phil•14m ago•0 comments

Memory justifications provide valid indicators of retrieval accuracy across time

https://www.nature.com/articles/s44271-025-00378-4
1•PaulHoule•15m ago•0 comments

I don't know why I fixed this

https://www.youtube.com/watch?v=WNOOJvelkcE
1•iamflimflam1•15m ago•0 comments

Trump's use of AI images pushes boundaries, erodes public trust, say experts

https://apnews.com/article/ai-videos-trump-ice-artificial-intelligence-08d91fa44f3146ec1f8ee4d213...
4•randycupertino•17m ago•2 comments

Show HN: Deploying Helm charts without fear

https://github.com/avkcode/helmer
1•KyleVlaros•17m ago•0 comments

Artemis II–first manned moon mission in 52 years–could launch as early as Feb 6

https://www.nytimes.com/2026/01/28/travel/florida-artemis-ii-moon-launch.html
2•bookofjoe•18m ago•1 comments

Show HN: Ghostly: The Ultimate Platform for Ghosting Candidates (Satire)

https://staticfile-25978.wasmer.app/
1•dw1014•19m ago•0 comments

Neuralink has had 21 'Neuralnauts' in the past 2 years

https://neuralink.com/updates/two-years-of-telepathy/
1•ryzvonusef•19m ago•0 comments

Reasoning About Things Without Choosing Them

https://cognitivelayer.substack.com/p/chasing-the-ghosts-of-choice
1•CortexFlow•19m ago•0 comments

That's Not How Email Works, HSBC

https://danq.me/2026/01/28/hsbc-dont-understand-email/
7•HotGarbage•20m ago•0 comments

Show HN: Built an app to replace our failed group podcast experiment

https://roadsaudio.com/college
1•1manstartup•20m ago•0 comments

Native Instruments in Preliminary Insolvency

https://www.gearnews.com/native-instruments-insolvency/
3•thomas_witt•20m ago•0 comments

The new era of browsing: Putting Gemini to work in Chrome

https://blog.google/products-and-platforms/products/chrome/gemini-3-auto-browse/
5•xnx•20m ago•0 comments

Attached to Tragedy: Tracing Challenger "Remove Before Flight" Tags

https://arstechnica.com/space/2026/01/attached-to-tragedy-tracing-challenger-remove-before-flight...
1•LorenDB•21m ago•0 comments

Show HN: I built an AI companion to stop doomscrolling and regulate anxiety

https://mynomie.com/
1•liaai0630•21m ago•0 comments