frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Vespa.ai Blog: Embedding Tradeoffs, Quantified

https://blog.vespa.ai/embedding-tradeoffs-quantified/
1•goinglong•1m ago•0 comments

Show HN: A browser-based evolutionary simulation with emergent behavior

https://soupof.life/
1•maybe-tomorrow•4m ago•0 comments

Agent Skills are now available in Google Antigravity

https://antigravity.google/docs/skills
1•pretext•4m ago•0 comments

Iran Jamming of Starlink and Ways to Overcome Jamming

https://www.nextbigfuture.com/2026/01/iran-jamming-of-starlink-and-ways-to-overcome-jamming.html
1•ensocode•8m ago•0 comments

Show HN: Serverless GraphQL analytics framework for AWS

https://github.com/acikelli/oc-graphql
1•oacikelli•12m ago•0 comments

My parenting screen time philosophy

https://mikemcquaid.com/my-parenting-screen-time-philosophy/
1•wrxd•13m ago•0 comments

Pentagon Reportedly Testing Radio Wave Device Linked to 'Havana Syndrome'

https://www.scientificamerican.com/article/pentagon-reportedly-testing-radio-wave-device-linked-t...
1•beardyw•14m ago•0 comments

How to make users know that this is the heartopia wiki website they need?

https://www.heartopia-tips.com/
1•pacewang•14m ago•0 comments

CoreWeave Hid Data Center Delays, Investors Say

https://www.law360.com/articles/2429441/coreweave-hid-data-center-delays-investors-say
1•zerosizedweasle•16m ago•0 comments

Popular Python Libraries Used in Hugging Face Models

https://www.theregister.com/2026/01/13/ai_python_library_bugs_allow/
1•jruohonen•19m ago•1 comments

I Manage My Personal Infrastructure in 2026

https://taoofmac.com/space/blog/2026/01/09/1900
2•rcarmo•20m ago•0 comments

AI as Entertainment

https://arxiv.org/abs/2601.08768
2•50kIters•20m ago•0 comments

Sargasso Sea

https://en.wikipedia.org/wiki/Sargasso_Sea
2•thunderbong•22m ago•0 comments

Better `pre-commit`, re-engineered in Rust

https://github.com/j178/prek
2•vismit2000•22m ago•0 comments

Show HN: Drop The Adverb – Replace weak verb+adverb pairs

https://droptheadverb.com
1•ClozeLine•23m ago•1 comments

How to De-Risk from America

https://www.ft.com/content/331ec18b-9960-4954-8728-f2ff5bb5ee7b
3•KnuthIsGod•23m ago•1 comments

WordPress as a Headless CMS: A Production-Ready Plugin Stack

https://nesmachny.com/post/my-wordpress-stack-for-headless
1•taubek•23m ago•0 comments

Scott Adams, 'Dilbert' Creator, Dies at 68

https://variety.com/2026/artisans/people-news/scott-adams-dead-dilbert-creator-1236630162/
1•Rant423•27m ago•0 comments

Bad Science, Good Politics

https://shaemclaughlin.substack.com/p/bad-science-good-politics
1•MaysonL•28m ago•0 comments

The Internet Archive Crawler

https://github.com/internetarchive/heritrix3
1•dvrp•44m ago•0 comments

US State Department Threatens UK over Probe into Elon Musk's X

https://www.politico.eu/article/us-state-department-threaten-uk-probe-elon-musk-x-grok/
5•saubeidl•46m ago•1 comments

Ask HN: How do you apply for jobs in the age of AI?

1•surrTurr•46m ago•0 comments

I've created a prototype for the front-end of a website inside an AI chatbot

1•5color•46m ago•1 comments

Claude Cowork Runs Linux VM via Apple Virtualization Framework

https://gist.github.com/simonw/35732f187edbe4fbd0bf976d013f22c8
2•jumploops•51m ago•0 comments

Show HN: Gilda runs multiple LLMs, compares them, and merges the result

https://gildaapp.com/
1•osgohe•56m ago•1 comments

When competition leads to human values by Beren Millidge [video]

https://www.youtube.com/watch?v=ua67aXBP76k
1•ljosifov•56m ago•0 comments

VoidLink: The Cloud-Native Malware Framework Weaponizing Linux Infrastructure

https://blog.checkpoint.com/research/voidlink-the-cloud-native-malware-framework-weaponizing-linu...
2•laktak•57m ago•0 comments

McKinsey challenges graduates to use AI chatbot in recruitment overhaul

https://www.ft.com/content/de7855f0-f586-4708-a8ed-f0458eb25586
1•jorisboris•1h ago•1 comments

PulseDaily – a local‑first, no‑login habit tracker with gentle reminders

https://pulsedaily.codezs.online
1•fcxl•1h ago•2 comments

PartyBench: AI throws a house party and is graded on its performance [SATIRE]

https://www.astralcodexten.com/p/sota-on-bay-area-house-party
1•ryan_j_naughton•1h ago•0 comments