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!

Alphabet's Revenue Miss Reignites Fears over AI Spending Binge

https://www.bloomberg.com/news/articles/2026-10-28/alphabet-reports-disappointing-revenue-income-...
1•angry_impala•1m ago•0 comments

Free Expense Splitting App

https://sharebucks.app
1•ish-xyz•1m ago•1 comments

Single Mutable Ownership

https://cirw.in/blog/single-mutable-ownership
1•ankitg12•6m ago•1 comments

Build a better AI product with explicit classification

https://steadily.ca/newsletter/edition/better-ai-products-with-explicit-classification
1•dhruvio•9m ago•0 comments

The diameter and distribution of Sidon sets

https://terrytao.wordpress.com/2026/10/28/on-the-diameter-and-distribution-of-sidon-sets/
1•smilelamp•9m ago•0 comments

Edgar Allan Poe, Quintessential American Writer

https://slate.com/culture/2026/10/edgar-allan-poe-poems-stories-most-influential-american-writer-...
1•samclemens•10m ago•0 comments

Show HN: Supply chain security for open source maintainers

https://safedep.io/oss/
1•tech_solver•11m ago•0 comments

A small behavior model that beats frontier LLMs at predicting human reactions

https://cairolabs.app/rosetta
1•ferflowerssss•12m ago•0 comments

I built ASCII Studio-an app that turns photos into ASCII art

https://apps.apple.com/in/app/ascii-studio-photo-editor/id6821664919
1•hrmorhover•15m ago•0 comments

Oura sues rival Ultrahuman again, threatening its US smart ring comeback

https://techcrunch.com/2026/10/22/oura-sues-rival-ultrahuman-again-threatening-its-u-s-smart-ring...
1•gmays•19m ago•0 comments

Commits, pushes, reach new highs in 2026 as developers build with agents

https://github.blog/news-insights/octoverse/octoverse-commits-pushes-reach-new-highs-in-2026-as-d...
2•nreece•20m ago•0 comments

DigGitHub – add "dig" to any GitHub URL to see if the project is alive

https://diggithub.com/
1•ycgetax•22m ago•0 comments

Meta has a new AI pet app called Waddle World

https://techcrunch.com/2026/10/28/meta-has-a-new-ai-pet-app-called-waddle-world/
2•saikatsg•25m ago•1 comments

AI Chatbots Are Building an 'Algorithmic Self-Portrait' of You

https://gizmodo.com/ai-chatbots-are-building-an-algorithmic-self-portrait-of-you-2000775529
2•saikatsg•28m ago•0 comments

Stripe Introduces B2B CLI Payments

https://docs.stripe.com/cli/pay
2•meander_water•33m ago•1 comments

Free course: Build and deploy an AI web app with Django and DigitalOcean

https://www.aicertificationcouncil.com/
1•quietkernel•33m ago•0 comments

How to tell the birds from the flowers (1907)

https://archive.org/details/howtotellbirds00wood
2•the-mitr•36m ago•0 comments

Peltola campaign and national Dems recruited spoiler candidates according to NYT

https://alaskapublic.org/news/politics/elections/2026-10-28/peltola-campaign-and-national-dems-re...
2•lakeviewterrace•40m ago•0 comments

Nono: Agent Runtime Security

https://nono.sh
1•handfuloflight•40m ago•1 comments

Point system Claude uses to ban accounts

https://twitter.com/make_claude/status/2115501814090969583
1•cft•41m ago•0 comments

New superconducting chip aims to help tame fusion plasma

https://www.scientificamerican.com/article/new-superconducting-chip-aims-to-help-tame-fusion-plasma/
1•gmays•41m ago•0 comments

Windows 9

https://archive.org/details/windows_9
2•andsoitis•42m ago•1 comments

O11: OpenRouter for Agent Tools

https://o11.ai
2•handfuloflight•43m ago•0 comments

Nanofluidic circuitry

https://en.wikipedia.org/wiki/Nanofluidic_circuitry
1•CGMthrowaway•43m ago•0 comments

Ultrasound creates a tube that guides matter through the air

https://www.helsinki.fi/en/news/energy/ultrasound-creates-tube-guides-matter-through-air
3•geox•52m ago•0 comments

NLnet Publishes More Stringent Generative AI Policy

https://nlnet.nl/news/2026/20261020-AI-policy.html
2•luu•57m ago•0 comments

This image will get blurrier everytime someone sees it & be gone after 10 views

https://joinfaded.com/post/8eb37c53-e278-41d0-be45-20574429467a
1•dreadsword•1h ago•4 comments

1,053,690 answers show that the current AEO landscape is bullshit [pdf]

https://manicule.com/research/manicule-prompt-tracking-methodology.pdf
1•namban06•1h ago•1 comments

Run custom connectors without a Fivetran account

https://fivetran.com/docs/connector-sdk/testing/write-to-iceberg-catalog
2•emrah•1h ago•0 comments

Mull: Note-Taking with a Language Server

https://github.com/stepchowfun/mull
2•stepchowfun•1h ago•1 comments