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!

Tracing Chinese Immigration Through Food (2023)

https://sundaylongread.com/2023/11/17/chasing-chop-suey-tracing-chinese-immigration-through-food/
1•NaOH•2m ago•0 comments

Inputlag.science – Repository of knowledge about input lag in gaming

https://inputlag.science
1•akyuu•3m ago•0 comments

I quit my job to run EpsteinExposed.com full time

https://old.reddit.com/r/Epstein/comments/1ra6yw0/i_quit_my_job_to_run_epsteinexposedcom_full_time/
1•Betelbuddy•3m ago•1 comments

Parse, Don't Validate and Type-Driven Design in Rust

https://www.harudagondi.space/blog/parse-dont-validate-and-type-driven-design-in-rust/
1•todsacerdoti•4m ago•0 comments

Identity Theft 2.0

https://rekt.news/identity-theft-2
1•eustoria•8m ago•0 comments

New Technical Briefing: Digital Fingerprinting

https://blog.citp.princeton.edu/2026/02/20/new-technical-briefing-digital-fingerprinting/
1•eustoria•9m ago•0 comments

Ask HN: Do You Love My "Assess Idea" (AI) Robo-Reply Side Project Idea?

1•burnerToBetOut•10m ago•0 comments

Epstein files reveal how the rich fuel climate denialism

https://www.fastcompany.com/91490280/epstein-files-how-ultra-wealthy-peddle-climate-denialism
3•cdrnsf•11m ago•0 comments

Kubernetes Deployment Strategies for Zero Downtime

https://dixken.de/blog/kubernetes-deployment-strategies
1•mooreds•11m ago•0 comments

Measuring Claude Code ROI and Adoption in Honeycomb

https://www.honeycomb.io/blog/measuring-claude-code-roi-adoption-honeycomb
1•mooreds•12m ago•0 comments

Experimental pill dramatically reduces 'bad' cholesterol

https://medicalxpress.com/news/2026-02-experimental-pill-bad-cholesterol.html
1•PaulHoule•14m ago•0 comments

The Power of Constraints

https://collabfund.com/blog/the-power-of-constraints/
1•mooreds•15m ago•0 comments

BJJBench – tracking AI video model progress on Brazilian Jiu Jitsu techniques

https://bricee98.github.io/bjjbench/
1•bricee98•16m ago•1 comments

The Broken Record

https://2ndbreakfast.audreywatters.com/the-broken-record/
1•MindGods•17m ago•0 comments

JPMorgan Admits It Shut Trump's Accounts After Jan. 6 Capitol Attack

https://www.nytimes.com/2026/02/21/business/jpmorgan-trump-debanking.html
2•koolba•19m ago•0 comments

Bitcoin's Security Budget Transition: From Subsidy to Sustainability

https://cantonius.substack.com/p/bitcoin-asymmetry-rise-and-the-2040
1•antoniuschan99•22m ago•1 comments

Show HN: No Trace Chat – secret code, no signup, messages disappear after read

https://play.google.com/store/apps/details?id=com.teamzlab.no_trace_code_chat&hl=en_US
1•teamzlab•22m ago•0 comments

Show HN: Codex Linux Self-Installer

https://github.com/welidev/codex-installer
2•weli•25m ago•1 comments

Joint Statement on the U.S.-India AI Opportunity Partnership

https://www.state.gov/releases/under-secretary-for-economic-affairs/2026/02/joint-statement-on-th...
1•artninja1988•26m ago•1 comments

Carlos Alcaraz wins his first Qatar Open title with a 50-minute victory

https://twitter.com/beINSPORTS_EN/status/2025288459091357953
1•amrrs•27m ago•0 comments

Brat, a parallel TAP testing harness for the POSIX shell

https://codeberg.org/sstephenson/brat
2•birdculture•28m ago•0 comments

Ask HN: What are the most interesting AI Agent Skills you've seen or used?

1•taariqlewis•29m ago•0 comments

Show HN: Simple Teleprompter App for the Browser

https://gojko.net/tools/teleprompter/
1•adzicg•30m ago•1 comments

Dreamer – why we built it: David Singleton's new startup

https://blog.singleton.io/posts/2026-02-17-introducing-dreamer/
1•sherlock_h•32m ago•0 comments

She Graduated with Honors but She Can't Read

https://garryslist.org/posts/she-graduated-with-honors-but-she-can-t-read-d2def6ed
8•tomaskafka•35m ago•1 comments

I want Artificial Competence, not more Artificial Intelligence

https://jdauriemma.com/programming/i-want-artificial-competence-not-more-ai
2•jdauriemma•36m ago•0 comments

3D-Printed electric motor via multi-modal, multi-material extrusion

https://www.tandfonline.com/doi/full/10.1080/17452759.2026.2613185
1•westurner•36m ago•2 comments

Show HN: Podvoice – Local-first CLI to turn Markdown into multi-speaker audio

https://github.com/aman179102/podvoice
1•aman179102•37m ago•0 comments

How Taalas "prints" LLM onto a chip?

https://www.anuragk.com/blog/posts/Taalas.html
2•beAroundHere•37m ago•0 comments

Cloudflare outage on February 20, 2026

https://blog.cloudflare.com/cloudflare-outage-february-20-2026/
37•nomaxx117•39m ago•9 comments