frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•7mo 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!

Exploration of basic human values in 38 million obituaries over 30 years [pdf]

https://moralitylab.bc.edu/wp-content/uploads/sites/192/2025/09/markowitz-et-al-an-exploration-of...
1•sipofwater•15s ago•0 comments

LLM-Powered Relevance Assessment for Pinterest Search

https://medium.com/pinterest-engineering/llm-powered-relevance-assessment-for-pinterest-search-b8...
1•tsenturk•4m ago•0 comments

The Cost of a Closure in C

https://thephd.dev/the-cost-of-a-closure-in-c-c2y
1•ingve•5m ago•0 comments

We are in the era of Science Slop (and it's exciting)

https://superposer.substack.com/p/we-are-in-the-era-of-science-slop
1•stared•8m ago•0 comments

Show HN: DailyMe–I built an RPG task tracker for ADHD son build self-disclpline

https://dailyme.app/
3•nananono•9m ago•1 comments

Beyond the FGC-9: How the Urutau Redefines the Global 3D-Printed Firearms

https://gnet-research.org/2025/01/08/beyond-the-fgc-9-how-the-urutau-redefines-the-global-3d-prin...
1•f1shy•14m ago•0 comments

Project Chrono an Open Source Multi-Physics Simulation Engine

https://projectchrono.org/
2•lorenzohess•19m ago•0 comments

What I Look for in AI-Assisted PRs

https://benjamincongdon.me/blog/2025/12/10/What-I-Look-For-in-AI-Assisted-PRs/
1•ingve•19m ago•0 comments

Show HN: Browser-based encryption tools with zero server-side processing

https://ikrypt.com/
1•digi_wares•20m ago•0 comments

Show HN: RequestHunt – Find real feature requests from Reddit, X, and HN

https://www.requesthunt.com/
2•Zephyr0x•22m ago•0 comments

You Cannot Fix Rotten Soil

https://alifeengineered.substack.com/p/you-cannot-fix-rotten-soil
2•gpi•26m ago•1 comments

Pick a door. I'll judge you

https://nathanpmyoung.substack.com/p/pick-a-door-ill-judge-you
3•mparramon•26m ago•0 comments

Jetbrains Fixes 20 Year Old Feature Request

https://youtrack.jetbrains.com/issue/CPP-4141/Make-CLion-available-as-IntelliJ-plugin
2•krisgenre•27m ago•0 comments

A new way to see and control your algorithm

https://about.instagram.com/blog/announcements/reels-algorithm-control
1•ChrisArchitect•27m ago•0 comments

Handling Email in Emacs

https://stuff.sigvaldason.com/email.html
1•harryday•28m ago•1 comments

Sea urchin species on brink of extinction after marine pandemic

https://www.theguardian.com/environment/2025/dec/11/sea-urchin-species-on-brink-of-extinction-aft...
2•mykowebhn•28m ago•0 comments

Threshold

https://studium.dev/notes/threshold
1•jerlendds•34m ago•0 comments

Microfeatures I'd like to see in more languages

https://buttondown.com/hillelwayne/archive/microfeatures-id-like-to-see-in-more-languages/
2•goranmoomin•35m ago•0 comments

US Navy pledges $448M to test if Palantir is seaworthy

https://www.theregister.com/2025/12/10/palantir_navy_448_million_contract/
1•rjzzleep•35m ago•1 comments

Ask HN: What hard problems are still underexplored?

2•brihati•37m ago•0 comments

Storm-search: VS Code extension with global search that is useful

https://github.com/zigcBenx/storm-search
1•thunderbong•37m ago•0 comments

AI Product Retention Crisis: Why Users Aren't Staying

https://medium.com/@gp2030/ai-product-retention-crisis-why-users-arent-staying-1ecb781ac5c2
1•light_triad•38m ago•0 comments

There's a Database of Startup Ideas Here

6•suhaspatil101•41m ago•0 comments

JSON to Video

https://jsontovideo.org/
1•vvalvyvv•47m ago•0 comments

Xplora – A Smartwatch Designed for Kids

https://xplora.dk/
1•MrJagil•47m ago•0 comments

Stop losing bookmarks to the void. Bookmarks disappear. Capture/Recall Instantly

https://github.com/smogmanus1/ContentCapture-Pro
2•smogmanus•51m ago•1 comments

Mushroom Playing a Keyboard in the Forest

https://www.youtube.com/watch?v=NbP2DgDp890
1•gsf_emergency_6•51m ago•0 comments

Earliest evidence of making fire 400k years ago

https://www.nature.com/articles/s41586-025-09855-6
4•griffzhowl•53m ago•1 comments

Can we generate a credible SAR image from an optical image?

https://elisecolin.medium.com/can-we-generate-a-credible-sar-image-from-an-optical-image-7d41a5ce...
1•marklit•59m ago•0 comments

U.S. Blueprint to Rewire Economies of Russia, Ukraine Sets Off Clash with Europe

https://www.wsj.com/world/europe/u-s-blueprint-to-rewire-economies-of-russia-ukraine-sets-off-cla...
1•petethomas•1h ago•0 comments