frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

The parking lot that's keeping the lights on

https://www.begiant.ca/stories/places/solar-parking-lots-energy-emissions
1•Teever•2m ago•0 comments

Reflecting on my own strange year at Uber

https://anon-ex-uber.medium.com/reflecting-on-my-own-strange-year-at-uber-e73165422245
1•anon-ex-uber•2m ago•0 comments

Education research is weak and sloppy. Why?

https://www.theargumentmag.com/p/education-research-is-weak-and-sloppy
1•barry-cotter•5m ago•0 comments

Show HN: Nilbox – Run OpenClaw without exposing your API tokens

https://nilbox.run/
1•rednakta•6m ago•0 comments

The Centaur Era

https://secondthoughts.ai/p/the-centaur-era
1•gk1•8m ago•0 comments

No one can force me to have a secure website [pdf]

https://tom7.org/httpv/httpv.pdf
1•djoldman•9m ago•0 comments

TokensAI – Mint for AI Usage

https://tokensai.dev
1•SowjanyaY•10m ago•0 comments

GCC Compiler Adds Arm AGI CPU Target

https://www.phoronix.com/news/GCC-Arm-AGI-CPU
1•Bender•11m ago•0 comments

Linux 7.1 Crypto Code Rework Enables More Optimizations by Default

https://www.phoronix.com/news/Linux-7.1-Crypto
1•Bender•12m ago•0 comments

Wine 11.7 Brings VBScript Fixes, DirectSound 7.1 Channel Support

https://www.phoronix.com/news/Wine-11.7-Released
1•Bender•12m ago•0 comments

Show HN: Irl.rent – What renters pay, not what's listed in SF

2•rajatady•13m ago•0 comments

Show HN: PodWarden – A catalog of 9k+ self-hosted apps with one-click deploy

https://www.podwarden.com/
2•rayneclarke•15m ago•0 comments

Show HN: Llama.cpp Tutorial 2026: Run GGUF Models Locally on CPU and GPU

3•anju-kushwaha•16m ago•0 comments

Conway's Game of Life with Penrose and Voronoi tilings

https://life.au.pe/
1•satchlj•17m ago•0 comments

PyCon US 20216

https://us.pycon.org/2026/
2•vismit2000•21m ago•0 comments

Steno – Compressed memory with RAG for AI agents

https://github.com/KultMember6Banger/steno
1•KM6B•27m ago•1 comments

Zoom teams up with World to verify humans in meetings

https://techcrunch.com/2026/04/17/zoom-teams-up-with-world-to-verify-humans-in-meeting/
1•rfarley04•29m ago•2 comments

Ludum Dare will officially end in October 2028

https://www.gamedeveloper.com/production/ludum-dare-will-officially-end-in-october-2028
3•matthew_hre•32m ago•0 comments

Researchers Stole $10k from MKBHD's Locked iPhone

https://www.macrumors.com/2026/04/15/apple-pay-visa-transit-exploit/
3•zacharyozer•34m ago•0 comments

Simple Machines

https://en.wikipedia.org/wiki/Simple_machine
1•ogogmad•35m ago•0 comments

Generating Hierarchical JSON Representations of Scientific Sentences Using LLMs

https://arxiv.org/abs/2603.23532
1•PaulHoule•36m ago•0 comments

How Australia Stopped the Boats

https://worksinprogress.co/issue/how-australia-really-stopped-the-boats/
2•barry-cotter•37m ago•1 comments

Northern Lights Visible in US Friday and Saturday

https://www.livescience.com/space/the-sun/northern-lights-may-be-visible-from-several-us-states-f...
3•dlx•40m ago•0 comments

Do I Stop Learning Coding? DSA?

2•s_u_d_o•43m ago•4 comments

Predicting RNA activity expands therapeutic possibilities

https://phys.org/news/2026-03-rna-therapeutic-possibilities.html
2•PaulHoule•44m ago•0 comments

Beanie Is Designed to Read Your Thoughts

https://www.wired.com/story/this-beanie-is-designed-to-read-your-thoughts/
2•pedalpete•51m ago•1 comments

Show HN: Agentic Dev – AI dev-tools news, curated daily by Claude

https://agenticdev.blog/
2•beeswaxpat•51m ago•0 comments

The Publishing Mystery That No One Wants to Talk About

https://www.theatlantic.com/books/2026/04/who-really-wrote-autistic-author-woody-brown-novel/686814/
2•JumpCrisscross•59m ago•0 comments

The DNA Fix for Aging

https://www.theatlantic.com/health/2026/04/beyond-inheritance-excerpt-roxanne-khamsi/686831/
2•JumpCrisscross•59m ago•0 comments

Your Computer Isn't Yours

https://sneak.berlin/20201112/your-computer-isnt-yours/
10•orionblastar•1h ago•1 comments