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!

'Global reckoning for big tech': Australia to force opt-out of social algs

https://www.theguardian.com/australia-news/2026/sep/08/australia-social-media-algorithm-switch-of...
1•ggm•1m ago•0 comments

An AI that talks like a friend, jumps in, interrupts and keeps the convo going

https://www.echohive.ai/deep-talk-buddy
1•echohive42•3m ago•0 comments

Electrostatic Cathode Ray Tube Project 1 (2014)

https://labguysworld.com/Project_ESCRTs_001.htm
1•userbinator•8m ago•0 comments

Multi-Agents LLM Financial Trading Framework

https://github.com/TauricResearch/TradingAgents
1•fittingopposite•13m ago•0 comments

I scraped 10,555 ivf rounds rounds from forum posts around the world

https://eggs.help
1•grapefruitjuice•13m ago•0 comments

Clean Web-to-Markdown: Fast HTML Extraction for LLMs and RAG

https://markdown.usemy.cloud/
2•petoz•19m ago•0 comments

What may happen in the next hundred years?(1900)

https://earlyradiohistory.us/1900next.htm
2•o4c•22m ago•1 comments

My Feed, My Way

https://www.pm.gov.au/media/my-feed-my-way
12•dotcoma•23m ago•3 comments

KDE's new Photos app offers a sleek alternative to Gwenview

https://www.omgubuntu.co.uk/2026/09/kde-photos-app-replace-gwenview
2•fork-bomber•26m ago•0 comments

Mistral raises €3B to make sovereign, open-weight AI the technology frontier

https://mistral.ai/news/mistral-makes-sovereign-open-weight-ai-to-frontier/
2•kuberwastaken•27m ago•0 comments

The 100x Engineer Certification

https://100x.iamdevloper.io/
1•Curiositry•28m ago•0 comments

Ask HN: Best Platforms to Orchestrate Agents

1•venkat971•30m ago•0 comments

How One Connection Kills a Database

https://planetscale.com/blog/debugging-live-database-connections
1•vzhou842•34m ago•0 comments

Show HN: TripleFantasy Reconstructed Source Code

https://github.com/Sadpainy/TripleFantasy
1•CMDDestory•39m ago•0 comments

Timeline of Mathematics

https://mathigon.org/timeline
2•o4c•40m ago•0 comments

Autodafe VES: a free vintage emulator studio plugin based on MAME framework

https://synthanatomy.com/2026/09/autodafe-ves-a-free-vintage-emulator-studio-plugin.html
1•bane•43m ago•1 comments

We have a year to fix security everywhere

https://jyn.dev/a-year-to-fix-security/
35•saikatsg•46m ago•15 comments

A Modern Proxmox Docker Architecture with Disposable VMs, VirtIO-FS, and ZFS

https://du.nkel.dev/blog/2026-05-16_rootless_docker_virtiofs_proxmox/
1•Helmut10001•54m ago•0 comments

Cognition Has More Than One Shape: From AI to Synthetic Cognition

https://tvvocold.github.io/2026/09/08/cognition-has-more-than-one-shape.html
2•tvvocold•54m ago•0 comments

The VMs Powering Mobile Agents (Instinct, Claude Code)

https://rohanadwankar.github.io/posts/platforms.html
8•RohanAdwankar•57m ago•1 comments

Canada's counter-tariffs take effect on various US goods

https://www.france24.com/en/live-news/20260908-canada-s-counter-tariffs-take-effect-on-various-us...
9•geox•1h ago•0 comments

Bonds – AI messenger where group chats generate their own apps

https://apps.apple.com/us/app/bonds-the-smart-messenger/id6798100604
1•juanchoabdon1•1h ago•0 comments

RabbitMQ vs. Apache Kafka

https://www.rabbitmq.com/docs/compare/kafka
2•vinhnx•1h ago•0 comments

Evidence runtime for autonomous agent task management

https://grainulator.app
3•aid-ninja•1h ago•0 comments

Show HN: Manhattan Safety Atlas

https://manhattan-neighborhood-atlas.pplx.app/
1•tesseractinf•1h ago•0 comments

Shatranj

https://en.wikipedia.org/wiki/Shatranj
2•teleforce•1h ago•0 comments

Secret screening of Nathan Fielder's new Elizabeth Holmes documentary

https://www.latimes.com/entertainment-arts/movies/story/2026-09-07/nathan-fielder-elizabeth-holme...
1•aanet•1h ago•2 comments

Australia to opt out of social media algorithms, Albanese confirms

https://www.smh.com.au/politics/federal/australia-to-opt-out-of-social-media-algorithms-albanese-...
5•mrkpdl•1h ago•2 comments

Experience is becoming a higher priority for tech hiring

https://www.a16z.news/p/chart-of-the-week-experience-skills
2•deepmem•1h ago•0 comments

GifBook – turn any GIF into a printable flipbook (free)

https://www.mrbray.com/gifbook
1•mrbray•1h ago•1 comments