frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Byte magazine artist Robert Tinney, who illustrated the birth of PCs, dies at 78

https://arstechnica.com/gadgets/2026/02/byte-magazine-artist-robert-tinney-who-illustrated-the-bi...
2•sohkamyung•1m ago•0 comments

RIP Robert Tinney, the illustrator behind so many Byte magazines

https://tinney.net/in-memoriam
1•ohjeez•2m ago•0 comments

Electrolytes vs. Water: The Surprising Effect on Your Training Zones

https://vo2maxpro.com/blog/electrolytes-vs-water-training-zones
1•GoodluckH•7m ago•0 comments

Attorney General Bonta Announces $2.75M Settlement with Disney

https://oag.ca.gov/news/press-releases/california-wont-let-it-go-attorney-general-bonta-announces...
1•sebastian_z•10m ago•1 comments

Building a Pastebin, Hardening Two Services – While Working

https://www.smolkin.org/blog/2026/02/adding-api-auth-admin-panel-with-claude-code.html
1•msmolkin•11m ago•0 comments

Anthropic safety researcher quits, warning 'world is in peril'

https://www.semafor.com/article/02/11/2026/anthropic-safety-researcher-quits-warning-world-is-in-...
1•doener•12m ago•0 comments

Hacker News now thinks coding is solved

https://old.reddit.com/r/BetterOffline/comments/1qynmuc/hacker_news_now_thinks_coding_is_solved/
2•Cheyana•13m ago•1 comments

AI Is Getting Scary Good at Making Predictions

https://www.theatlantic.com/technology/2026/02/ai-prediction-human-forecasters/685955/
1•cainxinth•15m ago•1 comments

Software Engineering Past, Present, and Future with Grady Booch

https://oxide-and-friends.transistor.fm/episodes/software-engineering-past-present-and-future-wit...
1•weinzierl•15m ago•0 comments

Why the Economy Hasn't Crashed yet [video]

https://www.youtube.com/watch?v=jOR4wuiPeEQ
1•Wilsoniumite•17m ago•0 comments

Alphabet's Rare 100-Year Bond Tells Us That Money Is Easy

https://www.wsj.com/finance/investing/alphabets-rare-100-year-bond-tells-us-that-money-is-easy-77...
1•RyanShook•19m ago•0 comments

Show HN: Doodle on Your Partner's Widget

https://trylongdistance.com/
1•VatanaChhorn•20m ago•0 comments

Reducing Attack Surface for AI Agents with Process-Scoped Credentials

https://dreamiurg.net/2026/02/11/reducing-attack-surface-for-ai-agents-process-scoped-credentials...
1•dreamiurg•21m ago•1 comments

Show HN: OpenHarness – A harness for open source projects built by AI agents

https://openharn.vercel.app
1•naix•25m ago•0 comments

Claude's impact on older software engineers while listening to country music

https://suno.com/song/0d9b02a2-a709-4b2c-ba66-f62ff9306f79
1•botswana99•26m ago•0 comments

The SaaSpocalypse – The week AI killed software

https://www.fintechbrainfood.com/p/the-saaspocalypse
3•gmays•29m ago•2 comments

Agent Identities – Everything you need to know

https://mrinal.com/articles/agent-identities/
1•mattgreg•29m ago•0 comments

"Free" Surveillance Tech Still Comes at a High and Dangerous Cost

https://www.eff.org/deeplinks/2026/02/free-surveillance-tech-still-comes-high-and-dangerous-cost
2•hn_acker•31m ago•0 comments

Google Tells Employees: Brace for AI or Leave

https://www.gulte.com/trends/395721/brace-for-ai-or-leave-google-tells-employees
5•sowbug•32m ago•1 comments

Cisco Opensourced Tool to Build AI Bill of Materials

https://github.com/cisco-ai-defense/aibom
1•hsanthan•32m ago•0 comments

How Does the Initial Interest Confusion Doctrine Improve Trademark Analyses?

https://blog.ericgoldman.org/archives/2026/02/how-does-the-initial-interest-confusion-doctrine-im...
1•hn_acker•33m ago•1 comments

Weekly "Wordle" for Breaking AI Agents

https://playground.fabraix.com/
2•zachdotai•33m ago•1 comments

A session with 5.2 using 4o Tone.

1•WindySoliloquy•37m ago•0 comments

Automatic Differentiation from Scratch (2023)

https://blog.esciencecenter.nl/automatic-differentiation-from-scratch-23d50c699555
1•measurablefunc•38m ago•0 comments

The API Tooling Crisis: Why developers are abandoning Postman and its clones?

http://efp.asia/blog/2025/12/24/api-tooling-crisis/
2•PaulHoule•39m ago•1 comments

Why eight Australians died after having AstraZeneca's Covid vaccine

https://www.smh.com.au/national/why-eight-australians-died-after-having-astrazeneca-s-covid-vacci...
2•femto•39m ago•0 comments

Ask HN: Do you bother with take-homes?

1•throwaway123198•40m ago•3 comments

Self-hosted, memory-augmented AI chat that works with any LLM

https://github.com/PStryder/Cathedral
1•pstryder•40m ago•1 comments

Epstein Graph – The Complete Epstein Files Collection

https://epsteingraph.com/
1•redbell•40m ago•1 comments

Something Big Is Happening

https://twitter.com/i/status/2021256989876109403
4•denysvitali•42m ago•3 comments