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!

LLM Multi-Agent Systems Are Vulnerable to Herding and Runaway Cascades

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

Preliminary report on H5N1 highly pathogenic avian influenza in Utah mink

https://virological.org/t/preliminary-report-on-h5n1-highly-pathogenic-avian-influenza-in-utah-mi...
1•Guid_NewGuid•1m ago•0 comments

Show HN: Ts-polyglot – Call C/C++ or Rust functions directly from TypeScript

https://ts-polyglot.dev
1•emykhailenko•3m ago•0 comments

We gave an AI $100k to trade on leverage. Here's what it did

https://twitter.com/DeployFinance/status/2113642187074195945
1•bsv_gtd•4m ago•0 comments

Reforming English Spelling

https://blog.oup.com/2026/10/reforming-english-spelling/
1•jruohonen•7m ago•0 comments

We found 20 users within the first 10 minutes of launching using our own site

https://heardly.io/
1•samuelalubin•7m ago•0 comments

Ask HN: How do you get AI loops to converge?

2•outlore•7m ago•1 comments

Ruby RegEx could lead to RCE

https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
2•arlattimore•8m ago•0 comments

Cloudflare Is Having Issues

https://www.cloudflarestatus.com/incidents/sufgcbe8rrwt
3•palmeida•10m ago•0 comments

Agents fail like engineers, so I review them like engineers

https://blog.greenflagged.dev/posts/agents-fail-like-engineers/
2•Azkar•10m ago•0 comments

Show HN: Tagwall, a 1M-pixel canvas on 6 blockchains with no owner

https://tagwall.io
1•tagwall•10m ago•0 comments

Show HN: Anyone else frustrated with mermaid diagrams?

https://github.com/uberblick-ai/ablauf
1•bk-one•11m ago•0 comments

Show HN: A small audit script and config notes for the new PHP CVEs

https://github.com/mc493/php2shell-enterprise-hardening-cve-2026-109618-109619
1•mc493•12m ago•0 comments

Local AI Is Not as Private as You Think [video]

https://www.youtube.com/watch?v=3mx84MRj8lY
1•onemoresoop•13m ago•0 comments

XHToken/Spark-X2.6-4B

https://huggingface.co/XHToken/Spark-X2.6-4B
3•gmays•14m ago•0 comments

Moreutils: The utilities package every Unix/Linux/Mac OS developer should know

https://rentes.github.io/unix/utilities/2015/07/27/moreutils-package/
2•jcbhmr•16m ago•0 comments

Show HN: Aurora Agentic Terminal

https://aurora.shitworks.co/
1•mrknown404•17m ago•0 comments

eMudhra served a revoked certificate for four days, then switched to Sectigo

https://sslboard.com/blog/emudhra-revoked-certificate.md/
1•weddpros•17m ago•0 comments

A new phishing technique targeting my coworkers today

https://imgur.com/ZgZ1cgs
1•Alex3917•18m ago•1 comments

Show HN: Still Mornings, slow mornings written down

https://stillmornings.thecompound.tech
1•kyisaiah47•21m ago•0 comments

Error: Forbidden

https://pulse.internetsociety.org/en/blog/2026/10/when-sanctions-start-breaking-the-internet/
1•jruohonen•22m ago•0 comments

GitHub now supports stacked PRs

https://docs.github.com/en/pull-requests/get-started/about-stacked-prs
2•iamsyr•23m ago•0 comments

Fear Factory

https://www.reuters.com/graphics/USA-HALLOWEEN/HORROR/klpyrljrlvg/
1•skibz•23m ago•0 comments

Offline FairPlay App Store IPA decryption with independent key derivation

https://github.com/EthanArbuckle/fairplay-decrypt
1•luispa•24m ago•0 comments

Show HN: Heads Up – a Mac menu bar app for meetings

https://headsup.benvenutisoftware.com/
1•bradbenvenuti•25m ago•0 comments

Publishers pressure Meta to Nix terms that would let Meta scrape their sites

https://www.niemanlab.org/2026/10/publishers-pressure-meta-to-nix-new-terms-that-would-let-it-scr...
4•thm•26m ago•0 comments

The Adult Children Cleaning Up Their Parents' Feeds

https://nymag.com/intelligencer/article/boomer-parents-screen-time-problem.html
3•cainxinth•26m ago•0 comments

Build more responsive apps with the Decisions API

https://openai.com/index/decisions-api/
2•thm•28m ago•0 comments

France's Protests Reveal Europe's Expanding Surveillance of Dissent

https://www.techpolicy.press/frances-protests-reveal-europes-expanding-surveillance-of-dissent/
3•jruohonen•29m ago•0 comments

"Inventor of email" sues news site for refusing to write about his campaign

https://www.universalhub.com/2026/self-proclaimed-inventor-email-and-eternal-candidate-sues-hometown
1•ilamont•29m ago•0 comments