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!

CaymanBot – learn options trading with a $100K paper account

https://caymanbot.com/start
1•notamarketanaly•1m ago•0 comments

Knuth Christmas Lecture Announcement: Claude and the Art of Computer Programming

https://cs.stanford.edu/~knuth/musings.html
1•mauricioc•1m ago•0 comments

Ixys / Littelfuse announce EOL for remaining Z80 parts

https://mastodonapp.uk/@quazarsamcoupe/117398911337931780
1•linker3000•2m ago•0 comments

Our Reporter Emailed the FBI Hackers. They Wrote Back.

https://www.nytimes.com/2026/10/01/insider/fbi-hack-shinyhunters-data.html
1•bookofjoe•3m ago•1 comments

Show HN: A fun AI project that roasts tech news as COOKING or COOKED

https://pranavworks100.github.io/fennec/
1•prana100•5m ago•0 comments

The AI Bubble Is Bigger Than You Think [video]

https://www.youtube.com/watch?v=THjNYLjKnfE
1•baranul•5m ago•0 comments

Opus 5.5 is the first model whose design doesn't look like AI slop

https://quesma.com/blog/invisible-cities-one-shot/
1•ilreb•7m ago•0 comments

Climate Nobel Prize

https://www.climatenobelprize.org/
1•L_226•7m ago•0 comments

Show HN: Leaks.md – anonymous, encrypted whistleblowing for AI agents

https://leaks.md/
1•epsteingpt•8m ago•0 comments

Show HN: I built a browser wargame set on the Eastern Front, 1941–43

https://zekcrates.github.io/eastern-front/
1•butanyways•11m ago•0 comments

The Great Pruning

https://buttondown.com/blog/the-great-pruning
1•bucket2015•11m ago•0 comments

2D Vehicles

https://patkerr.co.uk/2d-vehicles/
1•Michelangelo11•12m ago•0 comments

Steve Wirts: A Pioneer in building User Interfaces for kdb+/q

https://medium.com/@Abby.Gruen/steve-wirts-a-pioneer-in-building-user-interfaces-for-kdb-q-e1c85e...
1•tosh•13m ago•0 comments

Asia, Africa Cause 90% of Plastic Pollution in Oceans – ACSH

https://www.acsh.org/news/2018/07/26/asia-africa-cause-90-plastic-pollution-worlds-oceans-13233
2•bilsbie•13m ago•0 comments

Nvidia Vera HPC Performance Benchmarks Take on AMD EPYC, Intel Xeon

https://www.phoronix.com/review/nvidia-vera-hpc
1•rbanffy•14m ago•0 comments

Show HN: PanelAlpha Engine – Turn your VPS into a programmable hosting layer

https://engine.panelalpha.com/
2•konradkeck•14m ago•2 comments

Missing monitoring tool: a customer event-driven hub

https://corners.dev/
1•charles_farfa•14m ago•1 comments

Google Playground: Create and play custom games

https://blog.google/innovation-and-ai/technology/ai/playground-experimental-gaming-platform/
3•acossta•14m ago•0 comments

Cavecode – why input many token when few do trick (upto ~80% input tokens saved)

https://github.com/Grimm67123/cavecode
1•newacc321•14m ago•1 comments

Making JupyterLab's visual regression tests delightful to work with

https://openteams.com/engineering-blog/visual-regression-testing-jupyterlab/
1•redsquirrel12•15m ago•1 comments

Feature Visualization – How neural networks build understanding of images (2017)

https://distill.pub/2017/feature-visualization/
1•peter_d_sherman•15m ago•1 comments

The Slow Formation of Durable Software

https://newsletter.dancohen.org/archive/the-slow-formation-of-durable-software/
2•arbesman•16m ago•0 comments

Why the AI Vulnpocalypse Isn't the Breachpocalypse

https://medium.com/@TalBeerySec/why-the-vulnpocalypse-isnt-the-breachpocalypse-yet-it-s-the-econo...
1•el_duderino•16m ago•0 comments

If you're looking, here's a "good deal" for NASA and the European Space Agency

https://arstechnica.com/space/2026/10/nasa-is-keen-on-pursuing-at-least-one-joint-science-mission...
1•rbanffy•17m ago•0 comments

Moefit: Fit Qwen 3.8 Flash on your Mac with limited ram

https://github.com/yavarb/moefit
2•ybathaee•19m ago•0 comments

Tracking Singularity

https://trackingsingularity.com/
1•tosh•20m ago•0 comments

Using light-dark() without getting caught out

https://www.tempertemper.net/blog/using-light-dark-without-getting-caught-out
1•surprisetalk•23m ago•0 comments

HashBack – Server-to-Server Authentication without secret keys or tokens

https://www.hashback.dev/
2•billpg•26m ago•0 comments

Simple, rotationally symmetric Venn diagrams exist for 17, 19 and 23 curves

https://twitter.com/ChrisDzoba/status/2107785499268247681
1•zoba•27m ago•0 comments

Show HN: Schema – Visual Git Diffs for Postgres, MySQL and SQLite Schemas

https://github.com/dobrinov/schema
2•dobrinov•27m ago•0 comments