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!

Ericsson Silent Layoffs in the US

1•allabouttech•1m ago•0 comments

Trump Moves to Make Tech Giants Pay for Surging Power Costs

https://www.bloomberg.com/news/articles/2026-01-15/trump-to-direct-key-us-grid-operator-to-hold-e...
1•jmcdonald-ut•1m ago•0 comments

America's Throwaway Spies: How the CIA Failed Iranian Informants in Tehran

https://www.reuters.com/investigates/special-report/usa-spies-iran/
1•koolhead17•2m ago•0 comments

Mark Carney and Xi Jinping meet to mend ties as Donald Trump disrupts globe

https://www.ft.com/content/9eeff245-2081-4f97-bc8e-6bbdaf59074e
2•KnuthIsGod•5m ago•0 comments

Fontello – Combine icon webfonts for your own project

https://github.com/fontello/fontello
1•doodlesdev•5m ago•0 comments

Is there any way we can help Stack Overflow Website get back up?

https://stackoverflow.com/questions/79867766/is-there-any-way-we-can-help-stack-overflow-website-...
1•nomilk•5m ago•0 comments

AI as a Compression Problem

https://dkg.fifthhorseman.net/blog/2025-ai-and-compression.html
1•pabs3•6m ago•0 comments

PanoptiCity – interactive map reveals the scale of mass surveillance worldwide

https://panopticity.fr/
1•pabs3•7m ago•0 comments

How Safe Is the Rust Ecosystem? A Deep Dive into Crates.io

https://mr-leshiy-blog.web.app/blog/crates_io_analysis/
1•RustSupremacist•12m ago•0 comments

Trump accepts Nobel Peace medal from Venezuelan opposition leader

https://www.smh.com.au/world/north-america/venezuelan-opposition-leader-says-she-presented-trump-...
2•KnuthIsGod•13m ago•2 comments

Gen X and Millennials Will Inherit Trillions in Real Estate over the Next Decade

https://www.wsj.com/real-estate/luxury-homes/millennial-genx-inherit-real-estate-wealth-d78b4454
1•alephnerd•18m ago•1 comments

From AI agent prototype to product: Lessons from building AWS DevOps Agent

https://aws.amazon.com/blogs/devops/from-ai-agent-prototype-to-product-lessons-from-building-aws-...
1•malahay•21m ago•1 comments

TranslateGemma: A new suite of open translation models

https://blog.google/innovation-and-ai/technology/developers-tools/translategemma/
2•anigbrowl•22m ago•0 comments

Show HN: Buildzr: Python DSL for Authoring C4 Models

https://github.com/amirulmenjeni/buildzr
1•amenji•23m ago•0 comments

Apple's Tactics Could Prevent Japan from Improving Browser Competition

https://open-web-advocacy.org/blog/how_apples_key_tactic_could_prevent_japans_smartphone_act_from...
1•donohoe•26m ago•0 comments

Boeing knew of flaw in part linked to UPS plane crash

https://www.bbc.com/news/articles/cly56w0p9e1o
15•1659447091•29m ago•2 comments

Microsoft Xbox Manufacturing in 2002

https://www.youtube.com/watch?v=YeQrQYFVlXA
1•guidedlight•31m ago•0 comments

Image FX – Free One-Click AI Photo Editor and Image Generator

https://image-fx.app
1•julian2026•32m ago•0 comments

European Alternatives for Digital Products

https://european-alternatives.eu
1•memset•34m ago•0 comments

Show HN: Dev Utility Hub – Client-side only developer tools (JSON, JWT, Cron)

1•hun-ing•37m ago•0 comments

vLLM-MLX – Run LLMs on Mac at 464 tok/s

https://github.com/waybarrios/vllm-mlx
2•waybarrios•42m ago•1 comments

Ericsson Doing Quiet Layoffs

5•allabouttech•44m ago•0 comments

Noninvasive brain treatment for depression proves helpful

https://www.cnn.com/2026/01/15/health/saint-tms-depression-therapy-wellness
5•1659447091•45m ago•0 comments

How to Speak LLM

https://chuanqisun.github.io/how-to-speak-llm/
1•osmoscraft•45m ago•0 comments

Cryptography 30 years apart: Ascon on an HP-16C

https://dram.page/p/ascon-hp16c/
2•todsacerdoti•48m ago•0 comments

Show HN: OneView – One-page website builder you can share OR embed anywhere

https://www.oneview.work/en
1•fengs•50m ago•0 comments

My Projects in 2025

https://simonhartcher.com/posts/2026-01-16-my-projects-in-2025/
2•deevus•51m ago•1 comments

Predictions for the New Year

https://lwn.net/Articles/1052269/
1•signa11•51m ago•0 comments

Hytale Calculator

https://hytalecalculator.com/
4•quchao•52m ago•1 comments

After Hostile Takeover Fail, Ellison's Paramount Skydance Sues WBD Netflix

https://finance.yahoo.com/news/failed-hostile-takeover-bid-david-023115712.html
7•stopbulying•53m ago•2 comments