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!

We're still figuring out the side effects of GLP-1 weight-loss drugs

https://www.technologyreview.com/2026/10/09/1146094/were-still-figuring-out-the-side-effects-of-g...
1•joozio•18s ago•0 comments

Lots and Lots of Control Panels

https://kottke.org/26/10/lots-and-lots-and-lots-of-control-panels
1•msalsas•1m ago•0 comments

Megakernels on Mac: What Fusion Saves and What It Costs

https://abhishek.it/blog/how-megakernels-work-and-how-to-build-kernels-for-mac
1•frostbyte7•5m ago•0 comments

Show HN: Small web app to memorize Korean words

https://game.tolearnkorean.com/
1•bryanhogan•13m ago•0 comments

Movie Review: Levels (2024)

https://www.nerdly.co.uk/2024/11/15/levels-review/
1•walterbell•13m ago•0 comments

RF BrainScan getting out at UN now?

1•Dabbling_Dion•15m ago•0 comments

Makaton

https://en.wikipedia.org/wiki/Makaton
1•nomilk•15m ago•0 comments

MD5 Research Challenge

https://solveathome.org/projects/md5
1•jonbaer•20m ago•0 comments

Replaced

https://ghuntley.com/replaced/
1•kaeruct•23m ago•0 comments

Opus Core 1.2 is now available

1•pragidi•24m ago•0 comments

Lovable Style Builder via CF Inference GLM-5.3, Kimi K2.7 Code and GLM-5.3 Flash

https://mainbrella.com/blog/lovable-style-builder-cloudflare-inference/
2•cs1996•24m ago•1 comments

Show HN: Bob

https://bob.spif.fyi/
1•androsynth89•26m ago•1 comments

SQLite 3.54.0 Released

https://sqlite.org/releaselog/3_54_0.html
3•thunderbong•28m ago•0 comments

AI's leaders (probably) aren't faking their fear

https://www.vox.com/politics/505834/ai-doom-anthropic-openai-pr
3•simianwords•29m ago•0 comments

Orkut: You deserve better from social media

https://orkut.com/en/
1•yarapavan•37m ago•1 comments

From WordPress to Astro: Zero Maintenance, Maximum Control

https://www.mikeroberto.com/wordpress-astro-migration
1•larrysalibra•41m ago•0 comments

Neuroscience Can Make Decluttering Easier

https://www.nytimes.com/2026/10/11/opinion/clutter-spring-cleaning-psychology.html
2•gumby•41m ago•1 comments

TasteRoute: Personalized Routing for Video Generation

https://zrt.wtf/publication/2026-10-10-taste-route
1•blackcat201•43m ago•0 comments

Show HN: Infinite – open-source node-based DAW for visuals, music and code

https://github.com/n1m21n/Infinite
1•n1m21n•46m ago•0 comments

LiteReview: A self-hosted plane for configuring PR review agents

https://github.com/BerriAI/litereview
1•mfkhalil•49m ago•0 comments

Distanser – Measure Anything on Screen

https://apps.apple.com/us/app/distanser/id6805159232?mt=12
1•j-sanden•51m ago•1 comments

Luke Nichols' (Outdoor Boys YouTube channel) full commencement speech [video]

https://www.youtube.com/watch?v=ttQd5bEdfL0
1•nomilk•52m ago•0 comments

LineageOS 24.0

https://lineageos.org/Changelog-32/
4•timschumi•54m ago•0 comments

Ask Claude Code for a Svelte table and it writes 1k lines of its own

https://svgrid.com/blog/ai-assistant-writes-its-own-table/
1•boikom•56m ago•0 comments

DARPA Selects Companies for Final Stage C Verification Under QBI

https://quantumcomputingreport.com/darpa-selects-atom-computing-diraq-ibm-and-ionq-for-final-stag...
1•donutloop•57m ago•0 comments

Europol urges early action to protect crypto and data from quantum threats

https://www.europol.europa.eu/media-press/newsroom/news/europol-urges-early-action-to-protect-cry...
2•donutloop•59m ago•0 comments

Data Engineering Is the Cache Invalidation Problem FT. Josh Wills

https://motherduck.com/blog/cache-invalidation-problem-data-engineering-josh-wills/
2•zeristor•59m ago•0 comments

No Doodle

https://chromewebstore.google.com/detail/no-doodle/dkbobaklmnjfomfnchhbfcljaeccnmmk
1•sanepara•1h ago•0 comments

Tech firms pledge $2.4B in computing power to Trump's Genesis Mission

https://www.politico.com/news/2026/10/08/tech-firms-pledge-2-4-billion-in-computing-power-to-trum...
2•donutloop•1h ago•0 comments

Show HN: Suta – A skill to reduce AI slop in generated UIs

https://github.com/Guksu/suta
1•yung3152•1h ago•0 comments