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!

Tesla Opens Cybercab Orders to 'Select Customers' at $29,990 Plus $299 per Month

https://insideevs.com/news/815473/tesla-cybercab-pricing-sales-announced/
3•iBelieve•2m ago•0 comments

Moonshine is dead, long live Moonshine

https://petewarden.com/2026/11/12/moonshine-is-dead-long-live-moonshine/
2•Curiositry•5m ago•0 comments

Anthropic Upgrades Claude Code Projects to Run Parallel AI Workers Hands-Free

https://alphasignal.ai/news/anthropic-upgrades-claude-code-projects-to-run-parallel-ai-workers-ha...
2•toppa33•8m ago•0 comments

Building Remote Access Without Becoming a Cloud Provider

https://www.bookend.au/blog/your-data-is-not-my-problem
1•Wayfarertech•12m ago•0 comments

Philip Roth and David Remnick Getting Personal

https://salmagundi.skidmore.edu/articles/2001-philip-roth-david-remnick
2•Caiero•15m ago•0 comments

Show HN: Memro – Persistent Memory for Claude Code, Cursor and Codex

https://github.com/memrohq/memro
2•subalyo•16m ago•1 comments

Show HN: Building a list of places to launch your app

https://another.directory/where-to-launch
2•ksl_def•18m ago•0 comments

Agentic studio 5 head AI built a 3D game engine in 4 hours – one pass

https://dev-head.com/
2•Alienhead_dev•21m ago•0 comments

Various Cultures Depicted Jesus Through Out the Ages [video]

https://www.youtube.com/watch?v=LxLsdee6ZIA
2•PorciiVorbesc•22m ago•0 comments

FAA Flights Grounded

2•fitzmauricejack•23m ago•1 comments

Bob Dylan's Best Songs

https://casssunstein.substack.com/p/bob-dylans-very-best-songs
2•paulpauper•24m ago•0 comments

SpaceX Starship Flight 15 double catch has failed

https://bsky.app/profile/onemoney.bsky.social/post/3n2a3glt7bk2t
4•PLenz•25m ago•0 comments

Keylogger Detection and Containment [pdf]

https://www.cs.vu.nl/~ast/Theses/ortolani-thesis.pdf
3•movsx•26m ago•0 comments

Unsloth Qwen3.8-27B Quantizations – Dynamic v3.1 Update

https://unsloth.ai/docs/models/qwen3.8
2•Retro_Dev•30m ago•0 comments

Lego's BrickLink Marketplace Online After Week-Long Outage from 'Cyber Incident'

https://www.brickfanatics.com/lego-bricklink-outage-summarised-what-happens-next
2•smurda•32m ago•0 comments

Harald Welte Receives the European SFS Award 2026 at Sfscon

https://fsfe.org/news/2026/news-20261113-01.html
3•steffenmodest•33m ago•0 comments

First Strike

https://geohot.github.io//blog/jekyll/update/2026/11/13/first-strike.html
32•vinyl7•35m ago•16 comments

The Economics of Rent Controls

https://marginalrevolution.com/marginalrevolution/2026/11/the-economics-of-rent-controls.html
2•paulpauper•35m ago•0 comments

Show HN: String#to_proc` to Help Traversing JSON

https://github.com/samleb/schmuck
2•samleb34•37m ago•0 comments

Greta Thunberg Laughs Hearing Environmentalists Are Still a Thing [video]

https://www.youtube.com/watch?v=weZNnGiWn_o
3•PorciiVorbesc•38m ago•1 comments

NASA Seeks Next Generation of Explorers to Join Astronaut Corps

https://www.nasa.gov/news-release/nasa-seeks-next-generation-of-explorers-to-join-astronaut-corps/
2•bookofjoe•39m ago•0 comments

Fireside with Jesse Vincent, Creator of Superpowers [video]

https://www.youtube.com/watch?v=JTVTJJzKu4E
3•theahura•45m ago•0 comments

Show HN: Feedback/AMA MeditionBench; LLMs for mediation and conflict resolution

2•hendler•46m ago•0 comments

What Happened to 3Com?

https://dfarq.homeip.net/what-happened-to-3com/
9•gvieri•47m ago•3 comments

Building Always-On Agents

https://claude.com/resources/articles/building-always-on-agents
2•mfiguiere•48m ago•0 comments

We Dislike LLM Output, Not Because of Comprehension

https://ycao.net/posts/llm-comprehension-acceptance
2•xiaoyu2006•50m ago•0 comments

Show HN: Anvil builds premium websites at lower cost

https://www.tryanvil.dev/
2•Alumu•54m ago•0 comments

0.5B base model trained on 60B tokens rivals Qwen3.5-2B trained on 30T+ tokens

https://huggingface.co/ArsalanZ/Nenya-2.5B-A0.5B-Base
6•AZDR•56m ago•2 comments

Doc-foundry – AI writes Security detection rules, then proves they work

https://github.com/mjha-arya/DOC-foundry
3•manish121•56m ago•0 comments

An open letter to the Nvidia Board of Directors

https://standwithjensen.com/
17•iLuddite•1h ago•6 comments