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!

CV of Failure

https://sites.google.com/view/mankikim/curriculum-vitae
1•myth_drannon•34s ago•0 comments

GrindMal – An open-source 'arena' for fixing/collab projects

https://grindmal.tomari.dev/
1•tomari99•4m ago•1 comments

AI governance in the agentic era (2025)

https://iapp.org/resources/article/ai-governance-in-the-agentic-era
1•mooreds•4m ago•0 comments

Fitness and exercise effects on brain age: A randomized clinical trial

https://www.sciencedirect.com/science/article/pii/S2095254625000602
2•PaulHoule•11m ago•0 comments

InfiniaxAI Just Automated Repositories

https://infiniax.ai
1•ZacharyGolinger•12m ago•1 comments

Show HN: Guess My RGB – Daily game to test your color visualization skills

https://rgb.day
1•balgan•12m ago•0 comments

Angry gamers are forcing studios to scrap or rethink new releases

https://www.washingtonpost.com/technology/2026/01/26/gamer-protests-ai-slop-backlash/
1•gnabgib•12m ago•0 comments

Pentagon clashes with Anthropic over military AI use, sources say

https://www.reuters.com/business/pentagon-clashes-with-anthropic-over-military-ai-use-2026-01-29/
1•pseudolus•15m ago•0 comments

Show HN: Best AI Image Generator

https://aiimagegenerators.net/
1•wangmao•16m ago•0 comments

Ex-Google engineer convicted of stealing AI secrets for Chinese companies

https://www.reuters.com/legal/government/ex-google-engineer-convicted-stealing-ai-secrets-chinese...
2•tokyobreakfast•20m ago•0 comments

Adult Humor Costumes

https://www.halloweencostumes.com/adult-humor-costumes.html
1•rolph•23m ago•1 comments

Ask HN: How do you reset an AppleID?

1•OhMeadhbh•26m ago•4 comments

Moving on from XML? A teaser for a possible alternative (2024)

https://genodians.org/nfeske/2024-12-20-moving-on-from-xml
1•doener•30m ago•0 comments

Having that high-deductible health plan might kill you, literally

https://arstechnica.com/health/2026/01/having-that-high-deductible-health-plan-might-kill-you-lit...
3•pseudolus•31m ago•3 comments

Sculpt OS Version 25.10

https://genode.org/download/sculpt
1•doener•34m ago•0 comments

Show HN: GLinksWWW – A student-built retro browser with a 9-slot multi-clipboard

https://github.com/rio719/gLinksWWW-browser
1•RioBurhan•34m ago•0 comments

Blessed.rs – An unofficial guide to the Rust ecosystem

https://blessed.rs/crates
2•Brysonbw•35m ago•0 comments

Show HN: A website that summarises all adopted texts of EU parliament

https://euforya.eu
1•krzysiek•36m ago•0 comments

Show HN: LLMGeoKit – Free scanner for AI/LLM visibility (the new SEO)

https://llmgeokit.com/
1•borxtrk•39m ago•1 comments

TikTok users flock to UpScrolled in response to new U.S. owners

https://mashable.com/article/tiktok-alternative-upscrolled-palestine-censorship
3•bhouston•40m ago•0 comments

The powerful tools in ICE's arsenal to track suspects – and protesters

https://www.washingtonpost.com/technology/interactive/2026/ice-surveillance-immigrants-protesters/
6•diogenes_atx•41m ago•1 comments

Trump says US decertifying Bombardier until Canada certifies Gulfstream

https://ca.finance.yahoo.com/news/trump-says-us-decertifying-bombardier-011312008.html
4•cosmicgadget•44m ago•1 comments

Show HN: Real-time generative MIDI "instrument"

https://soundipity.com/guide
1•nukenuke•45m ago•0 comments

Show HN: Record your screen and microphone 24/7 and sync to clawdbot instance

https://github.com/mediar-ai/screenpipe
1•louis030195•46m ago•0 comments

Terry Pratchett's novels may have held clues to dementia decade before diagnosis

https://theconversation.com/terry-pratchetts-novels-may-have-held-clues-to-his-dementia-a-decade-...
3•pseudolus•46m ago•1 comments

In the Beginning Is the End

https://gilpignol.substack.com/p/in-the-beginning-is-the-end
1•light_triad•48m ago•0 comments

Pogacar and Ku Coin

https://inrng.com/2026/01/ku-coin-pogacar-deal/
1•pietroppeter•48m ago•1 comments

Church of Molt · Crustafarianism

https://molt.church/
2•ianrahman•50m ago•0 comments

Foods That Could Kill You (If You Eat Enough of Them)(2013)

https://www.bonappetit.com/test-kitchen/ingredients/slideshow/foods-that-can-kill-you
1•rolph•54m ago•0 comments

How are you handling tiny website change requests?

https://getpushpilot.com/
2•ryan_rudd•54m ago•1 comments