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: Atari Gravitar in VR

https://gravitar-vr.github.io
1•smoothwater8912•37s ago•0 comments

Show HN: FerroProve – Deterministic C-to-Rust lifter ( [forbid(unsafe_code)])

https://ferroprove.vercel.app
1•nesh23•3m ago•0 comments

Show HN: I reverse engineered serum 2 and build an open source alternative

https://github.com/itsfabioroma/tessera
1•ofabioroma•8m ago•0 comments

OpenCode: Potential provider key breach [Reddit]

https://www.reddit.com/r/opencode/comments/1x8bas3/they_fd_up_breach/
2•tobwen•8m ago•0 comments

Harvard's 1869 Entrance Exam [pdf]

https://graphics8.nytimes.com/packages/pdf/education/harvardexam.pdf
4•haunter•9m ago•0 comments

A Prosthesis for the Mind

https://medium.com/@smoking2man/a-prosthesis-for-the-mind-9ef2e677236e
2•Aldus551•10m ago•0 comments

Elon Musk's foundation is opaque, miserly and self-serving

https://www.economist.com/business/2026/10/13/elon-musks-foundation-is-opaque-miserly-and-self-se...
4•kensai•11m ago•1 comments

JetBrains Junie Local: An agent you own, not one you rent

https://junie.jetbrains.com/
1•LelouBil•12m ago•0 comments

Everything We Know About Facebook's Mood Manipulation Experiment (2014)

https://www.theatlantic.com/technology/archive/2014/06/everything-we-know-about-facebooks-secret-...
1•r721•12m ago•1 comments

Show HN: Flying rocket car x Flappy Bird

https://bs.fyi/arcade/flying-car
1•drchiu•13m ago•0 comments

Detecting Filesystem Capability Laundering in MCP Servers at Scale

https://arxiv.org/abs/2610.22301
1•ersinesen•13m ago•0 comments

TikTok "Permanently Suspends" the 'Musk' Film Account, Raising Suppression Fears

https://www.hollywoodreporter.com/news/politics-news/musk-movie-tiktok-banned-theaters-showtimes-...
4•softwaredoug•13m ago•0 comments

Linux bugs fixed per release over time: >2× rise since 2026-04

https://lwn.net/Articles/1088776/
4•farlight•13m ago•0 comments

What Makes Art Great?

https://nabeelqu.substack.com/p/what-makes-art-great
3•matteohorvath•14m ago•0 comments

Implant can restore sight for patients with macular degeneration

https://www.technologyreview.com/2026/10/16/1145840/prima-implant-restores-sight-macular-degenera...
2•joozio•15m ago•0 comments

Some of my recent talks and interviews

https://terrytao.wordpress.com/2026/10/17/some-of-my-recent-talks-and-interviews/
2•smilelamp•17m ago•0 comments

tsc-ts: TypeScript written in TypeScript

https://github.com/vercel-labs/tsc-ts
2•tosh•17m ago•1 comments

Show HN: UOS – a workspace the server can't read (post-quantum, E2EE)

https://uos.sh/whitepaper/
2•ultimaos•17m ago•0 comments

Show HN: Would You Merge It? – 24 bugs AI assistants write, as fix-it katas

https://github.com/SohailKhan0525/would-you-merge
2•qofenolabs•18m ago•0 comments

Tennyson's Faith: A Nobler Type

https://hedgehogreview.com/issues/the-fading-promise-of-higher-education/articles/tennysons-faith
2•prismatic•18m ago•0 comments

Texas Has Been Considering Selling a Beloved State Park to Elon Musk's SpaceX

https://www.texasmonthly.com/news-politics/boca-chica-spacex-elon-musk/
6•malshe•18m ago•0 comments

Show HN: Setforge – free lifting tracker for iPhone/Watch that counts reps

https://testflight.apple.com/join/kXfU8bRv
2•yashsinghal0316•19m ago•0 comments

Gold is Now the Top U.S. Export

https://www.numismaticnews.net/gold-now-top-u-s-export
2•iamnothere•22m ago•0 comments

EU plans to fast-track antitrust approval of SpaceX rival

https://finance.yahoo.com/economy/policy/articles/eu-plans-fast-track-antitrust-183153257.html
5•malshe•23m ago•1 comments

$1.5B data centre for Canada's cyber spy agency to be built in Ottawa area

https://www.ctvnews.ca/ottawa/article/data-centre-for-canadas-cyber-spy-agency-to-be-built-in-ott...
3•Teever•24m ago•0 comments

Surfing Pelicans

https://fenderog.com/art-crit/page.html?p=surfing-pelican
2•fenderog•26m ago•0 comments

Emergent Design, Outside the Codebase

https://bytecode.news/posts/2026/10/emergent-design-outside-the-codebase
3•sarumake•29m ago•0 comments

The AI-Native Large-Scale Agile Software Development Manifesto

https://arxiv.org/abs/2605.07717
2•mellosouls•30m ago•0 comments

We're Always Limited by Attention

https://kadhirvelm.dev/blogs/limited-by-attention
2•kadhirvelm•31m ago•1 comments

Alexandr Wang, Meta's Gen Z billionaire AI whizz

https://www.economist.com/the-world-in-brief
2•andsoitis•32m ago•0 comments