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!

First free TTS, STT and LLM three in one

https://neuronai.uz/en/
1•yutabek•4m ago•0 comments

OpenBGPD 9.2 Released

https://undeadly.org/cgi?action=article;sid=20260807061435
2•defrost•9m ago•0 comments

Specjudge, tells you which model you should use for each task

https://github.com/JoaquinRuiz/SpecJudge
1•jokiruiz•10m ago•0 comments

Sydney Towle, Who Chronicled Her Cancer on TikTok, Dies at 26

https://www.nytimes.com/2026/08/06/style/sydney-towle-dead.html
1•Teever•13m ago•0 comments

Converting models from various CAD systems to interactive 3D web visualizations

https://www.soft8soft.com/wiki/index.php/Creating_3D_web_experiences_from_CAD_data
1•soft8soft•14m ago•1 comments

Patio11: HuggingFace hack is most important security incident since Morris worm

https://twitter.com/patio11/status/2085504491458105732
2•reasonableklout•14m ago•0 comments

Df – creating 5k files on NTFS in 4.9s vs. 113s, by editing the MFT directly

https://github.com/boldizsarszakacsbekesi/diskforge
1•Boldizsar•16m ago•0 comments

Show HN: Catnip – GitHub repo stats: collect, analyze, TUI, agent inference

https://github.com/TGPSKI/catnip
1•tgpski•16m ago•0 comments

'Humans will be a rounding error on the internet' says Cloudflare exec

https://www.theregister.com/networks/2026/08/07/humans-will-be-a-rounding-error-on-the-internet-s...
3•defrost•19m ago•1 comments

User awareness in frontier models: Who's asking shifts what models say

https://transluce.org/user-awareness
1•matt_d•21m ago•0 comments

Show HN: Seedance 2.5 video API (30s single-take, 50 refs, 4K) on Atlas Cloud

https://www.atlascloud.ai/models/seedance-2.5
1•qqt•25m ago•0 comments

Artificial Intelligence used to design new viruses

https://www.bbc.co.uk/news/articles/c5y3j3ngevmo
4•CaRDiaK•26m ago•0 comments

Show HN: Linkly – a language designed for LLMs, compiled through MLIR

https://github.com/choiyounggi/linkly/releases
1•dch0202•27m ago•3 comments

A New Way That a Cow's Inner World Shapes Earth's Atmosphere

https://www.quantamagazine.org/a-new-way-that-a-cows-inner-world-shapes-earths-atmosphere-20260727/
1•pykello•33m ago•0 comments

Shrinking Ruby Hashes

https://byroot.github.io/ruby/performance/2026/08/05/shrinking-ruby-hashes.html
1•thunderbong•35m ago•0 comments

Complete guide to time stamping regulations in the financial sector (2023) [pdf]

https://www.npl.co.uk/getattachment/3ea3704a-8c51-442e-a035-44479439faf2/NPLTime-Brochure.pdf
2•altairprime•36m ago•1 comments

OpenAI's New Device Will Be Hockey Puck-Sized and Cost over $300

https://www.bloomberg.com/news/articles/2026-08-06/what-is-openai-s-device-a-doughnut-shaped-spea...
4•helsinkiandrew•37m ago•2 comments

Goertzel: A few reflections on AGI-26 and progress towards AGI [video]

https://www.youtube.com/watch?v=-N8oaaJSBXo
1•ilaksh•38m ago•1 comments

I'm leaving OpenAI to build Jurassic Park

https://taylor.town/leaving-openai
4•zombot•41m ago•2 comments

The Fifteen-Minute Principal Engineer

https://markatwood.substack.com/p/the-fifteen-minute-principal-engineer
1•tosh•41m ago•0 comments

00

https://w3techs.com/sites/info/jangkrik4d1883.com
1•tetenh•42m ago•0 comments

Hazard Pointers for the Kernel

https://lwn.net/Articles/1084015/
1•pykello•43m ago•0 comments

Show HN: An ultra-fast Prime Agent fork with Bun REPL

https://github.com/sng-asyncfunc/prime-bun
1•sashimikun•43m ago•0 comments

AI creates 16 new viruses from scratch

https://www.cnn.com/2026/08/06/health/ai-viruses-bacteriophages
3•avodonosov•45m ago•0 comments

Show HN: Peach – a local-first zero-knowledge password manager, now on Android

https://peachpasswords.com/
1•ashasoftware•45m ago•1 comments

I built a platform for creators to market their music, videos, content, etc.

https://www.influanto.com/
1•genbarriosdev•46m ago•1 comments

Chinese memory maker CXMT enters mainstream with Corsair Vengeance DDR5 kit

https://www.tomshardware.com/pc-components/ddr5/chinese-memory-maker-cxmt-enters-the-mainstream-c...
4•kristianp•47m ago•1 comments

SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems

https://arxiv.org/abs/2608.02995
1•sbulaev•51m ago•0 comments

Decisive Action Training Environment [pdf]

https://paxsims.wordpress.com/wp-content/uploads/2016/05/312855400-decisive-action-training-envio...
1•gmays•52m ago•0 comments

Show HN: Muuted – I built a feed that knows when to shut up

https://muuted.com/
1•Caldwellone•58m ago•1 comments