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!

How to debug a team that isn't working: the Waterline Model

https://www.lennysnewsletter.com/p/how-to-debug-a-team-that-isnt-working
1•quick_brown_fox•6m ago•0 comments

PIC64GX 64-bit RISC-V Quad-Core Microprocessors

https://www.microchip.com/en-us/products/microprocessors/64-bit-mpus/pic64gx
1•caned•12m ago•0 comments

DeltaDB now has a Claude Code plugin

https://delta.dev/blog/claude-code-multiplayer
1•g413n•15m ago•0 comments

Don't anthropomorphize big tech companies

https://www.seangoedecke.com/dont-anthropomorphize-big-tech-companies/
3•gfysfm•17m ago•0 comments

Show HN: Binary – hiring tool (ATS) for startups that is MCP friendly

https://binary.so
1•shikhar727•19m ago•0 comments

Anyone can get a job in IT

https://neutrinodetect.one/anyone_can_get_a_job_in_IT.html
2•AnjanaMohawk•21m ago•0 comments

A DIY browser check for Nginx to mitigate HTTP flood attacks

https://gladios.dev/
1•endel•25m ago•0 comments

I ran each AI coding-agent sandbox's own tests against the others

https://github.com/carlostapiacl/sandbox-conformance
1•carlostapia•26m ago•0 comments

44% of 94 live business-for-sale listings raise a high-severity red flag

https://firstpassmemo.com/red-flag-index/
1•JoanMurphy_FPM•28m ago•0 comments

Laissez Faire, Laissez Mourir – Visualizing Plutocracy

https://david.alvarezrosa.com/posts/laissez-faire-laissez-mourir/
1•thunderbong•29m ago•0 comments

Sneezecount (2018)

https://sneezecount.joyfeed.com
2•NaOH•31m ago•0 comments

Show HN: Clippa – Record your screen. Send a link

1•nikhildahake•33m ago•0 comments

Tiny Desk AI – Turn yourself and friends into an "Outstanding" meme video

https://tiny-desk-ai.app/
2•visiohex•35m ago•0 comments

Who Does America Owe $40T? (Explained Like You're 5)

https://www.youtube.com/watch?v=TmlvDH0ZFB4
1•cable2600•38m ago•0 comments

I built 327 distinct CI/CD workflows in 1 hour. GitHub flagged me as a spammer

https://github.com/Aissamohammedi88/toolkit
2•Nackher_news•47m ago•0 comments

Show HN: The New Way to Make AI UGC Ads in 2026

https://www.aivideosugc.com/ai-video-generation
4•tuongbadke•48m ago•0 comments

F

https://f.com
5•hjk-sys•49m ago•0 comments

Expansion Microscopy

https://en.wikipedia.org/wiki/Expansion_microscopy
2•hydrox24•49m ago•0 comments

Show HN: Cirkit – Annotate, Trace, and Ask AI About Schematic PDFs

https://www.cirkit.us/demo/
2•Tal005•53m ago•0 comments

Show HN: How to Make AI UGC Ads in 2026 Using an AI Video Generator

https://www.aivideosugc.com/
1•tuongbadke•53m ago•2 comments

A bust-up between mathematicians fuels fears that AI could undermine science

https://www.bbc.com/news/articles/c6gelgxjwzdzo
2•dabinat•55m ago•0 comments

Artificial Analysis Intelligence Index v5

https://artificialanalysis.ai/articles/artificial-analysis-intelligence-index-v5
2•hn-aarvin•56m ago•0 comments

Proof by OpenAI of the Existence of Quantum Yang-Mills Theory (statement) [pdf]

https://www.kitp.ucsb.edu/sites/default/files/YM_working_group.pdf
1•johntb86•57m ago•0 comments

The Beanstalk Challenge

https://www.beanstalkchallenge.com/
2•bhartzer•1h ago•0 comments

Introducing Fern

https://mirendil.com/news/introducing-fern/
1•gmays•1h ago•0 comments

Compressing LLMs Without Compromise

https://www.sigarch.org/compressing-llms-without-compromise/
1•peter_d_sherman•1h ago•1 comments

Show HN: Software Bloat Calculator

https://hissingkitty.com/tools/software-bloat
1•drewlem•1h ago•1 comments

Wikipedia: Signs of AI Writing

https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing
2•georgecmu•1h ago•2 comments

Tailscale Tailworm: SSH socket forwarding ran as root, fixed in 1.104.4

https://hol.org/blog/tailscale-tailworm-ssh-root-escalation-ts-2026-014-upgrade-1-104-4
2•michaelkantor•1h ago•0 comments

After its Odyssey, IMAX hits the big time

https://www.economist.com/business/2026/10/27/after-its-odyssey-imax-hits-the-big-time
1•andsoitis•1h ago•0 comments