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!

LiquidGlassSkill: Claude skill to implement Apple Liquid Glass UI styles

https://github.com/stormaref/LiquidGlassSkill
1•avestura•1m ago•0 comments

Trump directs Navy to return to steam catapults on aircraft carriers

https://thehill.com/policy/defense/6029103-trump-orders-navy-catapult-reversal/
1•vrganj•3m ago•0 comments

Roblox Is Now Under Investigation by the U.S. Senate over Child Safety

https://kotaku.com/roblox-is-now-under-investigation-by-the-u-s-senate-over-child-safety-2000724465
1•taimurkazmi•7m ago•0 comments

Kyūjō Incident

https://en.wikipedia.org/wiki/Ky%C5%ABj%C5%8D_incident
1•chistev•8m ago•0 comments

Intel CEO hints at return to the memory business – market is ripe for innovation

https://www.tomshardware.com/pc-components/dram/intel-ceo-hints-at-return-to-the-memory-business-...
1•doener•8m ago•0 comments

Men and Women Can Now Send the First Message on Bumble [pdf]

https://s202.q4cdn.com/372973788/files/doc_news/2026/Aug/11/Chat-XP-Release-for-IR-Site.pdf
1•doener•11m ago•0 comments

Show HN: Gogc98 – live visualisation of the go allocator and GC

https://github.com/MichaelMure/gogc98
1•michaelmure•12m ago•0 comments

HyperOSUnfucker is an Android app that unlocks hidden system performance

https://github.com/Enki013/hyperosunfcker
1•Bluestein•14m ago•0 comments

TTSProof Automated failure-mode QA for text-to-speech systems

https://pypi.org/project/ttsproof/
1•Bluestein•17m ago•0 comments

Commodore 64 raycasting in 160x200 with textures [video]

https://www.youtube.com/watch?v=A-jgsFJfmS8
1•sandebert•20m ago•0 comments

Kessler Syndrome

https://en.wikipedia.org/wiki/Kessler_syndrome
2•chistev•20m ago•0 comments

An office suite for the intelligence age

https://macro.com/
2•gritzko•20m ago•0 comments

Training AI Scientists to Replicate Research

https://inherentlabs.ai/research/training-to-replicate
1•dhruv3006•21m ago•0 comments

Macro is a unified workspace for teams

https://github.com/macro-inc/macro
1•gritzko•21m ago•0 comments

A Swarm of Blood Robots

https://craigmod.com/essays/robot_blood/
1•tosh•22m ago•0 comments

Model v/s Effort Well Explained

https://claude.com/blog/claude-model-and-effort-level-in-claude-code
1•ankitg12•24m ago•0 comments

Google Python Style Guide

https://google.github.io/styleguide/pyguide.html
1•tosh•24m ago•0 comments

Nvidia Has $21B SpaceX Stake, $30B in Intel Shares

https://www.bloomberg.com/news/articles/2026-08-14/nvidia-has-21-billion-spacex-stake-30-billion-...
2•sbulaev•26m ago•0 comments

SAP Devtoberfest 2026 Contest window runs Sep 21–Oct 19 Be Ready

https://developers.sap.com/devtoberfest/
1•yogananda•31m ago•1 comments

Trump Orders Navy to Restore Older Tech on Aircraft Carriers, Costing Billions

https://www.wsj.com/us-news/trump-orders-navy-to-restore-old-technology-in-aircraft-carriers-cost...
1•tosh•34m ago•0 comments

Evolve: An incremental game about evolving a civilization

https://pmotschmann.github.io/Evolve/
1•frozenseven•34m ago•1 comments

Reverse Overshot Water Wheel

https://en.wikipedia.org/wiki/Reverse_overshot_water_wheel
1•thunderbong•37m ago•0 comments

Nvidia Secures TSMC A16 Node for Next-Generation "Feynman" GPUs

https://www.techpowerup.com/351607/nvidia-secures-tsmc-a16-node-for-next-generation-feynman-gpus
4•porridgeraisin•38m ago•0 comments

Pet Slime: A Slime Terrarium

https://www.zeldas.page/slime
1•zeldahessler•44m ago•0 comments

Custom FreeBSD Ucarp Setup

https://vermaden.wordpress.com/2026/08/15/custom-freebsd-ucarp-setup/
1•vermaden•44m ago•0 comments

Ask HN: Which blogs and RSS feeds do you follow?

1•nicbou•45m ago•0 comments

Alibaba AI Models Hit 3B Downloads, Passing Meta, Google

https://www.bloomberg.com/news/articles/2026-08-15/alibaba-ai-models-hit-3-billion-downloads-pass...
4•geox•46m ago•0 comments

The Art of Chip-8

https://beyondloom.com/blog/artofchip8.html
1•birdculture•49m ago•0 comments

Show HN: RemindLink – reminders for bookmarks you forgot to revisit

https://remindlink.app/
1•rshshetty•53m ago•0 comments

Show HN: Open-source, lightweight (300KB+) web and YouTube translator

https://chromewebstore.google.com/detail/mira-translator/hmmllfdmkbmmfffjekhmmbhhfhhnocmn
1•DavidBai•53m ago•0 comments