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!

Show HN: Tyle – a Kanban board with statistical cycle time forecasting built-in

https://tyle-brown.vercel.app/about
1•byronical•46s ago•0 comments

OpenAI provides more details on the Hugging Face incident

https://www.heise.de/en/news/OpenAI-provides-more-details-on-the-Hugging-Face-incident-11403391.html
2•slow_typist•10m ago•1 comments

Just built Dot. Would love feedback

https://www.use-dot.com
1•r_gaur•12m ago•1 comments

What's new in Swift: July 2026 Edition

https://swift.org/blog/whats-new-in-swift-july-2026/
2•frizlab•13m ago•0 comments

How to Notice and Avoid Scams

https://nonconfirmed.com/how-to-notice-and-avoid-scams
1•colenikol2•15m ago•0 comments

You can make any software you want now, then why don't you?

1•sarmadgulzar•16m ago•1 comments

Show HN: Turn an idea into a product you can order

https://www.luphra.com
1•stochtinkerer•21m ago•1 comments

DeepMind's WeatherNext model achieves breakthrough forecasting cyclones

https://deepmind.google/blog/weathernext-ai-model-achieves-breakthrough-in-forecasting-cyclones/
1•bhavansig•24m ago•1 comments

Thimbleweed Park 2 Dev Blog

https://blog2.thimbleweedpark.com/twp2_tech/
1•MrVandemar•29m ago•0 comments

Show HN: Draw Your Room. Share Your Plan

https://freeroomplanner.com/
1•wowinter15•34m ago•0 comments

The phone book that led us to Assad's spy chief in hiding

https://www.bbc.co.uk/news/articles/c4gyrzn8p94o
1•justworks•39m ago•0 comments

Show HN: I mapped business competition density across NYC, block by block

https://worththespot.com/
1•losas28066•40m ago•0 comments

Show HN: Lensa – Open-source MCP connectors and skills for ChatGPT

https://github.com/mitrotasios/lensa-mcp
1•amitrotasios•41m ago•0 comments

Don't Build Mindreading

https://keller.substack.com/p/dont-build-mindreading
1•celer•47m ago•0 comments

Show HN: Hosted LLM Wiki

https://getmana.md/
2•zintus•54m ago•0 comments

Rcarmo/wrdp: Experimental xrdp/sesman-like setup for Wayland-backed desktops

https://github.com/rcarmo/wrdp
1•rcarmo•58m ago•0 comments

World-class higher education targeting <$10k for degree

https://khanted.org
1•JSR_FDED•1h ago•0 comments

CATL Secures 2GWh Sodium-Ion Storage Deal with Solarpro for Eastern Europe

https://fuelcellsworks.com/2026/07/21/battery/catl-secures-2gwh-sodium-ion-storage-deal-with-sola...
1•jamesblonde•1h ago•1 comments

Tlbic v11.0 (French Edition): Bottom-Up Governance and AI Audit

https://drive.google.com/file/d/1XLbJ-tTlnFNgrzRxlYXE4FmVSpSoQMIm/view?usp=drive_link
1•michikawa59•1h ago•1 comments

Grammelot

https://en.wikipedia.org/wiki/Grammelot
1•schandmaul•1h ago•0 comments

The Fifteen-Minute Principal Engineer

https://markatwood.substack.com/p/the-fifteen-minute-principal-engineer
1•slyall•1h ago•0 comments

Building my own project management tool on Cloudflare

https://tom-dickson.com/blog/projektor-mcp-issue-tracker-cloudflare-workers/
1•tajd•1h ago•1 comments

Code harness for DeepSeek V4? OpenCode vs. pi vs. jcode vs. reasonix

https://grigio.org/which-is-the-best-coding-harness-for-deepseek-v4-opencode-vs-pi-vs-jcode-vs-re...
1•grigio•1h ago•0 comments

Google doesn't need the LLM crown

https://www.semafor.com/article/08/07/2026/google-doesnt-need-the-llm-crown
1•theanonymousone•1h ago•1 comments

Show HN: Appealr – 15s live face-offs ranked by human votes (not AI)

https://appealr.vercel.app
1•arian_•1h ago•0 comments

The Vampire Theorem Prover

https://github.com/vprover/vampire
1•modinfo•1h ago•0 comments

American oil company prepares to drill in Greenland

https://www.theguardian.com/world/2026/aug/08/greenland-iwarning-trump-linked-oil-firm-prepares-d...
2•qprofyeh•1h ago•0 comments

The screwdriver test, or What separates real engineers from the rest

https://carette.xyz/posts/a_story_of_screwdriver_drivers/
7•LucidLynx•1h ago•0 comments

Show HN: I updated my unofficial Substack Posting API

https://apisubstack.com/
2•bigmuzzy•1h ago•1 comments

From constraint models to playable puzzle games

https://zayenz.se/blog/post/constraint-generated-puzzle-games/
2•thunderbong•1h ago•0 comments