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: Unpuzzld – escape-room style puzzles you can share with a QR code

https://unpuzzld.com
1•4umfreak•43s ago•1 comments

Hidden Order: How Adaptation Builds Complexity [pdf]

https://vdoc.pub/download/hidden-order-how-adaptation-builds-complexity-helix-books-7fb3c54faic0
1•rolph•11m ago•0 comments

Automating model design for edge AI

https://deepgate.ai/blog/neural-architecture-search
1•webstorms•14m ago•0 comments

Our edge AI compiler outperforms Google and vendor toolchains

https://deepgate.ai/blog/compiler
1•webstorms•15m ago•0 comments

Made with Claude for Claude:Interactive Labs:Learn Claude Chat, Cowork, and Code

https://professorprompts.com
1•Anelven•17m ago•0 comments

Iran requires insurance on ships using Strait of Hormuz, fees likely to follow

https://www.lloydslist.com/LL1157571/Iran-imposes-mandatory-insurance-on-ships-transiting-Strait-...
5•decimalenough•20m ago•0 comments

Get with the times – here's what a 'Luddite' means today

https://www.npr.org/2026/06/19/nx-s1-5853589/luddite-meaning-history-ai
2•cdrnsf•22m ago•0 comments

Russell Vought is going to destroy American Science

https://elizabethginexi.substack.com/p/summary-of-key-changes-in-ombs-proposed
2•tacomonstrous•24m ago•0 comments

Boarding Pass Is a Skeleton Key. Frontier Airlines Doesn't Care

https://bobdahacker.com/blog/frontier-airlines-hack
3•scrtm•26m ago•1 comments

What are good benchmarks to test my CLI AI agentic system?

https://www.minovativemind.dev/
1•daniel_ward•29m ago•0 comments

Eve validates the shape. Now pick your runtime

https://dawnai.org/blog/eve-validates-the-shape
1•brian_love•29m ago•0 comments

Email reporting is still a spreadsheet problem in 2026

https://emailcalculator.com
1•emailcalculator•30m ago•0 comments

Liquid glass that bends the page behind it as you scroll

https://codequest.work/generator/liquid-glass-css-generator/en/
1•ORECTIC•30m ago•0 comments

Best Designs on X.com

https://bestdesignsonx.com/
3•vignesh_warar•32m ago•0 comments

Algae clouded Trump's vision for the Reflecting Pool. scientists not surprised

https://www.npr.org/2026/06/19/nx-s1-5863044/dc-reflecting-pool-algae-green-trump
4•rolph•34m ago•0 comments

Accepted proposal: a goroutine leak profiler in the Go standard library

https://rednafi.com/shards/2026/06/go-goroutine-leak-profile/
1•kristianp•35m ago•1 comments

Show HN: Ratchet – let an AI agent reflash your BIOS over a CH341A (MCP server)

https://github.com/jackulau/ratchet
1•JackLau•39m ago•0 comments

GPU Puzzles (2021)

https://github.com/srush/gpu-puzzles
1•sonabinu•39m ago•0 comments

Knowledge workers don't need frontier models

https://mukulsingh105.github.io/articles/slm-routing-knowledge-workers.html
1•azhenley•43m ago•0 comments

Making Sense of Data from Wearable Health Trackers

https://undark.org/2026/06/16/opinion-wearable-health-tracker-data/
2•EA-3167•44m ago•0 comments

Ask HN: Why is there suddenly a downvote button?

2•SpyCoder77•45m ago•2 comments

Show HN: Evaluating Local LLMs as language translators for my app

https://lector.dev/eval/
4•3stacks•45m ago•2 comments

The scandal of two-tier degrees Extra time infantilizes students

https://unherd.com/2026/05/the-scandal-of-two-tier-degrees/
2•grimcompanion•46m ago•0 comments

The AI startup with no AI: Aussie boss jailed for misleading investors

https://www.smh.com.au/technology/australian-start-up-boss-who-faked-revenue-gets-nine-years-jail...
6•contingencies•48m ago•2 comments

Show HN: StaleTrace – A temporal ledger that catches stale-state agent bugs

https://stale-trace.vercel.app/
2•zahraarman•49m ago•0 comments

Need guidance on Go-To-Market strategy

3•brainstorm23•57m ago•4 comments

Claude FM music for thinking and building [video]

https://www.youtube.com/watch?v=tRsQsTMvPNg
4•gjvc•58m ago•0 comments

Ask HN: Will programmers write more efficient code during the memory shortage?

34•amichail•1h ago•47 comments

Ask every top AI at once. Compare. Pick the best

https://gangstaai.org/
2•MarkoRocko•1h ago•2 comments

Show HN: I built an extendable full document markup language

https://longform.occultist.dev
2•angrybards•1h ago•0 comments