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!

Hey Claude, print recent AI news, short

https://ai-tldr.dev/
1•dralexturner•8s ago•0 comments

A New SQLite Parser

https://marcobambini.substack.com/p/liteparser-a-fast-embeddable-sqlite
1•marcobambini•22s ago•0 comments

I built an API for AI agents that handles phone numbers, SMS, OTP and voice

https://agentcall.co
1•kintupercy•33s ago•1 comments

Show HN: Behavioural-dashboard, framework agnostic library for living dashboards

https://ricardomonteirosimoes.github.io/behavioural-dashboard/
1•RicDan•2m ago•0 comments

Developer skills post-AI: TDD, context engineering, metrics, ownership?

https://nguyengineer.dev/developers-what-should-we-do-next-in-the-age-of-ai
1•finn319•2m ago•0 comments

Algebrica – A Mathematical Knowledge Base

https://algebrica.org/
1•marklit•2m ago•0 comments

Open Source Mystery: 3.5M downloads, But what are people using this for?

https://minifetch.com
1•eljee•2m ago•1 comments

Nineteen Features, Zero Architecture

https://fffej.substack.com/p/nineteen-features-zero-architecture
2•mooreds•2m ago•0 comments

Servo Browser Engine Making It Easier for Embedded Use

https://www.phoronix.com/news/Servo-Embed-Crates-LTS
1•Brajeshwar•3m ago•0 comments

How to make Dropbox ignore the node_modules folder

https://evanxmerz.com/post/how-to-tell-dropbox-to-ignore-node-modules/
1•bariumbitmap•5m ago•0 comments

Destroying Communication and Control in Software Development (2003) [pdf]

https://www.ayeconference.com/Articles/weinberg.pdf
1•rzk•5m ago•0 comments

Can astrologers gain insights about people from astrological charts?

https://www.clearerthinking.org/post/can-astrologers-use-astrological-charts-to-understand-people...
1•pelf•6m ago•0 comments

The AI divide putting open weights models in spotlight

https://www.theregister.com/2026/04/12/ai_open_weights_models/
1•tanelpoder•6m ago•0 comments

500 Tbps of capacity: 16 years of scaling our global network

https://blog.cloudflare.com/500-tbps-of-capacity/
3•sp8•7m ago•0 comments

Nothing Ever Happens: Polymarket bot that always buys No on non-sports markets

https://github.com/sterlingcrispin/nothing-ever-happens
1•m-hodges•7m ago•0 comments

France is replacing 2.5M Windows desktops with Linux, here its new stack

https://www.zdnet.com/article/france-leaves-windows-for-linux-desktop/
1•CrankyBear•7m ago•0 comments

Triton

https://triton-lang.org/main/index.html
2•tosh•8m ago•0 comments

Intel Releases OpenVINO 2026.1 with Back End for Llama.cpp, New Hardware Support

https://www.phoronix.com/news/OpenVINO-2026.1-Released
1•wb14123•8m ago•0 comments

Alpine Divorce: A Hike That Ends a Relationship

https://www.nytimes.com/2026/04/12/style/alpine-divorce-relationships-hike.html
2•mooreds•9m ago•0 comments

Nordics and Estonia rolling out offline card payment backup in case internet cut

https://www.reuters.com/business/finance/nordics-estonia-plan-offline-card-payment-back-up-if-int...
2•_____k•9m ago•1 comments

Show HN: Context Surgeon – Let AI agents edit their own context window

https://github.com/jackfruitsandwich/context-surgeon
1•jdjdjdi•9m ago•0 comments

The Capability Im-Maturity Model (CIMM) (2003)

https://web.archive.org/web/20030117052912/http://www.stsc.hill.af.mil/crosstalk/1996/11/xt96d11h...
1•rzk•10m ago•0 comments

Forgejo prohibits AI-generated work

https://codeberg.org/forgejo/governance/src/commit/57bf0779bec61e2facd1679efc9bc5839e631d40/AIAgr...
3•singiamtel•10m ago•1 comments

Hybrid Constructions: The Post-Quantum Safety Blanket

https://soatok.blog/2026/04/13/hybrid-constructions-the-post-quantum-safety-blanket/
1•some_furry•11m ago•0 comments

Grassroots Fediverse Evolution

https://coding.social/blog/grassroots-evolution/
1•paulnpace•11m ago•0 comments

I like to use Soviet control panels as a starting point

https://unsung.aresluna.org/i-like-to-use-soviet-control-panels-as-a-starting-point/
2•speckx•11m ago•0 comments

America is done – dominican republic takes lead

https://bitcoin-zero-down-2ea152.gitlab.io/
1•machardmachard•11m ago•0 comments

Show HN: CCS – CLI to switch Claude Code profiles with different MCP servers

https://github.com/virtuallytd/claude-code-switcher
1•virtuallytd•12m ago•1 comments

Apple's AI Chief John Giannandrea Departs This Week

https://www.macrumors.com/2026/04/13/john-giannandrea-departs-apple-this-week/
1•tosh•15m ago•0 comments

ALTK‑Evolve: On‑the‑Job Learning for AI Agents

https://huggingface.co/blog/ibm-research/altk-evolve
1•gmays•15m ago•0 comments