frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Perspective-stable 3D pixel art using Texel Splatting

https://dylanebert.com/texel-splatting/
1•ffin•49s ago•0 comments

What Is Pub/Sub?

https://encore.dev/blog/pubsub
1•andout_•1m ago•0 comments

Be sinceerly human – AI to undo your AI writing

https://sinceerly.com/
1•arnon•1m ago•0 comments

Let It Slop: A New Approach to Modularity in the Age of AI Code Generation

https://tomash.wrug.eu/blog/2026/04/19/new-modularity/
2•stanislavb•4m ago•0 comments

Xiaomi MiMo-v2.5-Pro

https://mimo.xiaomi.com/mimo-v2-5-pro/
2•jnd0•5m ago•0 comments

OpenAI Stargate: where the US sites stand

https://epochai.substack.com/p/openai-stargate-where-the-us-sites
2•gmays•6m ago•0 comments

LocalDom: Generate APIkey for Local LLM

https://github.com/fambaseOU/localDom
2•ndukaaniemeka•7m ago•1 comments

Ask HN: Open-Source Coding Model and Harness at Claude Sonnet / Opus Level Perf?

2•connecteev•8m ago•0 comments

Our automatic failover became an NSFW content delivery pipeline

https://blog.t1ll.com/we-gave-one-dollar/
2•t1ll•8m ago•0 comments

Proposed Chinese Robot Ban Is Latest U.S. Tech Sovereignty Move

https://spectrum.ieee.org/chinese-robots-us-ban
2•voxadam•9m ago•0 comments

Show HN: AI tool to rank 100 of CVS against a job description in minutes

https://aicvscreening.com
2•IOZ•9m ago•1 comments

Show HN: OpenHuman, an AI agent with a subconscious loop

https://github.com/tinyhumansai/openhuman
2•enamakel•10m ago•0 comments

YouTuber 'invisible' to America's army of cameras with anti-surveillance device

https://www.pcgamer.com/hardware/youtuber-goes-invisible-to-americas-army-of-cameras-with-his-usd...
2•evo_9•11m ago•0 comments

Frontier AI labs taking open-source and releasing it as a product

2•ainthusiast•12m ago•1 comments

LocalForge – Self-hosted LLM control plane with ML routing

https://github.com/al1-nasir/LocalForge
2•al1nasir•12m ago•0 comments

How we fixed prompt injection for all models on Fireworks

https://fireworks.ai/blog/safe-tokenization-preventing-prompt-injection-on-fireworks
2•smurda•13m ago•1 comments

Human drivers keep crashing into Waymos

https://www.understandingai.org/p/human-drivers-keep-crashing-into-454
2•speckx•15m ago•1 comments

Marathon training: Why hot baths might help you run faster

https://theconversation.com/marathon-training-why-hot-baths-might-help-you-run-faster-276796
2•PaulHoule•15m ago•0 comments

Cory Doctorow Admits Using a Slop-Machine to Produce His Drone of Propaganda

https://backlit.neocities.org/doctorow-admits-using-a-slop-machine-to-produce-his-propaganda
1•airhangerf15•15m ago•0 comments

Roo Code pivots to cloud-based agent, says IDEs aren't the future of coding

https://thenewstack.io/roo-code-cloud-ides-ai-coding/
2•Brajeshwar•15m ago•0 comments

Show IH: Knowledge Core

https://www.indiehackers.com/post/show-ih-knowledge-core-ecdf1646af
2•Ameya0•16m ago•0 comments

Show HN: Nimble.css minimal classless CSS library for great-looking default HTML

https://leftium.github.io/nimble.css/
2•Leftium•17m ago•1 comments

ChatGPT vs. a specialized medical AI on 5 clinical cases (verbatim outputs)

https://wizey.one/blog/2026/04/17/wizey-vs-chatgpt-5-clinical-cases-experiment/
2•wizeyone•17m ago•1 comments

Show HN: Reducing a 66-node dependency cycle to 13 in Scrapy

https://pvizgenerator.com/showcase/2026-04-scrapy-scc-refactor
2•pvizgenerator•18m ago•0 comments

High Intensity Functional Training: A Scoping Review (2025)

https://pmc.ncbi.nlm.nih.gov/articles/PMC12550923/
2•wslh•18m ago•0 comments

Browser using agents relying on expensive residential proxies?

4•maxalbarello•18m ago•0 comments

Anthropic: Using large language models to scale scalable oversight

https://www.anthropic.com/research/automated-alignment-researchers
1•theorchid•20m ago•0 comments

Show HN: Turning a Gaussian Splat into a Videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
2•yak32•21m ago•0 comments

'Staggering' number of people believe unproven claims about vaccines, raw milk

https://www.nature.com/articles/d41586-026-01285-2
4•voxadam•21m ago•2 comments

Teaching AI models to say "I'm not sure"

https://news.mit.edu/2026/teaching-ai-models-to-say-im-not-sure-0422
2•danroth27•22m ago•0 comments