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!

Show HN: Niche – outdoor sports conditions forecast

https://www.nichesports.eu/
1•MirceaOprea•53s ago•0 comments

Did AI write this? It's getting harder to tell

https://www.ft.com/content/f100c90b-c138-4125-aaa7-853b77690db9
1•cs702•3m ago•0 comments

Show HN: DeepSeekGUI – A Windows desktop client for DeepSeek's coding agent

https://github.com/See-Sol-Lab/DeepSeekGUI
1•Goumang•3m ago•0 comments

Is Slate Auto's new electric truck the EV Americans need?

https://www.technologyreview.com/2026/08/27/1142953/electric-truck-slate-auto/
1•joozio•4m ago•0 comments

A Network That Can Wait

https://artemandreenko.com/blog/a-network-that-can-wait/
1•miovoid•4m ago•0 comments

Results for LLM usage in Debian (vote)

https://lists.debian.org/debian-vote/2026/08/msg00360.html
1•ckastner•4m ago•0 comments

Ask HN: Why is there a Default to 4G?

1•zahirbmirza•4m ago•0 comments

Four faces of information in natural systems [pdf]

https://www.nature.com/articles/s42254-026-00971-4.epdf
1•__patchbit__•5m ago•0 comments

Post on X in your native language

https://chromewebstore.google.com/detail/gndbphllkdajhkbmpcddbonifpbbdane/preview?hl=pl&authuser=4
1•42echo•6m ago•0 comments

Prevent deploying broken links to your blog

https://www.codedge.de/posts/prevent-broken-links-in-hugo
1•codedge•8m ago•0 comments

White House teleprompter operator ordered to pay $172K for insider trading

https://www.nbcnews.com/politics/white-house/trump-teleprompter-operator-ordered-pay-172k-predict...
3•geox•9m ago•0 comments

A Collection of Ed Zitron Predictions

https://www.reddit.com/r/accelerate/comments/1w0s61w/a_collection_of_ed_zitron_predictions/
1•timpera•9m ago•0 comments

What we optimise for when we reach for an LLM

https://exploring-better-ways.bellroy.com/what-we-optimise-for-when-we-reach-for-an-llm.html
1•michaelwebb76•11m ago•0 comments

Convert Images to WebP in Seconds on Your Mac

https://medium.com/@chris.ahrweiler/convert-images-to-webp-in-seconds-on-your-mac-e39d3b21bc5a
1•docjojo•14m ago•0 comments

Twitter Viewer

https://twitterviewer.net
1•franczesko•15m ago•0 comments

Show HN: Editorial PR and guest post placements, without the guesswork

https://pr.seolutions.biz/
1•not_wowinter14•15m ago•0 comments

Find All Solutions to LinkedIn-Queens Puzzle

https://wyounas.github.io/model-checking/puzzles/2026/06/06/finding-all-solutions-to-linkedin-que...
1•simplegeek•16m ago•0 comments

Kamal deploy rewritten in Go (minimal version)

https://github.com/beint-no/gamal
1•gamalman•16m ago•0 comments

No Thank You

https://jsrn.net/personal/2026/08/21/no-thank-you.html
1•theorchid•16m ago•0 comments

Gulf Oil Exports at Two Thirds of Pre War Level

https://www.bloomberg.com/news/articles/2026-08-28/goldman-says-hormuz-oil-flows-at-two-thirds-of...
1•breppp•21m ago•0 comments

SpaceX recovers Starship from the Indian Ocean a month after launch and is shipp

https://phys.org/news/2026-08-spacex-recovers-starship-indian-ocean.html
1•bookmtn•23m ago•0 comments

GentleOS/32 hobby OS for vintage 32-bit PCs

https://luke8086.dev/gentleos32
1•thinkingemote•27m ago•0 comments

Navigating Trade-Offs in a Large-Scale Legacy Transformation

https://www.youtube.com/watch?v=gQarvenJvjA
1•aoma_conference•28m ago•0 comments

Primer: Worktrees and Coding Agents

https://davidgomes.com/worktrees-coding-agents/
1•davidgomes•34m ago•0 comments

Ukrainian Farmer Finds Genius Way to Destroying Putin's Empire [video]

https://www.youtube.com/watch?v=20qP0cYzK3M
1•CHB0403085482•35m ago•0 comments

DHH: On AI

https://www.youtube.com/watch?v=NYFGCESmikA
2•FirstClassTree•35m ago•0 comments

Debugging and Exploring Parquet Files with Local SQL Queries

https://capytoolkit.com/blog/developer-tools/debugging-and-exploring-parquet-files-with-local-sql...
2•ChillyCapy•37m ago•0 comments

Ask HN: Why do we need MCP?

3•jwally•38m ago•6 comments

A Dialect of JavaScript with Defer(s)

https://github.com/xjslang/djs
1•GonzaloCV•39m ago•1 comments

An extensible coding agent for the modern Lisp hacker

https://github.com/kleisli-io/kli
1•oumua_don17•43m ago•0 comments