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: One screen live election night dashboard for the 2026 midterms

https://github.com/noahfleming/election-night-2026
1•draftfirstcs•1m ago•0 comments

Show HN: Sigmajp – Integrated Japanese Reader

https://sigmajp.works/
1•loosetypewriter•3m ago•0 comments

Audrey: The Early 2000's Failed Internet Appliance [video]

https://www.youtube.com/watch?v=TyXtBrC1Fv0
2•gregsadetsky•7m ago•1 comments

Jelly Sheet

https://mrdoob.github.io/codevember-2026/01/
2•memalign•8m ago•0 comments

DeepSeek Harness' new Creator Mode creates plugins from prompts

https://mashable.com/tech/deepseek-creator-mode-plugins
1•esafak•8m ago•0 comments

Show HN: TickerTown, a pixel-art stock market simulator

https://tickertown.ai
1•williswee•8m ago•0 comments

Democrats win control of the House of Representatives

https://www.nbcnews.com/politics/2026-election/democrats-house-control-midterm-election-wins-trum...
25•geox•12m ago•3 comments

Show HN: Rendering 3D Models in the Terminal

https://muratbayraktar.dev/blog/3d-rendering-in-the-terminal/
2•bob65536•14m ago•0 comments

Study solved a 150-year-old mystery into the identity of the extinct giant crane

https://www.bournemouth.ac.uk/news/2026-10-28/study-has-solved-150-year-old-mystery-identity-exti...
1•gmays•18m ago•0 comments

Show HN: Railyard – Git-push deploys and OSS templates on your own VPS

https://railyard.run/
1•RailyardRun•22m ago•0 comments

SemiconductorX – The Chip Supply Chain, from Quartz to Module

https://semiconductorx.com/
2•peter_d_sherman•25m ago•0 comments

Distinct cellular and genetic differences in colorectal cancer in young patients

https://www.dana-farber.org/newsroom/news-releases/2026/study-reveals-distinct-cellular-and-genet...
4•gmays•28m ago•0 comments

Terminal Apps Respecting System Dark Mode

https://samasaur1.github.io/blog/terminal-apps-respecting-system-dark-mode
1•ankitg12•34m ago•0 comments

Ask HN: What do you call Holy Grail mania risk?

2•totetsu•37m ago•1 comments

Arrows to arrows, categories to queries (2025)

https://reasonablypolymorphic.com/blog/arrows-to-arrows/
7•firstbase•37m ago•0 comments

NetBSD 11.1

https://netbsd.org/releases/formal-11/NetBSD-11.1.html
2•jaypatelani•37m ago•0 comments

Turn Qwen evil using a single neuron

https://ziva.sh/blogs/evil-qwen
3•sayamss•41m ago•0 comments

Ultrafine Martian dust presents additional risks for future crewed missions

https://www.pnas.org/doi/10.1073/pnas.2620747123
1•caiobegotti•45m ago•0 comments

Show HN: DropMyPage – turn an HTML file or PDF into a link and QR code

https://dropmypage.com
1•mukeshdotnet•50m ago•0 comments

Crushed Shells Protect Against Ocean Acidification

https://www.ucdavis.edu/news/how-crushed-shells-protect-against-ocean-acidification
1•gmays•50m ago•0 comments

Is hosting an open-source inference engine profitable?

https://userecurrence.ai/research/is-hosting-open-source-inference-profitable
1•jinqueeny•50m ago•0 comments

Silicon Valley Promises AI Will Cure Disease. Drugmaker CEOs Aren't Buying It

https://www.wsj.com/tech/ai/silicon-valley-promises-ai-will-cure-disease-drugmaker-ceos-arent-buy...
2•nradov•50m ago•0 comments

Unlocking the (Nintendo) lockout (see pages 6-9) [pdf]

https://archive.nes.science/nintendoage-forums/static.nintendoagemedia.com/ezine/Issue_07-2008.pdf
2•pseudohadamard•54m ago•0 comments

Show HN: No-JS <dialog> in Blades CSS v3.1.1 (a Pico CSS fork)

https://blades.dev/css/modal/
1•anydigital•54m ago•0 comments

I Built an AI That Works Through the Apocalypse – Will Prowse [video]

https://www.youtube.com/watch?v=E2N7IsZ_Xio
1•bbrookshier•55m ago•0 comments

Old, Polluting Jet Engines Are Being Scavenged to Power Data Centers

https://www.nytimes.com/2026/11/03/climate/jet-engines-ai-data-center-generators-boneyard.html
2•JumpCrisscross•1h ago•0 comments

Failed Experience → Hypothesis → Refutation → Principle → Worldview

https://zenodo.org/records/22706328
1•shoman3003•1h ago•0 comments

Is Your TV Spying on You

https://zlu.me/2026/11/02/is-your-tv-spying-on-you.html
2•zlu•1h ago•1 comments

Tell HN: Don't use Postman, they proxy your info without your permission

3•neya•1h ago•1 comments

Design Tenets for Agent Identity Management Systems

https://www.nist.gov/blogs/cybersecurity-insights/design-tenets-agent-identity-management-systems
1•mooreds•1h ago•1 comments