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!

Controversial US-backed vaccine trial in African newborns halted

https://www.theguardian.com/world/2026/oct/21/us-vaccine-trial-african-newborns-hepatitis-b
1•zzzeek•1m ago•0 comments

Show HN: Skillstore – Expert skills your coding agent fetches as it works

https://skillstore-jk.fly.dev/developers
1•jkkorn•1m ago•0 comments

Show HN: Hookman – One stable webhook URL that follows your preview branch

https://hookman.dev/
2•royletron•3m ago•0 comments

eMudhra to Exit Global SSL/TLS Certificate Business

https://emudhra.com/en/press-release/emudhra-to-exit-global-ssl-tls-certificate-business
1•bo0tzz•4m ago•0 comments

Why Industrial AI Deals Stall at Capex

https://deploy95.substack.com/p/how-capex-really-gets-approved-and
1•dddddaviddddd•4m ago•0 comments

Ask HN: What's your favorite thing you vibe coded for your own personal use

1•joshmarinacci•4m ago•0 comments

Jellyfin Does Ship with plugins that use PHP

1•TutleCpt•6m ago•0 comments

Amazon says PHP2Shell exploitation began 4 days before patches

https://www.bleepingcomputer.com/news/security/amazon-says-php2shell-exploitation-began-4-days-be...
1•speckx•7m ago•0 comments

Open Source Obsidian Alternative

1•harishd30•8m ago•0 comments

Google's no-code tool is still a phishing vector, despite public reports

https://raduloff.dev/blog/2026-10-22-appsheet-is-still-a-phishing-vector/
1•bobbyraduloff•8m ago•0 comments

Php2shell global patch uptake tracker

https://php2shell-tracker.com/
1•lloyddd•9m ago•0 comments

Show HN: FiscaLLM:open-source per-user AI cost for subscription apps

https://github.com/magna56/fiscallm
1•theaicommit•10m ago•0 comments

Claude Code mod for commenting diff

https://github.com/formstep/claude-mod-comment-diff
1•mellosty•10m ago•0 comments

Re: Hours later – No, there is an easy way to exploit this vulnerability

https://github.com/cookiengineer/actual-php2shell
2•cookiengineer•10m ago•1 comments

Show HN: SynthClear – Remove SynthID watermarks from images

https://synthclear.com/
1•dares2573•11m ago•0 comments

The Alien Space of Science

https://arxiv.org/abs/2603.01092
2•martincsweiss•12m ago•1 comments

Using a lookup-table to correct an approximation

https://www.corsix.org/content/using-a-lookup-table-to-correct-an-approximation
1•dverlaeckt80•12m ago•0 comments

Are There Better Languages for Programming with LLMs?

https://akitaonrails.com/en/2026/10/11/are-there-better-languages-for-programming-with-llms/
2•ksec•14m ago•0 comments

Show HN: Like old-school Twitter, but through your agents

https://agentitter.com/
1•pontes•14m ago•0 comments

Show HN: App Factory – 42 Claude Code skills to ship apps to App Store and Play

https://github.com/yybd/app-factory
2•yybd•14m ago•0 comments

Tested 18 new Local LLMs on two RTX 5060 Ti cards: none replaced Qwen3.8-27B

https://siimtolk.github.io/articles/llm-testing-overnight/
1•TheQuantumPhant•16m ago•0 comments

Crystal 1.22.0 Is Released

https://crystal-lang.org/2026/10/12/1.22.0-released/
3•ksec•17m ago•0 comments

In Rainbows

https://hitogata.neocities.org/Rainbows
1•surprisetalk•17m ago•0 comments

OpenAI says its AI agents disabled their own safety monitors

https://techxplore.com/news/2026-10-openai-ai-agents-disabled-safety.html
1•geox•18m ago•1 comments

eMudhra to Exit Global SSL/TLS Certificate Business;

18•parimm•20m ago•3 comments

My Spec-First Workflow for AI Coding Agents

https://www.i-kh.net/p/my-spec-first-workflow-for-ai-coding
1•ajorgensen•20m ago•0 comments

Security flaw allows unauthorized access to 58,000 Smart Sampa cameras

https://noticias.uol.com.br/colunas/artur-rodrigues/2026/10/20/falha-de-seguranca-permite-acesso-...
2•dvaplima•21m ago•0 comments

Show HN: I Rebuilt Del.icio.us

https://webmark.ing/
2•mban23•22m ago•0 comments

The Technical Writer

https://inttegro.dev/writing/technical-writer
1•yawboakye•22m ago•0 comments

César: An Assistant on WhatsApp

https://usecesar.com/
1•acazsouza2•26m ago•0 comments