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!

Which Apple Silicon builds iOS apps fastest?

https://benchmarks.bitrise.io/
1•theanonymousone•1m ago•0 comments

Grok Build coding agent leaks confidential info, some belonging to SpaceXSI

https://arstechnica.com/security/2026/11/grok-build-coding-agent-leaks-oodles-of-confidential-inf...
1•Palmik•2m ago•0 comments

Show HN: GraphFlow – system design diagrams that run in the browser

https://graph-flow-virid.vercel.app/
1•hanubaki•2m ago•0 comments

Understanding and Engineering Consciousness

https://astera.org/understanding-and-engineering-consciousness/
1•ersinesen•2m ago•1 comments

Fake accounts defended Jensen Huang and attacked lawmakers

https://www.modelrepublic.org/articles/nvidia-koios-campaign-sockpuppet-accounts
1•DeepLogin•4m ago•0 comments

We're still so small but I'm loving the team we've got at Superlogical

https://twitter.com/mitchellh/status/2120221244478083249
1•tosh•6m ago•0 comments

AI and Original Intentionality

https://johnoestmannmusic.com/ai-and-original-intentionality/
1•soundworlds•9m ago•0 comments

VirtualTryOn – AI try-on for clothes, glasses, rings, and hairstyles

https://virtualtryon.pro/
1•TinyMomentum•13m ago•0 comments

Firefox 160.0 Release Notes

https://www.firefox.com/en-US/firefox/160.0/releasenotes/
3•thunderbong•15m ago•0 comments

In Memoriam: Tim Peters 1952–2026

https://discuss.python.org/t/in-memoriam-tim-peters-1952-2026/110028
4•ayhanfuat•23m ago•0 comments

Ask HN: How do you share an open-source project without being treated as spam?

2•bonguynvan•24m ago•0 comments

It's Not as Simple as Putting Data Centers in Space [video]

https://www.youtube.com/watch?v=Xom0I1iQXHM
1•mkesper•24m ago•0 comments

Chatting with criminals: How ransom negotiations unfold

https://www.heise.de/en/background/Chatting-with-criminals-How-ransom-negotiations-unfold-1151950...
1•zirkuswurstikus•26m ago•1 comments

Job Search Well Being

https://job-search-wellbeing.netlify.app/
1•hunglee2•30m ago•0 comments

Jack and Jill Cut Candidate Screening Costs by 88% with Jev

https://typesafe.ai/blog/jack-jill-jev-case-study
2•datadrivenangel•31m ago•1 comments

Agent-Based Modeling: Worlds Within Worlds

https://santafe.edu/features/agent-based-modeling-worlds-within-worlds
3•baalimago•34m ago•0 comments

Data Falsificada #5: Fold Me Once

https://datacolada.org/141
1•rahimnathwani•34m ago•0 comments

CollabNote

https://collabnote.app/6f5wic7njio
1•sh13y•38m ago•0 comments

AI Cracks a Quantum Computing Bottleneck

https://arxiv.org/abs/2611.08151
1•tibastral2•40m ago•0 comments

Title: The O(n^{100}) Fraud: Why P vs. NP is a Physical Impossible

https://substack.com/
1•LIXUANYU•47m ago•0 comments

Monads in Lean

https://eli.thegreenplace.net/2026/monads-in-lean/
2•mfrw•55m ago•0 comments

Sharing common I/O across windows and Mac devices

https://utsv.work/blog/wisp/
1•singhutsav5501•57m ago•0 comments

Verano, AMD's first step toward a Zen-based superchip to rival Vera Rubin

https://www.theregister.com/systems/2026/11/10/a-closer-look-at-verano-amds-first-step-toward-a-z...
2•galaxyLogic•59m ago•0 comments

Show HN: Prolog-Powered Reverse WAF Logic Perimeter

https://prologwaf.site/
1•lokinpendawa•1h ago•0 comments

Anthropic Unveils Claude Whiteboards, Claude Sheets, and Claude Data

https://aidr.today/aa9b294e?lang=en
2•duyetdev•1h ago•0 comments

Subagents Conwidered Harmful

https://nikvdp.com/notes/subagents-considered-harmful/
3•nikvdp•1h ago•0 comments

Generative AI and the temporary upskilling of knowledge workers

https://www.nature.com/articles/s41562-026-02566-6
2•rohanm93•1h ago•0 comments

Best N8n Alternatives in 2026 (Open Source and Managed)

https://seliseblocks.com/blog/9-best-n8n-alternatives-in-2026-open-source-and-managed
1•meherabhossain•1h ago•0 comments

Brazil's AI Development Strategy Needs an Edge Layer – TechPolicy.Press

https://www.techpolicy.press/brazils-ai-development-strategy-needs-an-edge-layer/
1•rbanffy•1h ago•0 comments

Voice layer for any website – does it worth?

https://vopio.ai/
1•smartobject1978•1h ago•0 comments