frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Show HN: Undistracted Me – open-source new tab with site blocker and clipper

https://app.undistracted.me/
1•sarojbelbase•3m ago•0 comments

Show HN: Votefolio -> every election you can vote in, from your address

https://votefolio.app
1•aigeano•4m ago•0 comments

A typing test that also shows how many hours a year you spend retyping

https://www.korteapp.com/en/typing-speed-test
1•pascalcolard•4m ago•0 comments

World Building of the Year 2026: a climate-regulating university complex

https://bustler.net/news/11220/world-building-of-the-year-2026-awarded-to-climate-regulating-step...
1•ripe•5m ago•0 comments

Show HN: Compile PHP to WebAssembly and run Symfony apps in the browser

https://lyrixx.github.io/php-wasm-builder/
1•lyrixx•5m ago•0 comments

A Clock Made of Branches

https://fzakaria.com/2026/11/01/a-clock-made-of-branches
1•surprisetalk•6m ago•0 comments

We pointed our own security scanner at our own app and got wrecked

https://argus-cyberwatch.space/hn
1•JohnMci•6m ago•0 comments

I Don't Like (and Don't Recommend) Website Checklists

https://meiert.com/blog/i-dont-like-website-checklists/
1•speckx•7m ago•0 comments

DevTape – Open protocol and 3.9MB Rust CLI for recording dev/AI sessions (.tape)

https://github.com/sayyidsh/devtape
1•sayyidls•7m ago•0 comments

SilverBullet 3.0

https://no.silverbullet.md/3
1•ozym4nd145•8m ago•0 comments

Show HN: My son wanted to play GTA, so I built him one where nobody gets hurt

https://www.magiccarpetcity.com/
1•ksimon•8m ago•0 comments

GTA VI's jaw-dropping success: in figures

https://www.theguardian.com/games/2026/nov/24/gta-vi-streaming-numbers-charts
1•beardyw•9m ago•0 comments

Trump made up to $15M on Nvidia shares after Huang's return

https://www.ft.com/content/67b0a070-c2a9-4229-885a-383cca657763
2•theahura•9m ago•0 comments

Entity Framework Core Query Plans in VS Code: EFCore Visualizer 1.0

https://www.giorgi.dev/entity-framework/efcore-visualizer-for-vs-code/
1•mcnamaragio•9m ago•0 comments

Show HN: FMRL – Host a site, content, video stream from the browser with WebRTC

https://fmrl.live
1•bromney•9m ago•0 comments

Show HN: Voxa – open-source video dubbing that stays in sync with the speaker

https://github.com/akshinmrv/Voxa
2•akshinmrv•11m ago•0 comments

1,615 New TLDs Are Coming. Is Your DNS Ready for a Bigger Namespace?

https://www.akamai.com/blog/security/2026/nov/1615-new-tlds-dns-ready-for-bigger-namespace
1•ksec•11m ago•0 comments

Jensen Huang and the Great Man Theory of AI

https://www.thefp.com/p/niall-ferguson-jensen-huang-ai-chips-business-trump
1•fortran77•12m ago•0 comments

Show HN: I Know Your Age – Guess your age via nostalgia (Bayesian, local)

https://iknowyourage.com/
1•ropoz•12m ago•1 comments

Show HN: Pi-maestro – spec driven development for Pi

https://github.com/emilioSp/pi-maestro
1•emiliospme•13m ago•0 comments

Watermelon Merge, a Suika-style browser game

https://watermelonmerge.com/
1•Dragoing-Xing•13m ago•0 comments

Layerpool

https://pypi.org/project/layerpool/
1•jonbaer•14m ago•0 comments

The Railway security incident: what we rotated, why we moved to Google Cloud

https://ocnexus.dev/blog/railway-incident-2026-10/
1•lumeniq•14m ago•0 comments

An AI Bot for Your RCS Group Chat

https://reticulated.net/dailyai/ai-bot-rcs-group-chat/
2•pwillia7•15m ago•0 comments

Ask HN: Europe-based Kickstarter/Indiegogo alternatives

1•BrunoBernardino•15m ago•0 comments

Fizzlefade (2017)

https://fabiensanglard.net/fizzlefade/index.php
1•dverlaeckt80•16m ago•0 comments

I Built a URL Shortener

https://learnitmyway.com/url-shortener/
1•learnitmyway•16m ago•0 comments

Delhi, developing rapidly, now has a lower fertility rate than the United States

https://hannahritchie.substack.com/p/delhi-us-fertility
1•iamnothere•16m ago•0 comments

Show HN: 3D story maps in JupyterLab, written in Python, run in the browser

https://notebook.link/@arjxn-py/3d-nepal-flood
7•arjxn-py•17m ago•1 comments

Show HN: PHP-WebVPN – Turn any shared PHP hosting into a stealth VPN and proxy

https://github.com/zenkdom/php-webvpn
1•zenkdom•18m ago•0 comments