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!

Funding better evaluations of AI's impact on wellbeing

https://www.anthropic.com/news/wellbeing-research-grants
1•surprisetalk•2m ago•0 comments

Show HN: A portable evidence record for what an AI agent ran

https://trace.agentrust-io.com/
1•mosiddi•2m ago•0 comments

Achieving Out of Order in My CPU

https://www.outercloud.dev/blogs/riscv-3/
1•outercloud•3m ago•0 comments

Intel Diamond Rapids the 2027 Intel Xeon at Hot Chips 2026

https://www.servethehome.com/intel-diamond-rapids-the-2027-intel-xeon-at-hot-chips-2026/
1•ksec•3m ago•0 comments

A Haiku maker for digital artists

https://www.goodboy.ninja/apps/haiku
1•goodboyninja•4m ago•0 comments

Thinking Is Slow. Copying Is Fast

https://michaelgv.uk/posts/2026/08/thinking-is-slow-copying-is-fast/
1•NesquikMike•4m ago•0 comments

US judge postpones Lockerbie bombing trial over new evidence

https://www.scmp.com/news/world/united-states-canada/article/3365118/judge-postpones-us-trial-lib...
1•Markoff•5m ago•0 comments

Branded Types and Connascence of Execution

https://www.dearlordylord.com/blog/branded-types-connascence-of-execution/
1•Firfi•6m ago•1 comments

Ora benchmarks every major AI agent on Vercel – Customers

https://vercel.com/customers/how-ora-benchmarks-every-major-ai-agent-on-vercel
1•kyisaiah47•7m ago•0 comments

Run Minecraft in a Windows Sandbox for Computer Use Agents

https://cua.ai/docs/how-to-guides/sandbox/minecraft
3•someguy101010•7m ago•0 comments

Windows Syscall Tables

https://github.com/hfiref0x/SyscallTables
1•wolfi1•7m ago•0 comments

Christopher Hitchens's Ten Commandments – Vanity Fair [video]

https://www.youtube.com/watch?v=v-63cTYJDCA
1•nomilk•8m ago•0 comments

Recommendations When Using LLM-Backed GenAI Systems for FOSS Contributions

https://sfconservancy.org/llm-gen-ai/llm-backed-generative-ai-recommendations.html
3•smartmic•8m ago•0 comments

Show HN: CanvasForMusic – I made a free Spotify Canvas maker that doesn't suck

https://canvasformusic.com
1•matherslabs•9m ago•0 comments

Twinly Lab – AI Twin Marketplace for Creators

https://twinlylab.com/
1•aleksnowacki•11m ago•0 comments

GrapheneOS Apps

https://www.sacredheartsc.com/blog/grapheneos-apps/
1•cullumsmith•11m ago•0 comments

What Is the Point of the DMA?

https://daringfireball.net/2026/08/what_is_the_point_of_the_dma
1•MBCook•12m ago•0 comments

Show HN: TheGitAI – A model-agnostic coding agent for your terminal

https://thegit.ai/
2•waximabbax•14m ago•0 comments

Auditing 5,284 dbt models across 13 public repos for analytics-agent readiness

https://blog.getcassis.com/dbt-context-for-analytics-agents/
1•matthieu_bl•15m ago•1 comments

Show HN: ToolHub – Free browser based tools that process files locally

https://toolhub.divyanshupatel.com
1•divyanshupatel_•15m ago•0 comments

Alabama Coming for OpenAI

https://www.cnn.com/2026/08/24/tech/openai-subpoena-hugging-face-attorney-general-alabama
3•vc14•17m ago•2 comments

An Introduction to Canvas in GNU Emacs

https://monadicsheep.org/blog/an-introduction-to-canvas-in-emacs.html
2•chiply•17m ago•0 comments

New to Hacker News

3•akhtaaar•17m ago•2 comments

Show HN: Fingerink – Write with your finger on old Kindle Paperwhite

https://github.com/SMUsamaShah/fingerink.koplugin
1•smusamashah•18m ago•1 comments

Show HN: minuteboard – an editorialized imageboard with a minutes based economy

https://scramblecrossing.net/
1•concraper•18m ago•0 comments

Hall of Hallucinated Citations in Published Papers

https://veruscite.com/hallucinations
2•apwheele•19m ago•0 comments

PgDog vs. RDS Proxy

https://pgdog.dev/blog/pgdog-vs-rds-proxy
2•levkk•21m ago•0 comments

Developer Hiring and the Market for Lemons

https://danluu.com/hiring-lemons/
1•rzk•22m ago•0 comments

Webbynode Bang for Buck: Hetzner CPX22 at $23, Still a Bargain?

https://webbynode.com/articles/bang-for-buck-3-hetzner-cpx22-nuremberg
1•gsgreen•22m ago•0 comments

Weird Websites

https://webernaut.com/weird-websites
3•gregsadetsky•22m ago•0 comments