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!

Game Industry Hardship Fund

https://itch.io/b/3802/game-industry-hardship-fund
1•jbm•3m ago•0 comments

ebookfs – a 9P eBook library filesystem

https://github.com/ramblingenzyme/ebookfs
1•ramblingenzyme•6m ago•1 comments

ao486: x86-compatible Verilog core implementing all features of a 486 SX (2014)

https://github.com/alfikpl/ao486
1•csmantle•9m ago•0 comments

Challenge GPT and Claude to Run Their Own Lemonade Stands[video]

https://www.youtube.com/watch?v=6Ide5pRLR8Y
1•blackcat201•10m ago•0 comments

Strangers pretrained a language model with HF PRs and a cron job

1•somevyn•19m ago•0 comments

'Naked Dressing' Is Spreading and It's Making Things Awkward

https://www.wsj.com/style/fashion/naked-dressing-hailey-bieber-madonna-d2a1d94b
1•petethomas•27m ago•0 comments

Moochacha

https://codeberg.org/markdascher/moochacha
2•sillysaurusx•28m ago•0 comments

J3blocks

https://codeberg.org/amano.kenji/j3blocks
1•sillysaurusx•29m ago•0 comments

Show HN: Nuking the crap Claude left in the codebase – CCN

https://github.com/jonhardwick-spec/ccn
1•jonhardwickspec•31m ago•0 comments

Running Kimi K3 on MI355X at Better Performance per Dollar Than B300

https://www.wafer.ai/blog/kimi-k3-mi355x
7•ilreb•41m ago•0 comments

Booting Fuchsia's Zircon on a Homebrew RISC-V SoC, on an Artix-7 FPGA

https://www.hdlfactory.com/post/2026/07/19/cocoapuffs-booting-fuchsias-zircon-kernel-on-a-risc-v-...
3•mbStavola•43m ago•0 comments

Sick of waiting for agents to run and then having to debug

1•seafaithless•44m ago•1 comments

Ask HN: Collection of Best Pitch Decks?

3•carbonclaw•45m ago•0 comments

PostgreSQL and the Linux OOM Killer: A Better Default

https://clickhouse.com/blog/strict-memory-overcommit-for-postgres
1•saisrirampur•49m ago•0 comments

Don't credit the LLM

https://isaacsu.com/2026/08/dont-credit-the-llm/
7•isaacsu•54m ago•3 comments

Safeguards Based on Copyable Context Cannot Provide Reliable Safety for LLMs

https://arxiv.org/abs/2607.27951
1•sbulaev•55m ago•0 comments

Karpathy's Pelican

https://twitter.com/karpathy/status/2083749667410727319
2•delichon•56m ago•0 comments

Canadians are leaving the country at record levels. Can anyone solve this?

https://thehub.ca/2026/04/03/can-anyone-solve-canadas-brain-drain-problem/
1•TMWNN•56m ago•0 comments

Simple Outlier Detection in a Kalman Filter

https://gurevich.ca/simple-outlier-detection-in-a-kalman-filter/
1•gregsadetsky•1h ago•0 comments

Futurism says Meta has "almost nothing" to show for AI. The numbers say

https://runtimewire.com/article/futurism-says-meta-has-almost-nothing-to-show-for-ai-the-numbers-...
3•ryanmerket•1h ago•6 comments

AI Models as Commodities

https://www.axios.com/2026/08/01/deepseek-model-cheap-ai-price-war
1•kooi•1h ago•1 comments

Play Neuromancer

https://archive.org/details/msdos_Neuromancer_1988
1•mindcrime•1h ago•0 comments

OpenAI's claimed disproof of Connes' Rigidity Conjecture is invalid [pdf]

https://philarchive.org/archive/NIEWTCv17
30•muglug•1h ago•10 comments

Foundational ternary-model inference and training – CUDA, CPU, BitNet/TQ

https://github.com/Quitetall/tritium
1•jacquesm•1h ago•0 comments

Windows XP Original

https://archive.org/details/windows-xp-all-sp-msdn-iso-files-en-de-ru-tr-x86-x64
1•shrikaranhanda•1h ago•1 comments

ModRetro M64 – Nintendo 64 that plays original cartridges with 4K HDMI

https://modretro.com/products/m64
1•dazzatron•1h ago•0 comments

Task Hounds – a local-first, inspectable multi-agent dev workspace

https://github.com/catowabisabi/task-hounds
1•enomars•1h ago•0 comments

OpenV2K: Working FOSS Software Stack for "Voice to Skull" SDR Pulse Modulation

https://github.com/OpenV2K
2•mike564•1h ago•1 comments

Show HN: I get 25 deep researched ideas with one single prompt

https://github.com/ringlochid/banksia
5•ringlochid•1h ago•2 comments

Large language models can predict the results of social science experiments

https://www.nature.com/articles/s41586-026-10742-x
1•Tomte•1h ago•0 comments