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!

Building Things in Crowded Spaces

https://www.generative.inc/the-weight-of-how-things-are
1•altonwells•22s ago•0 comments

Iran Is Deploying Bubble Jammers Against the US Government [video]

https://www.youtube.com/watch?v=7E69ir4WhpQ
1•tartoran•1m ago•0 comments

M5 Pro and M5 Max are surprisingly big departures from older Apple Silicon

https://arstechnica.com/gadgets/2026/03/m5-pro-and-m5-max-are-surprisingly-big-departures-from-ol...
1•strongpigeon•2m ago•0 comments

Show HN: Agent from Scratch – Bootstrap an agent from a copy-paste, no framework

https://agentfromscratch.com/
1•brotchie•3m ago•0 comments

What we need to make voice AI agentic

https://www.ultravox.ai/blog/what-we-need-to-make-voice-ai-fully-agentic
1•underfox•3m ago•0 comments

Ask HN: How are you estimating API costs before committing to an architecture?

1•sarthakaggarwal•7m ago•1 comments

Show HN: Franklin Prompt Studio – desktop tool for decision-ready AI answers

https://www.dfrankstudioz.com/
1•dfstudioz•7m ago•0 comments

A Comparative Security Analysis of Three Cloud-Based Password Managers [pdf]

https://eprint.iacr.org/2026/058.pdf
1•PaulHoule•8m ago•1 comments

GitHub Is Having Issues

https://www.githubstatus.com/incidents/n07yy1bk6kc4
18•Simpliplant•9m ago•1 comments

Iran War Cost Tracker

https://iran-cost-ticker.com
2•TSiege•10m ago•1 comments

Show HN: The OpenClaw Market Map, Q1 2026

https://manifest.build/blog/claw-market-map-q1-2026/
1•stosssik•11m ago•0 comments

Show HN: TopVideoHub – Discover trending videos across 9 Asia-Pacific regions

https://topvideohub.com/
1•ibrahimtxyz•11m ago•0 comments

CMS halts enrollment in Elevance/Anthem, citing years of misconduct

https://www.statnews.com/2026/03/02/elevance-stock-cms-medicare-advantage-enrollment/
1•brandonb•11m ago•0 comments

GitHub Is Degraded

https://updog.ai/status/github
5•shahahmed•12m ago•0 comments

Reconfigurable single-walled carbon nanotube ferroelectric FET transistors

https://www.nature.com/articles/s41467-025-62827-2
1•westurner•12m ago•0 comments

Tell HN: GitHub Having Issues

19•Sytten•13m ago•12 comments

When Everyone Has an Agent

https://heynavii.substack.com/p/when-everyone-has-an-agent
1•saurabhpalan•15m ago•0 comments

AgentOps and operationalizing AI agents for the enterprise

https://www.uipath.com/blog/ai/agent-ops-operationalizing-ai-agents-for-enterprise
3•vladionescu•15m ago•1 comments

Prediction and Entropy of Printed English – Claude Shannon (1950) [pdf]

https://languagelog.ldc.upenn.edu/myl/Shannon1950.pdf
2•thunderbong•16m ago•0 comments

Intel's make-or-break 18A process node debuts for data center with 288-core Xeon

https://www.tomshardware.com/pc-components/cpus/intels-make-or-break-18a-process-node-debuts-for-...
29•vanburen•17m ago•3 comments

Silent Backwards Compatibility Breaking Changes in PyTorch

https://blog.ezyang.com/2026/03/silent-bc-breaking-changes/
3•matt_d•21m ago•1 comments

Hacked traffic cameras & US Intel: How plot to kill Iran's leader came together

https://www.cnn.com/2026/03/03/middleeast/us-israel-plot-kill-iran-khamenei-latam-intl
2•CGMthrowaway•21m ago•0 comments

Claude Code escapes its own denylist and sandbox

https://ona.com/stories/how-claude-code-escapes-its-own-denylist-and-sandbox
4•tomvault•21m ago•2 comments

I Built a Spy Satellite Simulator in a Browser. Here's What I Learned

https://www.spatialintelligence.ai/p/i-built-a-spy-satellite-simulator
3•CGMthrowaway•23m ago•0 comments

LotusQ Cross platform voice dictation with free local Whisper(Mac/Windows/Linux)

2•nkodev•23m ago•1 comments

The gap between ICP documents and buyer understanding in B2B sales

https://artemisgtm.ai/blog/why-most-b2b-companies-get-icp-wrong
2•thegtmauditguy•25m ago•1 comments

Academics Need to Wake Up on AI

https://alexanderkustov.substack.com/p/academics-need-to-wake-up-on-ai
3•verdverm•25m ago•0 comments

Qwen Tech Lead Steps Down

https://twitter.com/JustinLin610/status/2028865835373359513
3•informal007•25m ago•0 comments

Fire the CEO, Introducing the AxO's

https://boringops.sh/articles/fire_the_ceo/
3•boringops-dan•25m ago•0 comments

Mpv Is the MVP of Video and Image Viewing

https://nickjanetakis.com/blog/mpv-is-the-mvp-of-video-and-image-viewing
2•nickjj•26m ago•0 comments