frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Agentic AI Foundation

https://block.xyz/inside/block-anthropic-and-openai-launch-the-agentic-ai-foundation
1•thinkingkong•1m ago•0 comments

Semiconductor industry enters 'giga cycle' – scale of AI is rewriting economics

https://www.tomshardware.com/tech-industry/semiconductors/semiconductor-industry-enters-giga-cycl...
1•speckx•1m ago•0 comments

Accelerating Spark Queries

1•hkverma•4m ago•0 comments

Show HN: Prompt tuning with compliance and risk assessment.

https://agentictuner.ai
1•phrocker•5m ago•0 comments

Show HN: UIforSaaS – Production-Ready SaaS UI Kit for React and Tailwind

https://www.uiforsaas.dev/
1•FlorinDobinciuc•10m ago•0 comments

Improve your docs by giving your AI assistant the project's issues

https://tonyaldon.com/2025-12-09-improve-your-docs-by-giving-your-ai-assistant-the-project-issues/
1•tonyaldon•11m ago•0 comments

Selling H200s to China Is Unwise and Unpopular

https://thezvi.wordpress.com/2025/12/09/selling-h200s-to-china-is-unwise-and-unpopular/
1•speckx•15m ago•0 comments

Common Threads

https://pudding.cool/2025/12/motifs/
1•feross•16m ago•0 comments

Show HN: Client-side file tools – PDF, images, crypto, all in-browser

https://nouploadtools.com
1•digi_wares•17m ago•0 comments

It is counterproductive to force cache on all tools of an agent

1•istvan_intrnd•17m ago•0 comments

We Manage Cloudflare with Infrastructure as Code

https://blog.cloudflare.com/shift-left-enterprise-scale/
2•eldridgea•18m ago•0 comments

The Resonant Computing Manifesto

https://resonantcomputing.org/
1•sinak•20m ago•0 comments

The Tate Modern posted my job application on the internet

https://maxakohler.substack.com/p/the-tate-modern-posted-my-job-application
1•speckx•20m ago•0 comments

Express JavaScript API sucks, so meebo

https://github.com/Mike-Medvedev/meebo
1•medvedevil•20m ago•1 comments

The Year of the Linux Desktop Is Finally Here – But Not for Humans

https://mofeed.xyz/posts/linux-agentic-desktop/
1•mo_ajeeb•22m ago•0 comments

Show HN: No API? No Problem! Unlock web data behind clicks, searches, and UI

https://console.vectorly.app
3•dimavrem22•22m ago•0 comments

Why the A.I. Boom Is Unlike the Dot-Com Boom

https://www.nytimes.com/2025/12/09/technology/ai-boom-unlike-dot-com-boom.html
4•janandonly•22m ago•0 comments

Is It a Bubble?

https://www.oaktreecapital.com/insights/memo/is-it-a-bubble
1•gmays•25m ago•0 comments

#1 Week of Building Cross a todo app that syncs to Notion and Obsidian

https://medium.com/@kresstudios/1-week-of-building-cross-a-todo-app-that-syncs-to-notion-and-obsi...
1•luis_journey•25m ago•0 comments

Progressives used to view schools as engines of social mobility

https://www.theatlantic.com/ideas/2025/12/school-reform-progressives/685179/
3•JumpCrisscross•25m ago•1 comments

We are breaking the domain industry. On purpose

https://domainsforequity.com/blog/179/were-breaking-domain-industry-purpose
2•TsaniGr•25m ago•1 comments

Cisco AI's A2A Scanner – New OSS Tool to Detect Threats in A2A Eco-System

https://github.com/cisco-ai-defense/a2a-scanner
3•sanket-msd•25m ago•1 comments

The Big Vitamin D Mistake [pdf]

https://pmc.ncbi.nlm.nih.gov/articles/PMC5541280/pdf/jpmph-50-4-278.pdf
6•felineflock•25m ago•0 comments

How do solo founders get their first pilot users for a complex B2B product?

1•drguzman•26m ago•0 comments

The Slow and Dangerous Loss of Self

https://www.chrismdp.com/the-slow-and-dangerous-loss-of-self/
2•janpio•26m ago•1 comments

Microsoft invests $17.5B in India to drive AI diffusion at population scale

https://news.microsoft.com/source/asia/2025/12/09/microsoft-invests-us17-5-billion-in-india-to-dr...
2•mikece•27m ago•0 comments

Happy Smallpox Eradication Day [video]

https://www.youtube.com/watch?v=ljmifo4Klss
1•db48x•27m ago•1 comments

Bazel Migrate to Bzlmod

https://blog.engflow.com/2025/01/16/migrating-to-bazel-modules-aka-bzlmod---module-extensions/
1•mesto1•28m ago•0 comments

Claude Code in Slack

https://claude.com/blog/claude-code-and-slack
1•mesto1•31m ago•0 comments

Private Indices Are the New Public Indices

https://www.bloomberg.com/opinion/newsletters/2025-12-09/private-indices-are-the-new-public-indices
1•ioblomov•32m ago•1 comments