frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

I Declare the Term Cuntwaffle

http://fuck.off/cunt/fuck/you
1•cap11235•1m ago•1 comments

I Like GitLab

https://www.whileforloop.com/en/blog/2026/01/21/i-like-gitlab/
1•lukas346•3m ago•0 comments

TikTok users freak out over app's 'immigration status' collection

https://techcrunch.com/2026/01/23/tiktok-users-freak-out-over-apps-immigration-status-collection-...
1•c420•3m ago•0 comments

Show HN: Character AI Bots Directory

https://www.characteraibots.com/
1•lincyang•5m ago•0 comments

Show HN: Heterogeneous Agent Protocol (Derived from Nursing and Construction)

https://github.com/eric2675-coder/Heterogeneous-Agent-Protocol/blob/main/README.md
1•eric2675•7m ago•1 comments

Air Pollution in World: Real-Time Air Quality Index Visual Map

https://aqicn.org/map/world/
2•leksak•8m ago•0 comments

Telegraph Key(singular)board: Morse for the modern era

https://hannahilea.com/blog/telegraph-key-singular-board/
1•aebtebeten•9m ago•0 comments

Don't lose your ChatGPT conversations: Convert them to Markdown

https://chat-capsule.com/
1•bekoeppel•11m ago•0 comments

How I Estimate Work as a Staff Software Engineer

https://www.seangoedecke.com/how-i-estimate-work/
2•mattjhall•13m ago•0 comments

I don't want to paint or write in the age of AI

https://idiomdrottning.org/ai-vs-art
1•arboles•16m ago•1 comments

Fallacies of Distributed Computing

https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing
1•tosh•16m ago•0 comments

Doing Gigabit Ethernet over My British Phone Wires

https://thehftguy.com/2026/01/22/doing-gigabit-ethernet-over-my-british-phone-wires/
5•user5994461•21m ago•0 comments

Show HN: Vibecoded AWS SAA‑C03 Cheat Sheet

https://sa.carrots.dev/
1•Lwrless•22m ago•0 comments

The Master Warning vs. The Instrument Scan: Why I moved data to e-ink

https://turbulencegains.com/trmnl-review-2026/
2•jerr12939•24m ago•0 comments

Show HN: Free AI Headshot Generator

https://freeaitoolforthat.com/ai-headshot-generator
2•tamnv•25m ago•0 comments

The Gaffer #51: The Cardellini Clamp [video]

https://www.youtube.com/watch?v=I1gkwQcelKo
1•yair99dd•25m ago•1 comments

Vibe Graveyard

https://vibegraveyard.ai/
3•spc476•26m ago•0 comments

Disko-ZFS: Declaratively Managing ZFS Datasets

https://redalder.org/blog/disko-zfs-declaratively-managing-zfs-datasets.html
2•lovesegfault•27m ago•0 comments

Show HN: Jar.tools – online Jar file opener

https://jar.tools/
2•Igor_Wiwi•29m ago•0 comments

Going Founder Mode on Cancer

https://centuryofbio.com/p/sid
1•doppp•29m ago•0 comments

Ask HN: How do you AI code from your phone?

3•splitbrain•36m ago•0 comments

World record for endurance singing, 1976

https://www.rte.ie/archives/2026/0124/1553434-record-marathon-singer/
1•austinallegro•38m ago•0 comments

Show HN: I built a space travel calculator using Vanilla JavaScript

https://cosmic-odometer.vercel.app/
1•captainnemo729•39m ago•1 comments

Don't panic The blockchain explorer isn't out to get you

https://thebitgazette.com/dont-panic-the-blockchain-explorer-isnt-out-to-get-you/
1•CapricornQueen•46m ago•0 comments

Women filmed in secret for TikTok content – and then harassed online

https://www.bbc.co.uk/news/articles/cr7jej2elyyo
3•mindracer•49m ago•1 comments

Repatriate the gold': German economists advise withdrawal from US vaults

https://www.theguardian.com/world/2026/jan/24/repatriate-the-gold-german-economists-advise-withdr...
24•vinni2•51m ago•7 comments

Remotely unlocking an encrypted hard disk

https://jyn.dev/remotely-unlocking-an-encrypted-hard-disk/
2•fanf2•53m ago•0 comments

Qualcomm CEO pockets 15% pay rise as profits fall 45%

https://www.theregister.com/2026/01/23/qualcomm_ceo_pay/
1•Brajeshwar•59m ago•0 comments

Professor in Germany regards 2 years of ChatGPT chat history "academic work"

https://www.nature.com/articles/d41586-025-04064-7
2•myk-e•1h ago•1 comments

Show HN: AI Lint – Teach coding agents your team's standards, not just syntax

1•keepamovin•1h ago•0 comments