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!

Codeberg: ToU extension to prohibit LLM-extrusions

https://codeberg.org/Codeberg/org/pulls/1253
1•robin_reala•1m ago•0 comments

OpenAI says AI models went rogue during testing

https://www.reuters.com/technology/openai-says-ai-models-went-rogue-during-testing-triggering-unp...
2•LordDefender•2m ago•0 comments

--end-of-options (git flag)

https://nesbitt.io/2026/07/21/end-of-options.html
1•latexr•4m ago•0 comments

The Vikings didn't wear horned helmets. So who did?

https://danjones.substack.com/p/history-etc-the-vikings-didnt-wear
1•ville•5m ago•0 comments

EU border agency unlawfully transferred data on migrants/activists to Europol

https://english.elpais.com/international/2025-07-13/for-years-the-eus-border-agency-illegally-tra...
2•robtherobber•6m ago•0 comments

AI Video and Audio Generator

https://silknova-ai.com/
1•amonte•10m ago•0 comments

Codeberg bans vibe coded projects

https://codeberg.org/Codeberg/org/pulls/1253#issuecomment-19820434
4•ambigious7777•11m ago•1 comments

Mapping Alien Continents: Achieving Optical VLBI for Exoplanet Imaging

https://www.nasa.gov/directorates/stmd/mapping-alien-continents-achieving-optical-vlbi-for-exopla...
1•fireflymetavrse•14m ago•0 comments

Updating IP Regulations for AI Distillation

https://www.marble.onl/posts/copyright_vs_ai.html
1•amarble•16m ago•0 comments

Hyra: A simple yet effective scaffold for general discovery

https://hy.tencent.com/research/hyra
1•ijk•16m ago•0 comments

Why I'd choose Tauri again for a cross-platform database client

https://tabularis.dev/blog/why-tabularis-runs-on-tauri
1•theanonymousone•17m ago•0 comments

Sharecoin, a Bitcoin Core fork that turns GPU mining into public randomness

https://github.com/TVHeroes/sharecoin
1•TVHeroes•22m ago•0 comments

Thoughts on Integers (2023)

https://blog.xoria.org/integers/
1•birdculture•23m ago•0 comments

Distributed Development with Reticulum

https://reticulum.network/manual/distributed.html
2•bergie•25m ago•0 comments

Show HN: Shirei v0.6 adds iOS/Android support for cross-platform GUI development

https://judi.systems/shirei/blog/release-v0.6-2026-07-22/
1•hsn915•30m ago•0 comments

Melaya – the agent builder that gives AI a governed Android phone

https://www.melaya.org
1•melaya•31m ago•1 comments

Have the Chips Fully Cooled?

https://robinhood.com/us/en/learn/weekly-rundown/3wGS8sjCYEufVoC3EfYph9/
1•dabinat•31m ago•0 comments

Aks HN: Why does GitHub grapql API returns missing data?

1•ThierryRkt•31m ago•0 comments

A hand-cranked device for running local LLMs

https://squeezlabs.github.io/handcrank/
2•antondd•35m ago•0 comments

Session Revocations at Scale

https://www.canva.dev/blog/engineering/session-revocations-at-scale/
1•SerCe•38m ago•0 comments

Show HN: Open benchmark for memory layers vs. pasting full chat history

https://github.com/leapmemory/memory-bench
1•canu21•39m ago•0 comments

Senior-agent-skills, make your agent act as a senior

https://adityaarakeri.github.io/senior-agent-skills/#harness
1•humblejedi•40m ago•0 comments

LynavoDrive: An open-source alternative to iCloud and Google Photos

https://drive.lynavo.io/
1•ilreb•40m ago•0 comments

"You're right to push back"

https://walterra.dev/blog/2026-06-25-youre-right-to-push-back
2•walterra•41m ago•1 comments

A story about Amara's law

https://twitter.com/stevesi/status/2079726752012616171
2•tosh•44m ago•0 comments

Show HN: RadioGuessr – Guess the country from a live radio stream on a 3D globe

https://www.radioguessr.space/
1•barryspace•44m ago•0 comments

Sylve with FreeBSD Instead of Proxmox for Virtualization

https://gyptazy.com/blog/boxybsd-moving-from-proxmox-to-bhyve-with-sylve/
3•d4gli•44m ago•1 comments

The Requirement of Requirements in Software Projects – Yakir Havin

https://yakirhavin.com/blog/the-requirement-of-requirements-in-software-projects/
1•l0b0•46m ago•0 comments

Scoring every ad click for fraud in real time

https://adpurity.collabtower.com/features/click-fraud-detection
1•changalwa•46m ago•0 comments

The Blood Bank and the Logistics of Wartime Medicine

https://warontherocks.com/cogs-of-war/the-blood-bank-and-the-logistics-of-wartime-medicine/
1•baud147258•48m ago•0 comments