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!

I6P: An IPv6-only P2P transport layer in Go (QUIC and ratchet)

https://github.com/TheusHen/I6P
1•TheusHen•4m ago•1 comments

Plaza.one

https://plaza.one/
1•indigodaddy•4m ago•0 comments

Show HN: ApiTap – Stream APIs to any Data Warehouse with SQL (Rust + DataFusion)

https://apitap.dev/
1•kotekaman•4m ago•0 comments

Slopware.wtf – Roasting AI-Generated Garbage Software

https://slopware.wtf/
1•airhangerf15•5m ago•0 comments

Cchistory: Track Claude Code system prompts over time

https://cchistory.mariozechner.at/
1•handfuloflight•5m ago•0 comments

Show HN: I built an AI that calls you until you wake up

https://wakecall.online/
1•rahma_tm•16m ago•1 comments

SHP: 700x faster context recall by treating memory as network

https://github.com/silentnoisehun/Silent-Hope-Protocol
1•Hope_Genom•17m ago•1 comments

A Year of Typing: My NumPy Fellowship Retrospective

https://blog.scientific-python.org/numpy/fellowship-program-2025-retrospective/
1•todsacerdoti•19m ago•0 comments

Anthropic bans use of API in OpenCode CLI tool

https://github.com/anomalyco/opencode/issues/7410
2•sergiotapia•19m ago•0 comments

We just open sourced the code-simplifier agent we use on the Claude Code team

https://twitter.com/bcherny/status/2009450715081789767
1•cleanexit0•19m ago•0 comments

SFC vs. VIZIO: who can enforce the GPL?

https://lwn.net/SubscriberLink/1052734/5903e175673caeef/
2•pabs3•21m ago•0 comments

GPLv2 and Installation Requirements

https://lwn.net/SubscriberLink/1052842/52c45fb8bcc3fade/
1•pabs3•22m ago•0 comments

Show HN: Open-source multimodal AI that runs in the browser

https://johnjboren.github.io/ai-assistant.html
1•EschatonCometh•23m ago•0 comments

Show HN: Layoffstoday – Open database tracking for 10k Companies

https://layoffstoday.io/
1•doremon0902•24m ago•0 comments

Pituffik Space Base

https://en.wikipedia.org/wiki/Pituffik_Space_Base
2•CGMthrowaway•25m ago•0 comments

From old English to modern American English in one monologue

https://www.youtube.com/watch?v=842OX2_vCic
1•gk1•25m ago•0 comments

Financial Hardship Shows Up in Baby Brains

https://nautil.us/how-financial-hardship-shows-up-in-baby-brains-1260476/
1•fleahunter•27m ago•0 comments

Testing 2 open-weight models across coding tasks: GLM 4.7 and MiniMax M2.1

https://blog.kilo.ai/p/open-weight-models-are-getting-serious
1•heymax054•27m ago•0 comments

When AI writes almost all code, what happens to software engineering?

https://newsletter.pragmaticengineer.com/p/when-ai-writes-almost-all-code-what
3•Brajeshwar•31m ago•0 comments

Show HN: A commitment model for usage billing

https://twitter.com/tryflexprice/status/2009226683849773430
1•sudeepsd__•31m ago•0 comments

Trump Lays Out a Vision of Power Restrained Only by 'My Own Morality'

https://www.nytimes.com/2026/01/08/us/politics/trump-interview-power-morality.html
8•Stevvo•32m ago•0 comments

Ask AI via Lightning payments (no accounts, no API keys, no stored history)

https://satsforai.com/
1•LightProx•34m ago•1 comments

The most popular Go dependency is

https://blog.thibaut-rousseau.com/blog/the-most-popular-go-dependency-is/
1•bzGoRust•38m ago•0 comments

Ralph Wiggum Experiment – Can AI meaningfully improve through iterative loops?

https://github.com/UtpalJayNadiger/ralphwiggumexperiment
1•iacguy•39m ago•0 comments

Implementing a web server in a single printf() call (2014)

https://tinyhack.com/2014/03/12/implementing-a-web-server-in-a-single-printf-call/
1•nateb2022•39m ago•1 comments

Kelly Evans: Goodbye, Google

https://www.cnbc.com/2026/01/07/kelly-evans-goodbye-google.html
1•cebert•43m ago•1 comments

Spirit Cave Resilience: How Do We Explain a 10k-Year Continuity

https://www.cambridge.org/core/journals/american-antiquity/article/spirit-cave-resilience-how-do-...
1•1659447091•45m ago•0 comments

Show HN: LSP Skill – IntelliSense for Coding Agents That Works

https://lsp-client.github.io/
1•observerw•51m ago•0 comments

Against the 'METR Graph'

https://arachnemag.substack.com/p/the-metr-graph-is-hot-garbage
1•zygmunt417•51m ago•0 comments

Cellular Landscape

https://gaelmcgill.artstation.com/projects/Pm0JL1
2•o4c•52m ago•0 comments