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: Sovereign-NB: Sub-microsecond bare-metal neural engine in Rust (UEFI)

https://github.com/msndsn123a/Sovereign-NB
1•msndsn123a•3m ago•0 comments

KernelBench: Can LLMs Write GPU Kernels? – Benchmark and Toolkit, Torch –> CUDA

https://github.com/ScalingIntelligence/KernelBench
1•peter_d_sherman•5m ago•0 comments

Martian Chaos Terrain

https://en.wikipedia.org/wiki/Martian_chaos_terrain
1•tiagod•7m ago•0 comments

Show HN: I made a bullet heaven game no one seems showing intresting

https://store.steampowered.com/app/5170580/Blend_Hunter_Smoothie_Bullet_Heaven/
1•sacravenger•8m ago•0 comments

Rate limits for private vulnerability reports

https://github.blog/changelog/2026-10-01-rate-limits-for-private-vulnerability-reports/
1•tech234a•10m ago•0 comments

Show HN: Agent team runtime with concrete lifecycle management

https://github.com/ringlochid/oh-my-subagents
1•ringlochid•11m ago•0 comments

Agentic coding's effect on Hacker News hiring threads

https://bsky.app/profile/largbae.bsky.social/post/3mwtqukfbcs23
1•largbae•13m ago•1 comments

HarnessTax: How Much Does the Harness Matter for Coding Agents?

https://arena.ai/blog/coding-agents-harness-tax
1•luispa•15m ago•0 comments

Show HN: QLCodePreview, syntax highlighting in Finder's Quick Look

https://konstruukt.com/projects/qlcodepreview/
1•realityloop•15m ago•1 comments

AI Benchmark Scores: Why 82% is actually 57%

https://lessuncertain.substack.com/p/how-to-read-and-haircut-ai-benchmark
1•luhe1900•16m ago•0 comments

Vaping for Crypto

https://www.nejm.org/doi/full/10.1056/NEJMp2606580?query=featured_home
1•maxall4•16m ago•0 comments

Reddit is ending RSS support on November 13

https://www.reddit.com/r/modnews/comments/1wubgvt/continuing_our_infrastructure_updates_whats/
6•soheilpro•16m ago•0 comments

100% free coding agent funded by ads

https://freebuff.com
1•darweenist•22m ago•0 comments

Merchants, Slaves, Peculium: The History of LLCs

https://www.kjmlaw.com/merchants-slaves-peculium-history-llcs/
1•gradus_ad•23m ago•0 comments

Intercommunalism

https://en.wikipedia.org/wiki/Intercommunalism
1•mooreds•24m ago•0 comments

Open-source, community-driven infrastructure for decentralized social media

https://github.com/blacksky-algorithms
1•mooreds•24m ago•0 comments

OVOS and Mycroft: A Fork That Wasn't Meant to Be

https://blog.openvoiceos.org
1•giancarlostoro•24m ago•0 comments

All Protection, All Month

https://mailchi.mp/vennfactory/oct-a-productivity
1•mooreds•25m ago•0 comments

Senate holds a hearing on AI [video]

https://www.youtube.com/watch?v=QYsfNRCj8H8
1•smalltorch•26m ago•0 comments

The Siren Call of Silicon Leviathan: Reflections on Blowup and Aufklärungsdämmer

https://arxiv.org/abs/2609.28591
1•hkhn•26m ago•0 comments

The essay on the Navier-Stokes story that everyone should read

https://siliconreckoner.substack.com/p/the-essay-on-the-navier-stokes-story
1•hkhn•29m ago•0 comments

Codex stopped working after latest update on macOS

https://twitter.com/theadriannoel/status/2105821027108343926
2•absqueued•31m ago•1 comments

Coarse-Grained Reconfigurable Array (CGRA)

https://en.wikipedia.org/wiki/Coarse-grained_reconfigurable_array
1•peter_d_sherman•35m ago•1 comments

Dozens hurt and hundreds arrested in wave of French school protests

https://www.bbc.co.uk/news/articles/c862epne7glyo
2•FridayoLeary•44m ago•0 comments

Best Bitcoin Commercial

https://twitter.com/bramk/status/2105780416141738076
1•cft•44m ago•0 comments

Stop trying to make xenophobia sound smart

https://www.theargumentmag.com/p/stop-trying-to-make-xenophobia-sound
2•NomNew•49m ago•0 comments

Show HN: Giving Opus 5.5 a simulated paint canvas

https://stillwet.art/
2•alstonite•51m ago•0 comments

Superhuman AI for Stratego

https://arxiv.org/abs/2511.07312
2•droidjj•51m ago•0 comments

NASA has a Dragon dilemma, and there appear to be no good answers

https://arstechnica.com/space/2026/09/nasa-has-a-dragon-dilemma-and-there-appear-to-be-no-good-an...
2•Terretta•54m ago•0 comments

Quest: Open-source, safety-focused harness

https://github.com/electric-capital/quest
2•puntium•56m ago•1 comments