frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Real signals or artificial stereotypes? Adventures with a cultural Copilot

https://kucharski.substack.com/p/real-signals-or-artificial-stereotypes
1•ceejayoz•2m ago•0 comments

In a quest to becoming AI independent

https://adlrocha.substack.com/p/adlrocha-in-a-quest-to-becoming-ai
2•adlrocha•11m ago•0 comments

Show HN: Tinyblok – publishes conditioned sensor data to NATS from an ESP32

https://github.com/lexvicacom/tinyblok
1•alexjreid•12m ago•0 comments

RISC-V Serial Debug Protocol Specification (Draft)

https://gitlab.com/lauterbach/riscv-rsdp-spec
1•jonesjohnson•13m ago•0 comments

Gen Z Resentment Toward AI Grows as Adoption Stagnates and Workplace Fears Mount

https://www.waltonfamilyfoundation.org/about-us/newsroom/gen-z-resentment-toward-ai-grows-as-adop...
3•mgh2•14m ago•0 comments

Eve

https://witheve.com/
1•tosh•16m ago•0 comments

Infinitary Logic

https://en.wikipedia.org/wiki/Infinitary_logic
1•soupspaces•27m ago•0 comments

DMA: A Community Hackerspace in Seattle

https://dma.space
1•bleeperblooper•29m ago•0 comments

Cursor CVE-2026-26268: Hidden Git hooks RCE via agents autonomous Git operations

https://nvd.nist.gov/vuln/detail/CVE-2026-26268
3•Armor1AI•34m ago•0 comments

JavaScript Tail Call Optimization in ES2015: Unimplemented and Stack Issues

https://blog.gaborkoos.com/posts/2026-05-09-Your-Recursion-Is-Lying-to-You/
1•birdculture•36m ago•0 comments

A Day in the Life of an "Enshittificator" (Norwegian Consumer Council) [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
2•marojejian•44m ago•0 comments

From RSS Feeds to Atom Feeds

https://susam.net/from-rss-to-atom.html
1•susam•48m ago•0 comments

Show HN: Free Google Places API alternative using OpenStreetMap (no API key)

https://bizdata-web.vercel.app
4•johnleslie_pm•51m ago•0 comments

Thinking of the Children

https://blog.viewfromtheweb.com/thinking-of-the-children-4ed324d5/
1•rickdg•52m ago•0 comments

Show HN: Great Little Software – interviews with solo developers

https://greatlittle.software/
2•valeriavg_dev•56m ago•1 comments

LibreOffice 26.4 Beta Experiments with AI Writing Features

https://www.linuxjournal.com/content/libreoffice-264-beta-experiments-ai-writing-features-and-sma...
3•throw_await•1h ago•0 comments

AI in the sky: Inside the FAA plan to overhaul air traffic

https://www.politico.com/news/2026/05/09/faa-artificial-intelligence-00909097
4•giuliomagnifico•1h ago•0 comments

'Try, Score, Change': Reinforcement Learning for Children

https://gwern.net/rl-children
2•helloplanets•1h ago•0 comments

Red Card or Black Card? The Conscription Lottery in Thailand

https://www.nytimes.com/2026/05/10/world/asia/thailand-conscription-lottery.html
2•_tk_•1h ago•0 comments

Could Frontier AI Researchers Collectively Slow the Race? A Conditional Pledge

https://www.lesswrong.com/posts/rCvyfKZfeaDDkTHjB/could-frontier-ai-researchers-collectively-slow...
2•joozio•1h ago•0 comments

Netlify Is Down

https://dnschecker.org/#A/netlify.app
2•pppone•1h ago•1 comments

Die Hard on ICE

https://medium.com/luminasticity/die-hard-on-ice-f767b4fa07af
1•bryanrasmussen•1h ago•1 comments

OpenSwarm – High-Performance AI Swarms with OpenSwarm

https://alphametrics.substack.com/p/openswarm-unlocking-scalability-by
2•bratak•1h ago•0 comments

High-precision HDC reference instrument for the Sol Star System

https://pypi.org/project/ephemerides-spectral/
1•lemonforest•1h ago•0 comments

Mech is a programming language for building data-driven systems robots, games

https://github.com/mech-lang/mech
2•tosh•1h ago•0 comments

The Worlds Left to Conquer

https://ludic.mataroa.blog/blog/the-worlds-left-to-conquer/
3•tao_oat•1h ago•1 comments

Matrix Chat with Embed Search Engine

https://blog.mwmbl.org/articles/matrix-chat-with-embed-search-engine/
1•daoudc•1h ago•0 comments

PRD Driven Development

https://debarshibasak.github.io/readables/blogs/prd-driven-development.html
2•debarshri•1h ago•0 comments

s4 – Super Simple Storage Service

https://github.com/rh-aiservices-bu/s4
2•gudvardur•1h ago•0 comments

Blink – AI Assistant. A Knowledge destination.

https://blink-oi.vercel.app
2•Pascal1997•1h ago•0 comments