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!

Ask HN: Best Practices for Agent Airgapping?

1•bmau5•30s ago•0 comments

Ask HN: App for clean movie/TV shorts?

1•dev181•39s ago•0 comments

An Electrician from Kentucky Built an AI Startup with Claude

https://twitter.com/vivilinsv/status/2031826324667711774
1•pretext•51s ago•0 comments

Who's a Better Writer: A.I. Or Humans? Take Our Quiz

https://www.nytimes.com/interactive/2026/03/09/business/ai-writing-quiz.html
1•A_Duck•3m ago•0 comments

Show HN: MaximusLLM, Breaking transformer's O(N^2) and O(V) scaling bottlenecks

https://github.com/yousef-rafat/MaximusLLM/tree/main
1•yousef_g•3m ago•0 comments

Show HN: We built a billion row spreadsheet

https://rowzero.com
1•breckognize•4m ago•0 comments

Indiehacking: Lessons from 9K USD in Facebook Ad Spend [video]

https://www.youtube.com/watch?v=xoe_l67ZReU
2•mesmertech•5m ago•1 comments

Show HN: Thermal Receipt Printers – Markdown and Web UI

https://github.com/sadreck/ThermalMarky
1•howlett•5m ago•0 comments

Harness Engineering for Coding Agents

https://www.humanlayer.dev/blog/skill-issue-harness-engineering-for-coding-agents
2•0xblacklight•5m ago•0 comments

Amazon AI Outage Financial Times Correction

https://www.aboutamazon.com/news/company-news/amazon-outage-ai-financial-times-correction
2•super_linear•6m ago•0 comments

Bike and walking trails lose millions under Trump

https://rhodeislandcurrent.com/2026/03/13/repub/bike-and-walking-trails-lose-hundreds-of-millions...
1•chmaynard•8m ago•0 comments

Xnxx

1•zhhshs•8m ago•0 comments

Show HN: Re-imagine photo albums with NanoBanana

https://github.com/hbmartin/imagemine
1•hmartin•9m ago•0 comments

Darn Grid Shader (Yet). For as long as I've been writing

https://bgolus.medium.com/the-best-darn-grid-shader-yet-727f9278b9d8
1•signa11•9m ago•0 comments

Designing AI agents to resist prompt injection

https://openai.com/index/designing-agents-to-resist-prompt-injection/
2•gmays•9m ago•0 comments

How to Shut Down Meta

https://blog.zgp.org/how-to-shut-down-meta/
2•speckx•10m ago•0 comments

Mozilla Data Collective

https://datacollective.mozillafoundation.org/datasets
1•abetusk•11m ago•0 comments

Your Brain Is a Ball of Electric Spaghetti

https://machinecreativity.substack.com/p/your-brain-is-a-ball-of-electric-spaghetti
1•benjismith•11m ago•0 comments

Show HN: DKLS23 2-of-2 threshold ECDSA signature ceremony visualized

https://github.com/DisplaceTech/tss-ceremony
1•eamann•11m ago•0 comments

Elon Musk pushes out more xAI founders as AI coding effort falters

https://www.ft.com/content/e5fbc6c2-d5a6-4b97-a105-6a96ea849de5
2•merksittich•13m ago•0 comments

OVH forgot they donated documentation hosting to Pandas

https://github.com/pandas-dev/pandas/issues/64584
67•nwalters512•13m ago•7 comments

PDF Association's press release: Accessible math in PDF – finally

https://www.latex-project.org/news/2026/03/05/PDFA-press/
2•serhack_•14m ago•0 comments

MCMU a utility to update Minecraft mods

https://pypi.org/project/mcmu/
1•JosiahJarvis•14m ago•0 comments

Two KC-135s tankers were involved in fatal crash over Iraq

https://www.airandspaceforces.com/six-airmen-confirmed-dead-kc-135-crash-iran/
1•cf100clunk•14m ago•1 comments

Acme: The Un-Terminal

https://www.danielmoch.com/posts/2025/01/acme/
1•signa11•15m ago•0 comments

Semi-Automated Code Reviews with Claude Code at Work

https://olshansky.info/posts/2026-03-10-how-we-automate-tests-for-the-grove-api
1•Olshansky•15m ago•0 comments

Show HN: Chrome extension that detects past website breaches

https://chromewebstore.google.com/detail/digital-shield-all-in-one/pkonihncnkmbejhhjadaognganhinnhc
1•shwn2989•16m ago•0 comments

PocketSSH: A pocket-sized ESP32-based SSH terminal

https://github.com/0015/PocketSSH
1•lnyan•16m ago•0 comments

1,900-year-old double Scythian burial in Ukraine contains toxic red mineral

https://www.livescience.com/archaeology/1-900-year-old-double-scythian-burial-in-ukraine-contains...
1•Brajeshwar•17m ago•0 comments

Show HN: OpenClaw docs in Japanese, now open source

https://openclawdoc.org
1•mixfox•17m ago•0 comments