frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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: Privacyfetch – AI-graded privacy scores for hundreds of companies

https://privacyfetch.com/
1•extrabright•1m ago•0 comments

How Our Grandmothers Made Us and Saved Us

https://orionmagazine.org/article/how-our-grandmothers-made-us-and-saved-us/
1•speckx•2m ago•0 comments

Show HN: HumansMap, Leaderboards,interactive graphs on 1M+ Wikidata entities

https://humansmap.com/
1•abstracthinking•4m ago•0 comments

Email Is Crazy

https://samkhawase.com/blog/email-is-crazy/
8•FlyingSnake•4m ago•0 comments

Show HN: Tenantbox – Multi-tenant file storage for SaaS in two API calls

https://tenantbox.dev
1•omollohemstone•6m ago•0 comments

A local-first sync setup for a Markdown-based feed reader

https://crocidb.com/post/a-local-first-sync-setup-for-a-markdown-based-feed-reader/
1•CrociDB•7m ago•0 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
3•GodelNumbering•10m ago•0 comments

Million Dollar Homepage Vibes

https://pixeltrees.app/
1•SteveChurch•11m ago•0 comments

Kintsugi

https://en.wikipedia.org/wiki/Kintsugi
1•mellosouls•12m ago•0 comments

Close Call: Lufthansa 787 Performs Go-Around Directly Above Qatar Cargo 777

https://simpleflying.com/lufthansa-787-qatar-cargo-777-bogota-close-call/
2•Tomte•12m ago•0 comments

Our Uncertain Uncertainties

https://kk.org/thetechnium/our-uncertain-uncertainties/
1•herbertl•12m ago•0 comments

Shademap: Simulate sun shadows for any time and place on Earth

https://shademap.app
1•ForHackernews•13m ago•0 comments

Cyborg Technical Writers – Augmented, Not Replaced, by AI

https://idratherbewriting.com/blog/cyborg-model-emerging-talk
1•eigenBasis•13m ago•0 comments

The AI-free site builder for genius founders

https://fraude.design/
1•coinfused•14m ago•0 comments

Just make a f___ing .EXE file and give it to me

https://github.com/twitter/the-algorithm/issues/1999
1•BruceEel•14m ago•0 comments

Show HN: AISA – Conversational AI Skills Assessment Based on the LLM Interaction

https://aisa.to
1•Ozzie-D•17m ago•0 comments

New post: The Markdown Link no. 25

https://md-handbook.com/blog/markdown-link-no-25/
2•wordius•18m ago•1 comments

Meta partners with Overview Energy to secure solar power for data centers

https://www.reuters.com/legal/litigation/meta-partners-with-space-startup-overview-energy-secure-...
1•T-A•19m ago•0 comments

How the Iran war put billions of Gulf-backed dealmaking in doubt

https://www.ft.com/content/53951801-5a60-4016-b978-ebbf71417111
1•JumpCrisscross•20m ago•0 comments

Obsidian-native memory for your Claude Code sessions

1•Alendronat•20m ago•0 comments

Hybrid calculation of hadronic vacuum polarization in muon g − 2 to 0.48%

https://www.nature.com/articles/s41586-026-10449-z
1•bookofjoe•21m ago•0 comments

It's the Age of Electricity and America Isn't Ready

https://www.nytimes.com/interactive/2026/04/27/opinion/electricity-power-grid-infrastructure.html
1•JumpCrisscross•21m ago•0 comments

China blocks Meta's $2B acquisition of AI startup Manus

https://www.bbc.co.uk/news/articles/cj0v0gr2yz7o
1•SimplyUseless•22m ago•0 comments

Show HN: YubiClicker, a clicker game that requires a physical security key

https://yubiclicker.com/
3•k3wl•22m ago•0 comments

Loopix – Film camera for iPhone, source available (noncommercial)

https://github.com/ts-ign0re/loopix
1•palooka•24m ago•0 comments

How to Block Google Groups Spam Using Rspamd

https://mailmum.io/posts/howto-block-google-groups-spam-in-rspamd/
1•fa11enangel•24m ago•0 comments

Show HN: Gnosis, a knowledge base for what the code can't tell you

https://github.com/skorokithakis/gnosis
4•stavros•25m ago•0 comments

We Will Be Driving Autonomously Long Before Any AI Is Liable for Generated Code

https://qameta.com/posts/ai-liability-vs-autonomous-driving/
1•fa11enangel•25m ago•0 comments

AI's Feeding Frenzy Killed My Sites (2023)

https://thessdguy.com/ais-feeding-frenzy-killed-my-sites/
2•speckx•26m ago•0 comments

You suck at dating apps because you're straight

https://viverricious.substack.com/p/you-suck-at-dating-apps-because-youre
3•eatitraw•26m ago•0 comments