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!

Why India's plan to make AI companies pay for training data should go global

https://restofworld.org/2026/india-ai-data-license-fee/
1•brandrick•1m ago•0 comments

Show HN: MemSky: Bluesky timeline viewer web app that saves where you left off

https://memalign.github.io/m/memsky/index.html
1•memalign•2m ago•0 comments

Heltun Removed from Works with Home Assistant

https://www.home-assistant.io/blog/2026/01/13/partner-update-heltun/
1•solarist•3m ago•0 comments

A Galaxy You Can Dig: When Human-Scale Intuition Breaks

https://medium.com/@jud.dagnall/a-galaxy-you-can-dig-when-human-scale-intuition-breaks-e00c4f834e7d
1•saulpw•9m ago•0 comments

Wearable ECG Applications Based on the AD823X Microchip and the Arduino Platform

https://www.mdpi.com/2673-4591/118/1/86
1•PaulHoule•10m ago•0 comments

Hybrid Sovereignties and Inuit Land Claims: Native Corporations [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2025/11/zellen-pfwo.pdf
1•brandonlc•10m ago•1 comments

My Homelab Setup in 2026

https://nikola.kotur.org/my-homelab-setup-in-2026
2•kotnik•10m ago•1 comments

Free Crowdsourced Collection of Cars Owner Manuals

https://justgivemethedamnmanual.com/
2•armenarmen•13m ago•0 comments

OWS (Fake Compressed Archive)

http://justsolve.archiveteam.org/wiki/OWS_(fake_compressed_archive)
1•macote•14m ago•0 comments

Fake Cancer Doctor Insider Trading

https://www.bloomberg.com/opinion/newsletters/2026-01-13/fake-cancer-doctor-insider-trading
1•ioblomov•14m ago•1 comments

Topic2Manim Now Has a UI

https://github.com/mateolafalce/topic2manim
1•lafalce•17m ago•0 comments

SkyCompute – Satellite-Based Cloud Computing Architecture

https://www.dropbox.com/scl/fi/p2kkk9b3bnun9g10zejx8/SKYCOMPUTE.PROJECT.pdf?dl=0j&noscript=1&rlke...
1•pouyam19•18m ago•1 comments

Discontinuing the Teensy at Adafruit

https://blog.adafruit.com/2026/01/12/discontinuing-the-teensy-at-adafruit/
2•ta988•18m ago•0 comments

Apple Apps Will No Longer Receive All New Features Without a Subscription

https://www.macrumors.com/2026/01/13/apple-creator-studio-exclusive-app-features/
3•htk•19m ago•1 comments

PICO-8 Demo from RSync – Demoparty

https://nodeponds-nerdletter.de/pico-8-demo-from-rsync-demoparty-konsumer-modulator/
2•mtlebe•20m ago•0 comments

Love at First Sprite?

https://davidedmiston.com/post/2026/first-sprite/
1•avivby•22m ago•0 comments

The Housing Market Isn't for Single People

https://thewalrus.ca/the-housing-market-isnt-for-single-people/
6•pseudolus•23m ago•2 comments

Graphite, Free online vector editor and procedural design tool

https://graphite.art/
1•achairapart•23m ago•0 comments

Access Is the New API

https://dantelex.com/blog/access-is-the-new-api
1•avivby•24m ago•0 comments

A bounded work queue in C with explicit invariants

https://github.com/Emmanuel326/mutex_condvar
1•Nya-kundi•25m ago•1 comments

A university got itself banned from the Linux kernel

https://www.theverge.com/2021/4/30/22410164/linux-kernel-university-of-minnesota-banned-open-source
2•italophil•27m ago•1 comments

DIY PC maker Framework's desktops succumb to RAM apocalypse

https://www.tomshardware.com/desktops/gaming-pcs/diy-pc-maker-framework-finally-succumbs-to-ram-a...
2•speckx•29m ago•0 comments

MiniJinja is a powerful but minimal dependency template engine for Rust

https://github.com/mitsuhiko/minijinja
1•tosh•30m ago•0 comments

What should you write about on your blog?

https://idiallo.com/blog/what-should-i-write-about
1•coronapl•31m ago•0 comments

No management needed: anti-patterns in early-stage engineering teams

https://www.ablg.io/blog/no-management-needed
1•tonioab•32m ago•0 comments

GenAI turned producing $1M videos into $100 and dead easy

https://drive.google.com/file/d/1HVSrACB1PnlEt2NpuPenMyqIJc0ilCZa/view?usp=sharing
1•bayeslaw•33m ago•1 comments

Hey Sam, where is Stargate Argentina?

https://tickerfeed.net/articles/openai-where-is-stargate-argentina
3•sethops1•35m ago•0 comments

Choosing Learning over Autopilot

https://anniecherkaev.com/choosing-learning-over-autopilot
1•evakhoury•40m ago•0 comments

Tribute: Discover and fund the open source projects your code depends on

https://github.com/jshchnz/tribute
2•jshchnz•42m ago•0 comments

Show HN: LeetCode CLI – Interview timer, solution snapshots,collaborative coding

https://github.com/night-slayer18/leetcode-cli
2•night-slayer•42m ago•0 comments