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!

Mokup – Mock Fetch/XHR Responses Directly in Chrome DevTools

https://chromewebstore.google.com/detail/mokup-mock-apis-in-devtoo/pemnjopjhbagogaojfgcfamailepnebb
1•pxdev•1m ago•0 comments

Stone Soup AI (2024)

https://simons.berkeley.edu/news/stone-soup-ai
1•mpweiher•2m ago•0 comments

Climate Change and Tariffs Help China Raise More Cattle

https://www.nytimes.com/2026/07/30/business/china-beef-imports-tariffs.html
1•xnhbx•4m ago•0 comments

Show HN: Greenbatch – a batching dependency update skill

https://github.com/josipmusa/greenbatch
1•anaq42•4m ago•0 comments

AI Writes the Code, but Humans Can't Review It All. Now What?

https://www.sylvainkalache.com/blog/ai-writes-the-code-but-humans-cant-review-it-all
2•sylvainkalache•8m ago•0 comments

CSS: The bomb inside your inbox

https://portswigger.net/research/css-the-bomb-inside-your-inbox
1•ashurandi•16m ago•0 comments

Enough with all the world-historic milestones

https://scottaaronson.blog/?p=9979
1•mellosouls•17m ago•0 comments

Everest Fallacy

https://www.livius.org/articles/theory/everest-fallacy
1•jruohonen•19m ago•0 comments

Multiplayer Game Networking with Python

https://github.com/feberts/python-game-server
2•tio-fabi•22m ago•0 comments

The attacker can prove what they took. You can only prove what you logged

https://stillig.net/posts/prove-what-they-took/
1•johtidebreak•26m ago•0 comments

The Alpha 21264 CPU: NT's Greatest RISC (1998)

https://halfhill.com/byte/1998-12_alpha.html
1•Lammy•27m ago•0 comments

Aswath Damodaran: Big Tech Has No Idea How AI Pays Off

https://www.youtube.com/watch?v=vE_FR0O-Jhk
2•tcp_handshaker•36m ago•1 comments

Ask HN: What part of modern Git hosting system is the most crucial one for you

1•melezhik•36m ago•2 comments

Internal documents show how US tech companies captured children's attention

https://www.nytimes.com/2026/06/04/us/social-media-schools.html
2•Dusrri•41m ago•0 comments

Generative design of bacteriophages with genome language models

https://www.science.org/doi/10.1126/science.aec2657
1•majkinetor•42m ago•0 comments

Meta CTO: employees should use AI productivity to do more work – not time off

https://www.businessinsider.com/meta-cto-andrew-bosworth-ai-gains-work-2026-8
3•vrganj•43m ago•0 comments

How LLMs accelerated Cloudy development? not by typing code for me

https://cloudywithachanceoflatency.net/blog_02-how-llm-accelerated-cloudy-dev.html
1•rixed•45m ago•1 comments

South Korea, Taiwan top Japan in exports for first time on AI boom

https://asia.nikkei.com/business/tech/semiconductors/south-korea-taiwan-top-japan-in-exports-for-...
2•newusertoday•46m ago•0 comments

Swarm-forge: A simple tool for coordinating several AI agents

https://github.com/unclebob/swarm-forge
1•tosh•49m ago•0 comments

Google's Westinghouse Bet

https://asimovaddendum.substack.com/p/googles-westinghouse-bet
1•ashurandi•50m ago•0 comments

Cloudflare OS is an architecture of distrust

https://lord.technology/2026/08/05/cloudflare-os-is-an-architecture-of-distrust.html
1•gsky•53m ago•0 comments

Show HN: Airy – Free, fast, and simple voice content creation

https://airy.so
2•login588•1h ago•0 comments

Show HN: A Minimal Python CLI Implementation of Quick Share for Linux

https://github.com/adityatelange/quickshare-cli-py
1•adityatelange•1h ago•0 comments

Before the Breakthrough: Why Research and Engineering Need Different Cultures

https://chrhenning.com/blog/2026/before-the-breakthrough-research-engineering-cultures/
1•chrhenning•1h ago•0 comments

Signified and Signifier

https://en.wikipedia.org/wiki/Signified_and_signifier
1•soupspaces•1h ago•0 comments

Show HN: Find. Fix. Verify. Zero Guesswork

https://kinetixseo.com
1•wowinter15•1h ago•0 comments

Rethinking do_action(): Events as objects, hooks as class names

https://developer.wordpress.org/news/2026/08/rethinking-do_action-events-as-objects-hooks-as-clas...
1•firasd•1h ago•0 comments

Runware Squeezes A 1MW AI Data Center Into A 20-Foot Shipping Container

https://www.forbes.com/sites/gabrielalinzainescu/2026/08/08/runware-squeezes-a-1mw-ai-data-center...
3•01-_-•1h ago•2 comments

Solve math calculations directly in your Firefox address bar

https://support.mozilla.org/en-US/kb/solve-math-calculations-directly-your-firefox-addr
2•internet_points•1h ago•1 comments

DeepSeek V4 Flash 0731: 82.7% on Terminal-Bench 2.1 with a public harness

https://antigma.ai/eval
4•ubermon•1h ago•1 comments