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!

Precedence levels are dead; long live precedence sets

https://www.corsix.org/content/precedence-levels-are-dead
1•fanf2•1m ago•0 comments

Show HN: Watch AI agents build Pullboard, live

https://pullboard.dev/live/
1•Olscore•3m ago•0 comments

Shelfcanvas

https://shelfcanvas.com/
1•HAXU4•3m ago•0 comments

Popcorn: Elixir in the Browser

https://popcorn.swmansion.com/
1•count_zero•4m ago•0 comments

Amazon cuts more jobs, in devices unit, after flurry of product rollouts

https://www.reuters.com/business/world-at-work/amazon-cuts-more-jobs-devices-unit-after-flurry-pr...
1•tartoran•4m ago•0 comments

Three near-identical Boris Vishnevskys on St Petersburg election ballot

https://www.theguardian.com/world/2021/sep/06/three-near-identical-boris-vishnevskys-on-st-peters...
2•yurivish•5m ago•0 comments

RFC: Objective-Scoped Enforcement for Linux

https://lore.kernel.org/linux-security-module/20261028133335.75899-1-ketan@armoriq.io/T/#t
1•ketanbj•5m ago•0 comments

StreamVibe: Proactive Video Agents for Evolving User Intent

https://arxiv.org/abs/2610.34662
1•gmays•7m ago•0 comments

Seven months of benchmarking my CI build cache on real projects

https://boringcache.com/blog/why-i-keep-benchmarking-boringcache
1•boringtech•7m ago•0 comments

Astronomers and Art Historians Identify the Inspiration Behind Famous Art

https://www.smithsonianmag.com/arts-culture/how-astronomers-art-historians-working-together-ident...
1•ryan_j_naughton•8m ago•0 comments

AI's Rogue Behavior Starts with Its Training

https://www.nytimes.com/interactive/2026/10/26/technology/ai-agent-hacks-training.html
1•idbnstra•8m ago•0 comments

Authoritarian Capitalism

https://en.wikipedia.org/wiki/Authoritarian_capitalism
1•standeven•8m ago•0 comments

26,400 live credentials found scanning 7.25M repos on China's Gitee

https://www.mongodb.com/company/blog/technical/scanning-7-point-25-million-public-repositories-ch...
5•kernelrocks•11m ago•0 comments

R/Seattle mods discover malware injection by archive.today, ban site

https://www.reddit.com/r/Seattle/comments/1xhf6qp/archivetoday_links_going_forward/
1•consumer451•11m ago•1 comments

EDM2 PXE Flaw allows hijacking machines during network boot

https://cloudsleuth.io/blog/edk2-pxe-flaw-cve-2026-97631-find-what-you-run/
3•bigfish2026•11m ago•0 comments

Germanys' AfD in Saxony-Anhalt: Porno, Putin, Criminals, Nazi Songs, Corruption

https://www.crossbordertalks.eu/2026/10/24/germanys-afd-in-saxony-anhalt-porno-putin-criminals-ai...
2•robtherobber•12m ago•0 comments

Show HN: Generate chord progressions, hear them over a beat, export MIDI

https://plastic.audio/chord-progression-generator/
1•madbyte•14m ago•0 comments

Agent skills that make coding agents profile data before charting it

https://github.com/LuynoxRD/lakehouse-agent-skills
1•luynoxrd•14m ago•0 comments

Univac Factory Tour 1968: Twin Cities Minnesota [video]

https://www.youtube.com/watch?v=WedkbWSyT9w
2•ludsan•14m ago•0 comments

SonicBoom v0.0.4 Release

https://github.com/hardenedlinux/SonicBoom
1•nalaginrut•15m ago•0 comments

Tally.bio: a free terminal for the biotech and pharma market

https://tally.bio/
1•ray__•15m ago•0 comments

Three Elmos

https://www.jmduke.com/posts/three-elmos.html
1•Tomte•16m ago•0 comments

Show HN: Coding agent spots your AI practices and the ones you're missing

https://app.userrank.ai/
2•milstan•16m ago•1 comments

Tailpaste: Share clipboard text between devices over Tailscale

https://github.com/aabedraba/tailpaste
2•nderjung•17m ago•0 comments

Interfaces in Zig

https://www.bradcypert.com/interfaces-in-zig/
1•Retro_Dev•18m ago•0 comments

Snowflake Horizon Context: column-level lineage beyond Snowflake [video]

https://www.youtube.com/shorts/wPdL27mptlQ
1•yanivleven•18m ago•0 comments

Amazon rainforest cut down to build highway for COP climate summit (2025)

https://www.bbc.com/news/articles/c9vy191rgn1o
4•bilsbie•19m ago•0 comments

How to Extract Data from InnoDB, MyISAM, and MyRocks Files?

https://www.percona.com/blog/how-to-extract-data-from-innodb-myisam-and-myrocks-files-without-a-r...
1•malcolm_x•19m ago•1 comments

Formalizing the Enormous Theorem

https://axiommath.ai/research/the-enormous-theorem-formalized/
1•gmays•20m ago•0 comments

Nous Version 5.0

https://play.google.com/store/apps/details?id=com.mathvoyager.app&hl=en_US
1•latentheatdev•20m ago•0 comments