frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Cosmonauts Algorithm: Soviet Scientists Invented Predictive Health Monitoring

https://valeman.medium.com/the-cosmonauts-algorithm-how-soviet-scientists-invented-predictive-hea...
1•dvfjsdhgfv•2m ago•0 comments

Image-GS: Content-Adaptive Image Representation via 2D Gaussians

https://github.com/NYU-ICL/image-gs
1•jasonjmcghee•2m ago•0 comments

Wild Performance Tricks in Rust

https://davidlattimore.github.io/posts/2025/09/02/rustforge-wild-performance-tricks.html
1•fanf2•3m ago•0 comments

Claude Code Degradation: A postmortem of three recent issues

https://www.anthropic.com/engineering/a-postmortem-of-three-recent-issues
2•moatmoat•4m ago•0 comments

Show HN: A new platform similar to codepen.io

https://crazycontext.com/
1•liszper•5m ago•0 comments

Integrating ClickHouse into your React app

https://clickhouse.com/blog/clickhouse-powered-apis-in-react-app-moosestack
1•craneca0•6m ago•0 comments

Build AI Voice Mobile Apps

https://www.bravostudio.app/ai-voice
1•petercod•7m ago•0 comments

Government gestures leave roots of Indonesia protests intact

https://www.japantimes.co.jp/news/2025/09/02/asia-pacific/politics/indonesia-protests-root-proble...
1•PaulHoule•9m ago•0 comments

A better future for JavaScript that won't happen

https://drewdevault.com/2025/09/17/2025-09-17-An-impossible-future-for-JS.html
1•er0k•9m ago•0 comments

Is AI a Bubble? [Exponential View]

https://www.exponentialview.co/p/is-ai-a-bubble
2•witch-king•10m ago•0 comments

Building a "Yogurt Phone" with eBPF and netkit: a surprisingly deep rabbit hole

https://blog.yadutaf.fr/2025/09/16/creating-a-yogurt-phone-with-netkit-ebpf/
2•jtlebigot•10m ago•0 comments

Rethink Robotics shuts down again

https://www.therobotreport.com/rethink-robotics-shuts-down-again/
2•ilamont•11m ago•0 comments

Uber Kraken is back? New releases

https://github.com/uber/kraken/releases
1•vkoshkarov•11m ago•0 comments

They tested video games in the nineties

https://spillhistorie.no/2025/09/17/how-they-tested-video-games-in-the-nineties/
1•huftis•12m ago•0 comments

Trade Joe's Does Not Have Surveillance Cameras

https://dan.bulwinkle.net/blog/trader-joes-does-not-have-surveillance-cameras/
1•pilingual•18m ago•0 comments

Show HN: Pgmcp, an MCP server to query any Postgres database in natural language

https://github.com/subnetmarco/pgmcp
2•fosk•18m ago•0 comments

Show HN: Create Vector Graphics with AI

https://svg.new/?model=gemini25flash
1•tm11zz•19m ago•0 comments

Steering Committee Retrospective

https://www.haskellforall.com/2025/09/steering-committee-retrospective.html
3•todsacerdoti•22m ago•0 comments

As U.S. jobs disappear, the Federal Reserve returns to rate cuts

https://www.cnbc.com/2025/09/17/as-us-jobs-disappear-the-federal-reserve-returns-to-rate-cuts.html
3•rntn•25m ago•0 comments

Dawn of the Self-Building A.I

https://puck.news/is-aloe-the-first-self-building-ai/?sharer=743454&token=6c34705e634fd15fb42e9fa...
1•justcallmejm•26m ago•0 comments

Cooklang – A Recipe Markup Language

https://cooklang.org/
2•smartmic•28m ago•0 comments

Show HN: MeldSecurity – Run Popular Security Tools in the Browser (Free)

https://meldsecurity.com
2•wowohwow•30m ago•0 comments

Protein Synthesis (1971) [video]

https://www.youtube.com/watch?v=3GfWZy6SSAg
2•CharlesW•31m ago•0 comments

Total Epistemic Divorce

https://murmurationstwo.substack.com/p/total-epistemic-divorce
1•ca98am79•35m ago•0 comments

Chinese dissident who led pro-democracy group in NYC guilty of spying for CCP

https://apnews.com/article/chinese-dissident-nyc-spying-prodemocracy-9a19aeeed01ce3dafc7bcfda2f91...
4•SilverElfin•39m ago•1 comments

Why Things Go to Shit

https://www.everythingisbullshit.blog/p/why-things-go-to-shit
2•speckx•40m ago•0 comments

Quantum canvases: a "painted debate" on free will

https://nirvanicai.substack.com/p/quantum-canvases-a-painted-debate
1•spazoon•42m ago•0 comments

Google and PayPal Forge Multiyear Partnership to Revolutionize Commerce

https://www.googlecloudpresscorner.com/2025-09-17-Google-and-PayPal-Forge-Multiyear-Partnership-t...
2•s-kymon•43m ago•1 comments

Omarchy v3.0.0 Release

https://github.com/basecamp/omarchy/releases/tag/v3.0.0
4•lwhsiao•45m ago•0 comments

CEOs of Discord, Steam, Twitch, Reddit Invited to Testify on User Radicalization

https://oversight.house.gov/release/chairman-comer-invites-ceos-of-discord-steam-twitch-and-reddi...
2•Svip•46m ago•0 comments