frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

1•kyriakosel•29s ago

Everything Is BOM: Bill of Materials Encyclopedia

https://bomwiki.com/
1•sebg•1m ago•0 comments

Accenture shares fall to lowest since 2017 as AI threat mounts

https://www.ft.com/content/9f063b07-da39-4feb-92ab-ee0f91385c62
2•root-parent•2m ago•1 comments

Never Waste a Token

https://sunilpai.dev/posts/never-waste-a-token/
2•gmays•3m ago•0 comments

Experimental Rust DRM driver targets modern DisplayLink hardware

https://www.phoronix.com/news/Experimental-Vino-DRM-Driver
2•logickkk1•6m ago•0 comments

Show HN: Veneerly – See your own face with veneers before you commit

https://www.tryveneerly.com/
2•dsstudios•8m ago•0 comments

London Heathrow Expansion Masterplan [pdf]

https://assets.publishing.service.gov.uk/media/6a33041e00ff27f06e3ef9df/proposed-draft-revision-t...
2•jupin•10m ago•1 comments

Healthcare workers emailed about a day off — but it was a cybersecurity test

https://www.cbc.ca/news/canada/newfoundland-labrador/nlhs-phishing-email-9.7238374
3•ChrisArchitect•11m ago•0 comments

Memory Model V3 – LTM/STM Architecture with AEIL Compression for AI

https://github.com/anthonystaiger8-bit/memory-model
2•Anthonystaiger•13m ago•0 comments

Livespace: Making the Web come Alive

https://jasebroderick.substack.com/p/livespace-making-the-frontend-come
2•jobroder95•13m ago•0 comments

Opensource: Gibraltar Legal, Regulatory and Compliance Osint Skills File (AI)

https://github.com/Flipsta/Giblegal/blob/main/Gibraltar%20Legal%20Regulatory%20Compliance%20OSINT...
2•PhilipV•14m ago•1 comments

Show HN: Are You in the Weights?

https://www.intheweights.com/
4•turtlesoup•15m ago•0 comments

Crundi – a self-hosted remote workbench you reach from anywhere

https://github.com/TheRealFaruhaan/crundi
2•TheRealFaruhaan•16m ago•0 comments

Florida's TikTok lawsuit could signal wider social media crackdown

https://www.politico.com/news/2026/06/17/florida-tiktok-lawsuit-social-media-crackdown-00963945
3•1vuio0pswjnm7•16m ago•1 comments

Show HN: Torum – your own portable HN clone

2•smalltorch•17m ago•0 comments

Amazon Workers Say Data Center Testimony Prompted HR Calls

https://www.bloomberg.com/news/articles/2026-06-18/amazon-workers-say-data-center-testimony-promp...
2•1vuio0pswjnm7•18m ago•0 comments

A Common Sense Guide to Volatility Trading [Code Included]

https://www.quant-galore.com/p/a-common-sense-guide-to-volatility
1•alphanume•18m ago•0 comments

Oalabs catch hacker using Claude for black hat, but exposed resume from prompts

https://research.openanalysis.net/claude/codex/hacking/ai%20hacking/llm/redteam/policy%20violatio...
1•king_zee•19m ago•0 comments

Fed regulators order grid operators speed power to energy-hungry AI data centers

https://apnews.com/article/power-electricity-ai-plants-data-centers-grid-506e3d206871111f15c3c62f...
2•1vuio0pswjnm7•20m ago•0 comments

Guide to the TD4 4-bit DIY CPU

https://www.philipzucker.com/td4-4bit-cpu/
1•andrewstuart•20m ago•0 comments

Handy Statistical Lexicon (2009)

https://statmodeling.stat.columbia.edu/2009/05/24/handy_statistic/
1•Tomte•22m ago•0 comments

MCP that lets Codex/Claude search LinkedIn

https://www.veronaresearch.com/
1•menwithoutwomen•22m ago•0 comments

Surpassing Frontier Performance with Open Source Fusion

https://trustedrouter.com/blog/open-fusion-beats-fable-5
1•ljlolel•23m ago•0 comments

Why coding agents lose the thread, and why repository itself should preserve it

https://medium.com/techtrends-digest/maybe-coding-agents-dont-need-a-bigger-memory-maybe-they-nee...
1•errekaldeko•25m ago•0 comments

Mechanical Movements

https://507movements.com
2•dgellow•27m ago•0 comments

A TV Transmitter from an STM32

https://hackaday.com/2026/02/24/a-tv-transmitter-from-an-stm32/
4•andrewstuart•28m ago•0 comments

We Gave the Robot a Team

https://www.seyhan.me/blog/post/we-gave-the-robot-a-team
3•speckx•32m ago•0 comments

Show HN: OSymandias – Open-source runtime for multi-agent AI systems

https://github.com/andreisilva1/OSymandias
2•andreisilva1•32m ago•0 comments

Show HN: bote - A fast, modern and low-memory approach to processing a big JSON

https://github.com/jankdc/bote
3•jankdc•32m ago•1 comments

Interviewing in the Post-LLM World

https://gitnation.com/contents/interviewing-in-the-post-llm-world
2•dunyakirkali•34m ago•0 comments