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!

Four hundred car batteries wired together [video]

https://www.youtube.com/watch?v=OC7sNfNuTNU
1•erik•3m ago•0 comments

Show HN: Boost Visibility in Google, ChatGPT

https://usefox.ai/
1•Creator-io•5m ago•0 comments

How do telehealth platforms handle provider license verification at scale?

1•Nirvahana•21m ago•0 comments

The tiny technology that rules the world

https://bigthinkmedia.substack.com/p/the-tiny-technology-that-rules-the
1•el_snark•24m ago•1 comments

The 17% Risk

https://domofutu.substack.com/p/the-17-risk
2•wjb3•25m ago•0 comments

Founder ditches AWS for Euro stack, finds sovereignty isn't plug-and-play

https://www.theregister.com/2026/02/20/ditching_aws_euro_stack/
1•jamesblonde•26m ago•1 comments

CADRE: Cooperative Autonomous Distributed Robotic Exploration

https://www.jpl.nasa.gov/missions/cadre/
1•pizza•27m ago•0 comments

Diode – Build, program, and simulate hardware in the browser

https://www.withdiode.com/
2•punnerud•28m ago•0 comments

Connected [video]

https://www.youtube.com/shorts/-PvzJtryBS4
1•Subtextofficial•29m ago•0 comments

Show HN: Xpaper – A Chrome extension to turn your X feed into a newsletter

https://github.com/laiso/xpaper
1•laiso•31m ago•0 comments

TalentClaw – deterministic staffing workflows for OpenClaw

https://github.com/mrrkrieg/talentclaw
1•dankrieg•33m ago•1 comments

Correcting the Financial Times Report about AWS, Kiro, and AI

https://www.aboutamazon.com/news/aws/aws-service-outage-ai-bot-kiro
1•ChrisArchitect•35m ago•0 comments

SmallJS Release 2.0

https://small-js.org/News/News.html
1•gjvc•37m ago•0 comments

Stop building LLM wrappers and aggregators, says Google VP

https://techcrunch.com/2026/02/21/google-vp-warns-that-two-types-of-ai-startups-may-not-survive/
1•rippeltippel•40m ago•1 comments

Lawyer says Google shut down his Gmail, Voice and Photos after NotebookLM upload

https://discrepancyreport.com/lawyer-says-google-shut-down-his-gmail-voice-and-photos-after-noteb...
6•nnx•41m ago•1 comments

Gemini 3.1 Pro Preview #1 on SVG Arena

https://twitter.com/Designarena/status/2024953281051787279
1•swazzy•43m ago•0 comments

Microsoft-Controlled Media with Embargo and Press Operatives

https://techrights.org/n/2026/02/21/Microsoft_Controlled_Media_With_Embargo_and_Press_Operatives....
2•amcclure•44m ago•0 comments

The Silence of Intelligence: A Documentary of Dario Amodei

https://github.com/Leading-AI-IO/the-silence-of-intelligence/blob/main/docs/en/the_silence_of_int...
1•rramadass•47m ago•0 comments

3D-printing platform rapidly produces complex electric machines

https://news.mit.edu/2026/3d-printing-platform-rapidly-produces-complex-electric-machines-0218
1•wjSgoWPm5bWAhXB•48m ago•0 comments

Zigistry.dev – Search for Ziglang Packages with Ease

https://zigistry.dev
1•TheWiggles•49m ago•0 comments

Show HN: I made a 1:1 clone of Front Row in SwiftUI for modern Macs

https://www.youtube.com/watch?v=9HxGW2KCNVQ
1•JacksonDam•50m ago•1 comments

Show HN: I built a dependency graph for the tree of human science

https://github.com/slepybear/The-Map-of-Science
1•sleepybear04•51m ago•0 comments

I Got Pwned by a Malicious AI Plugin: A Technical Breakdown

3•henryrobinson•53m ago•0 comments

Peter Steinberger accuses HN of attacking him; Twittersphere backs him

https://twitter.com/Suhail/status/2025373753446990291
1•MaxPock•54m ago•0 comments

Ask HN: What are you guys building outside the hype of the IA?

1•01-_-•57m ago•0 comments

Show HN: LawClaw – Constitutional governance for AI agents (MIT)

1•nghiahsgs•59m ago•1 comments

Tech billionaires limit their children's screen time

https://fortune.com/2026/02/21/peter-thiel-bill-gates-steve-jobs-steve-chen-tech-billionaires-pub...
3•01-_-•1h ago•0 comments

Quasi-Zenith Satellite System

https://en.wikipedia.org/wiki/Quasi-Zenith_Satellite_System
1•teleforce•1h ago•0 comments

Scientists discover new dinosaur species deep in the Sahara Desert

https://abcnews.com/International/scientists-discover-new-dinosaur-species-deep-sahara-desert/sto...
1•hbcondo714•1h ago•0 comments

'Training a Human Takes 20 Years of Food': Sam Altman on How Much Power AI Uses

https://www.news18.com/world/training-a-human-takes-20-years-of-food-sam-altman-on-how-much-power...
1•AmbroseBierce•1h ago•0 comments