frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Loss of epigenetic information as a cause of mammalian aging

https://www.cell.com/cell/fulltext/S0092-8674(22)01570-7
1•andsoitis•7m ago•0 comments

Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML

https://acai.sh/blog/specsmaxxing
1•brendanmc6•13m ago•1 comments

The AI coding tool config problem is getting worse, not better

https://github.com/sampleXbro/agentsmesh
2•samplexBro•15m ago•0 comments

FDA Clearance of IND Application for ER-100 in Optic Neuropathies

https://www.lifebiosciences.com/life-biosciences-announces-fda-clearance-of-ind-application-for-e...
1•andsoitis•17m ago•0 comments

Show HN: Seeker – Career Routing Engine

https://www.seekerscore.com
1•danylchukllc•18m ago•1 comments

Evaluating ER-100 for Safety in People with Glaucoma or Optic Nerve Conditions

https://clinicaltrials.gov/study/NCT07290244
1•andsoitis•19m ago•0 comments

Tython – Just a Small Language

https://github.com/younissk/tython
1•modinfo•23m ago•1 comments

Artisan (YC W24) uses AI to rip off "This is Fine" artist for ad

https://bsky.app/profile/kcg.bsky.social/post/3mkwcpx45q223
1•starkparker•23m ago•0 comments

The Final Form of Software Development

https://blog.zksecurity.xyz/posts/end-coding/
2•ricochet11•24m ago•0 comments

Deep Dive into the OTel Normalizer groundcover Built for GenAI

https://www.groundcover.com/blog/otel-normalizer-genai-part-2
1•thebitofmyheart•27m ago•0 comments

MathStudio Android APK modernized for Android >= 7

https://github.com/woct0rdho/mathstudio-apk-modernized
1•woctordho•45m ago•1 comments

Unruly Play

https://www.unrulyplay.com/
3•bkudria•48m ago•0 comments

I Wrote Ultralearning. This Is What I'd Change Because of AI

https://www.scotthyoung.com/blog/2026/04/29/ultralearning-ai/
2•pullshark91•49m ago•0 comments

Show HN: UIGen – Runtime front end for any OpenAPI spec with AI skills

https://github.com/darula-hpp/uigen
3•ombedzi•50m ago•0 comments

Turning live heart rate data into a generative audio story

https://runnory.com/blog/heart-rate-writes-the-story
2•danultimateb•51m ago•1 comments

Engaging Essays in Cosmology [1971-2026]

https://archive.org/details/a.-tomilin-engaging-essays-in-cosmology-mir-titles-2026
3•the-mitr•55m ago•0 comments

Yann LeCun's Billion Dollar Bet [video]

https://www.youtube.com/watch?v=kYkIdXwW2AE
1•mfiguiere•58m ago•0 comments

Show HN: Stay Lean – Calorie Navigation

https://apps.apple.com/us/app/stay-lean-calorie-navigation/id6762153463
1•janpmz•59m ago•1 comments

Making Postman load 60% Faster

1•vedkribhu•1h ago•1 comments

Model Engines Manufacturable drawings/plans

https://outerzone.co.uk/plans.asp?cat=Engines&Xcardsperpage=48
1•pillars•1h ago•0 comments

I wrote a custom CUDA inference engine to run Qwen3.5-27B on $130 mining cards

https://news.ycombinator.com/submit
2•Haru-neo•1h ago•0 comments

Einstein's Big Idea Documentry(2005) - 1h 49M [video]

https://thinktv.pbslearningmedia.org/resource/nvfb-sci-einsteinsidea/wgbh-nova-einsteins-big-idea...
1•num42•1h ago•0 comments

Pgxbackup: Continuity Support for PgBackRest

https://thebuild.com/blog/2026/05/01/pgxbackup-continuity-support-for-pgbackrest/
1•thunderbong•1h ago•0 comments

Show HN: Keryx: TypeScript framework where one Action becomes HTTP, WS, CLI, MCP

https://www.keryxjs.com
1•evantahler•1h ago•1 comments

The Reality of Being a Man in Your 50s in South Korea

https://indignified.com/the-hidden-realities-of-midlife-masculinity-in-south-korea/
12•ZguideZ•1h ago•4 comments

Mouse Pointer as a Mere Mortal

https://unsung.aresluna.org/mouse-pointer-as-a-mere-mortal/
1•zdw•1h ago•0 comments

Quantum Machine Learning: A Pragmatic Guide for Classical ML Engineers

https://pawankjha.substack.com/p/quantum-machine-learning-the-pragmatic
2•pawanjha25•1h ago•0 comments

Redesigning Agent Skills – two missing parts

https://simianwords.bearblog.dev/what-agent-skills-misses-now/
1•simianwords•1h ago•0 comments

NodeMind – binary document index, 48× smaller than float32 RAG, no GPU required

https://github.com/QLNI/NodeMind
2•Nodemind•1h ago•0 comments

MX Script: a scripting language for one file web APIs

https://www.mxscript.com/
2•jlkdevelop•1h ago•0 comments