frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•7mo 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: OmnAI – Sovereign AI infrastructure with multi-vault isolation

https://github.com/RilerCoasterBoy98765/OmnAI-v3.5
1•6teepees•12m ago•0 comments

Luddite List

https://docs.google.com/spreadsheets/d/1M_UjOPxpbKMYes5CcWRWXNXRq4ZOAAwDgQ08CIN3pec/edit?gid=7494...
2•paulorlando•13m ago•0 comments

Mathgpt.today Discord Bot

https://mathgpt.today/
1•umeedsto•14m ago•1 comments

Judge hints Vizio TV buyers may have rights to source code licensed under GPL

https://www.theregister.com/2025/12/05/vizio_gpl_source_code_ruling/
1•pabs3•17m ago•0 comments

Behold the Infamous PS2 Linux Kit [video]

https://www.youtube.com/watch?v=FQmenrPioBM
1•zdw•19m ago•0 comments

A simple idea filter that saved me months of wasted work

1•peterbricks•27m ago•0 comments

True origin of 'first black Briton' revealed

https://www.bbc.co.uk/news/articles/ce86jzgxxy4o
2•GaryBluto•28m ago•0 comments

Show HN: Aiologic – GIL-powered* locking library for Python

https://github.com/x42005e1f/aiologic
1•x42005e1f•31m ago•0 comments

Ask HN: Etiquette giving feedback on mostly AI-generated PRs from co-workers

1•chfritz•41m ago•2 comments

Eventual Rust in CPython

https://lwn.net/Articles/1046933/
1•pykello•43m ago•0 comments

Apple's Preventing Some Apps from Working on Older iPhones [video]

https://www.youtube.com/watch?v=WXqVV8_GORE
1•chii•44m ago•0 comments

Adding Dialogue to Real Video with AI

https://www.unite.ai/adding-dialogue-to-real-video-with-ai/
1•50kIters•46m ago•0 comments

Tanstack AI – open-source AI SDK

https://tanstack.com/ai/latest
1•etoxin•47m ago•1 comments

Digital detox: how to switch off without paying the price

https://theconversation.com/digital-detox-how-to-switch-off-without-paying-the-price-new-research...
4•devonnull•50m ago•0 comments

Why Your WordPress Site Needs a Paywall for Robots

https://402gate.xyz/blog/why-your-wordpress-site-needs-a-paywall-for-robots
2•thunderbong•50m ago•0 comments

How Much Energy Does One Solar Panel Produce in Australia?

3•scorpeoanlibra•54m ago•0 comments

Ringspace: A Proposal for the Human Web

https://taggart-tech.com/ringspace/
2•todsacerdoti•54m ago•0 comments

Show HN: PacketPro – Inspect iOS app network traffic locally

https://apps.apple.com/us/app/packetpro/id6755604263
1•noteable•56m ago•0 comments

Germany: Amazon is not allowed to force customers to watch ads on Prime Video

https://www.zeit.de/wirtschaft/2025-12/amazon-urteil-video-kunden-werbung
2•febed•1h ago•0 comments

Salesforce Acquires Qualified

https://www.salesforce.com/news/stories/salesforce-signs-definitive-agreement-to-acquire-qualifie...
2•brendanashworth•1h ago•1 comments

Education South Africa

https://educationsouthafrica.com/
1•NicBradley•1h ago•1 comments

You Can Use Gemini 3.0 Flash High Free on InfiniaxAI

https://infiniax.ai
1•ZacharyGolinger•1h ago•0 comments

Everyone Is Building the Wrong AI Startup

4•suhaspatil101•1h ago•1 comments

Marathon Runners May Have Higher Colon Cancer Risk

https://www.medscape.com/viewarticle/marathon-runners-may-have-higher-colon-cancer-risk-2025a1000zap
4•wjb3•1h ago•2 comments

Trendgetter - An API for getting trending content from various platforms

https://github.com/Zivsteve/trendgetter
1•zivsteve•1h ago•0 comments

Web Dev – Accessibility isn't optional

https://ross-oneill.com/blog/accessibility-isnt-optional/
2•rosswebdev•1h ago•0 comments

John Schulman on dead ends, scaling RL, building research institutions [video]

https://www.youtube.com/watch?v=29BYxvvF1iM
2•gk1•1h ago•0 comments

Extraordinary Dinosaur Fossil Site Discovered in the Hațeg Basin

https://scitechdaily.com/bones-almost-on-top-of-each-other-extraordinary-dinosaur-fossil-site-dis...
1•mhb•1h ago•1 comments

Jassy taps 27-year Amazon veteran to run AGI org

https://www.theregister.com/2025/12/17/jassy_taps_peter_desantis_to_run_agi/
2•cebert•1h ago•1 comments

Verizon refused to unlock man's iPhone, so he sued the carrier and won

https://arstechnica.com/tech-policy/2025/12/verizon-refused-to-unlock-mans-iphone-so-he-sued-the-...
6•codexjourneys•1h ago•0 comments