frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Fatbikes are wreaking havoc in Sydney's wealthy beach suburbs

https://www.bbc.com/news/articles/cy8l1d221evo
2•randycupertino•14m ago•0 comments

Titan Missile Museum Tour [video]

https://www.youtube.com/watch?v=okeYauThQAU
1•nodesocket•19m ago•0 comments

AI agent freed itself and started mining crypto

https://www.axios.com/2026/03/07/ai-agents-rome-model-cryptocurrency
2•badc0ffee•29m ago•0 comments

Good Vibes, Bad Vendors: AI Coding Works Now

https://werd.io/good-vibes-bad-vendors/
1•etothet•34m ago•0 comments

AI Execution Context Authorization Model

https://github.com/Madongming/context-capability-model/tree/main
2•elsove812•35m ago•2 comments

Show HN: Free browser MMO where you manage a band from garage to headliner

https://www.roadtoheadliner.com/
1•dusky_sk•36m ago•1 comments

Way-Shell: A GNOME-like shell for Wayland compositors

https://github.com/ldelossa/way-shell
1•radeeyate•39m ago•0 comments

Show HN: RotaGuide Spotlight – Markdown based UI guide system for web apps

https://github.com/EBPkobli/rotaguide-spotlight
1•furkankub•39m ago•0 comments

Animated Visualizer from Circles and Lines

https://claude.ai/public/artifacts/fbfeac55-4358-4e31-839c-f33a227bbc5e
1•water_badger•47m ago•1 comments

Bedrock Linux

https://bedrocklinux.org/
2•lemper•48m ago•0 comments

British Columbia to make daylight saving time permanent

https://www.npr.org/2026/03/07/nx-s1-5741076/british-columbia-daylight-saving-time
1•geox•49m ago•1 comments

Prison guards discussed cover-up of Epstein's death, inmate tells FBI

https://www.miamiherald.com/news/local/crime/article314966334.html
6•ParentiSoundSys•54m ago•0 comments

Patching minified Claude Code so it can hear webhooks

https://github.com/Connoropolous/claude-notifications-for-agents
2•connorturland•54m ago•0 comments

Show HN: Navtee – Golf course directory and navigation app

https://navtee.com/
1•metafarer•56m ago•0 comments

ReactScope

https://folio.stage.obvious.ai/obvious/reactscope
1•handfuloflight•58m ago•0 comments

Show HN: Qry – CLI web search that always outputs JSON, with swappable back ends

https://github.com/justEstif/qry
2•justEstif•1h ago•0 comments

Show HN: SafeAgent – exactly-once execution guard for AI agent side effects

2•Lions2026•1h ago•1 comments

Show HN: Open-source personal finance AI that runs locally on your laptop

https://nullbook.ai/
2•jfornear•1h ago•1 comments

Forcing Flash Attention onto a TPU and Learning the Hard Way

https://archerzhang.me/forcing-flash-attention-onto-a-tpu
4•azhng•1h ago•0 comments

Mechanical Movements Animated

https://507movements.com/
3•TigerUniversity•1h ago•0 comments

Show HN: Pipe Checker – paste a sales deal and it checks BANT qualification

https://pipechecker.onrender.com/
1•eghatch92•1h ago•0 comments

Juno – J Web IDE

https://jsoftware.github.io/juno/app/
1•todsacerdoti•1h ago•0 comments

ReverseLM Playground

https://scottinallca.ps/reverse-lm/
1•scottmf•1h ago•0 comments

Integrating AI-Driven Predictive Analytics for Cybersecurity Risk Mitigation [pdf]

https://www.researchgate.net/profile/Adeyinka-Oluwatomisin/publication/401488012_Integrating_AI-D...
1•Olshansky•1h ago•0 comments

Msspproviders.io: a searchable directory of managed security service providers

https://msspproviders.io
1•datacorp•1h ago•0 comments

Old Versions of Programs, Drivers and Games

https://www.oldversion.com/
1•TigerUniversity•1h ago•0 comments

Zero Sum Game

https://code.chuanqisun.com/zero-sum-game/
1•low_tech_punk•1h ago•0 comments

Karabiner-Elements is a powerful tool for customizing keyboards on macOS

https://github.com/pqrs-org/Karabiner-Elements
2•vinhnx•1h ago•0 comments

Coruna: The Mysterious Journey of a Powerful iOS Exploit Kit

https://cloud.google.com/blog/topics/threat-intelligence/coruna-powerful-ios-exploit-kit
1•JumpCrisscross•1h ago•0 comments

How Vinay Prasad Came to Washington, and Why It Was Always Going to End This Way

https://anishkokamd.substack.com/p/how-vinay-prasad-came-to-washington
1•ssivark•1h ago•0 comments