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!

Show HN: Modern Philosophy Course

https://readphilosophy.org/?w=course%2Fmilesians%2Fthales%2Fthales
1•bridelamb•1m ago•0 comments

Universal Commerce Protocol (UCP)

https://developers.google.com/merchant/ucp
2•jcfrei•8m ago•0 comments

35 Theses on the WASPs

https://scholarstage.substack.com/p/35-theses-on-the-wasps
1•barry-cotter•12m ago•0 comments

U.S. Attacked Boat With Aircraft That Looked Like a Civilian Plane

https://www.nytimes.com/2026/01/12/us/politics/us-boat-attacks-law.html
5•jbegley•13m ago•2 comments

Controlling local web servers using xbar

https://blog.gingerbeardman.com/2026/01/12/xbar-local-web-server-controller/
1•msephton•15m ago•0 comments

The will to win is nothing without the will to sleep

https://therundownbytherunningeffect.substack.com/p/the-2025-run-down-recap
2•RalphHavensPT•16m ago•0 comments

Raid on the Medway

https://en.wikipedia.org/wiki/Raid_on_the_Medway
1•vinnyglennon•18m ago•0 comments

Even Linus Torvalds is trying his hand at vibe coding (but just a little)

https://arstechnica.com/ai/2026/01/hobby-github-repo-shows-linus-torvalds-vibe-codes-sometimes/
1•fleahunter•19m ago•0 comments

Veritensor – open-source tool to scan AI models for malware and license issues

https://github.com/ArseniiBrazhnyk/Veritensor
1•arseniibr•21m ago•1 comments

Minnesota sues Trump administration to block surge of federal immigration agents

https://www.reuters.com/world/minnesota-sues-trump-administration-block-surge-federal-immigration...
5•mickle00•21m ago•0 comments

Show HN: AI Elements Vue – A Port of Vercel's AI Elements UI Library

https://github.com/vuepont/ai-elements-vue
1•peoray•23m ago•0 comments

Discord dataset of 78M messages, voice sessions, actions and servers

https://twitter.com/H4ckmanac/status/2010691804132454708
1•circularfoyers•23m ago•0 comments

Generative AI and the end of permanent car paint

https://realizeai.substack.com/p/the-evolution-of-personalization
1•rafaelmdec•23m ago•0 comments

Ask HN: DevOps Learning Resources

1•jack_pp•24m ago•0 comments

PauseOS: Distraction-Free Phone OS

https://pauseos.com/
2•MinimalAction•27m ago•1 comments

You can now reserve a hotel room on the Moon for $250k

https://arstechnica.com/space/2026/01/you-can-now-reserve-a-hotel-room-on-the-moon-for-250000/
2•dangle1•27m ago•0 comments

Great Green Wall 2.0: China is geoengineering deserts with blue-green algae

https://www.scmp.com/news/china/science/article/3338326/great-green-wall-20-china-geoengineering-...
3•jnord•27m ago•1 comments

Who told you you couldn't do that?

https://theaiunderwriter.substack.com/p/who-told-you-you-couldnt-do-that
1•participant26•30m ago•0 comments

Wireless Power Beamed from Moving Aircraft

https://spectrum.ieee.org/wireless-power-movin-airplane
1•WaitWaitWha•33m ago•0 comments

Queen bumblebees are poor foragers thanks to sparse tongue hair

https://www.sciencenews.org/article/queen-bumblebees-tongue-hair-foraging
1•WaitWaitWha•34m ago•0 comments

Nintendo Switch 2 sales stumble over Christmas

https://www.thegamebusiness.com/p/nintendo-switch-2-sales-stumble-over
1•comebhack•34m ago•0 comments

Phind Is Shutting Down

2•MekaiGS•35m ago•1 comments

Interview Coder Just Leaked Full Names and Companies of All SWEs Who Cheated [video]

https://www.youtube.com/watch?v=8T1vW85xFiQ
10•mickle00•43m ago•0 comments

Bill Ackman Funds ICE Agent GoFundMe Run by Nazi Imagery Poster

https://theintercept.com/2026/01/12/ice-gofundme-bill-ackman-jonathan-ross/
16•cdrnsf•44m ago•3 comments

Micro SD Card Extender – 68cm (26 inch) long flex cable

https://www.adafruit.com/product/3688
2•striking•46m ago•0 comments

XMPP Integration with N8n – ProcessOne

https://www.process-one.net/blog/xmpp-integration-with-n8n/
1•neustradamus•47m ago•0 comments

Clipboard Images in Claude Code CLI

https://www.woodcp.com/2026/01/clipboard-images-in-claude-code-cli/
2•tawman•49m ago•1 comments

Whatever happened to Trump Mobile's promise of a golden phone?

https://www.pbs.org/newshour/economy/whatever-happened-to-trump-mobiles-promise-of-a-golden-phone
12•type0•51m ago•0 comments

RVAA: Recursive Vision-Action Agent for Long Video Understanding

https://github.com/mohammed840/RLM-implementation
1•tmzt•53m ago•0 comments

AI's Memorization Crisis

https://www.theatlantic.com/technology/2026/01/ai-memorization-research/685552/
1•twalichiewicz•54m ago•2 comments