frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

json-render

https://github.com/vercel-labs/json-render
1•gfortaine•3m ago•1 comments

Visualize your Claude Code usage statistics

https://claude-stats.vercel.app/
1•vklmn•4m ago•0 comments

Show HN: Tickk – Voice productivity app- local NLP, no cloud, no AI, no signup

https://tickk.app/
1•alphatesterguy•5m ago•0 comments

Dockerfile.sbom

https://rearmhq.com/blog/2026-01-14-dockerfile-sbom/
1•taleodor•6m ago•0 comments

Show HN: A simple tool for product photos

https://ai-photogenerator.org
1•qq540738209•9m ago•0 comments

Tool Search Now in Claude Code

https://twitter.com/trq212/status/2011523109871108570
2•gfortaine•11m ago•0 comments

Nepal's Mountainside Teahouses Elevate the Experience for Trekkers

https://www.smithsonianmag.com/travel/nepal-mountainside-teahouses-elevate-experience-trekkers-he...
2•bookofjoe•14m ago•0 comments

Our Moon Is Curiously Lopsided, and an Impact Could Be to Blame

https://www.sciencealert.com/our-moon-is-curiously-lopsided-and-a-massive-impact-could-be-to-blame
3•gmays•21m ago•0 comments

What is GraphQL and how does it compare to REST for API design

https://www.designgurus.io/answers/detail/what-is-graphql-and-how-does-it-compare-to-rest-for-api...
3•teleforce•23m ago•0 comments

Show HN: Detect changes and keep data in sync with meter's web scraper

https://www.meter.sh/
2•hankwilliamsjr•24m ago•0 comments

AI taught me to be a better human

https://billmei.net/blog/ai-companions
2•Kortaggio•25m ago•0 comments

Tariffs: Why Oxford students are more protectionist than their professors

https://www.lowyinstitute.org/the-interpreter/tariffs-why-oxford-students-are-more-protectionist-...
2•alephnerd•29m ago•0 comments

Let Apple's offline translation framework translation be your translation engine

https://github.com/novvoo/TranslatorProxy
3•almaight•30m ago•0 comments

Encrypt Your .env in a Meme

https://github.com/thoughtlesslabs/memevault
2•thoughtlesslabs•38m ago•2 comments

Communication as a Product

https://ashgaikwad.substack.com/p/communication-as-a-product
4•ashgkwd•39m ago•0 comments

Key US Power Grid [PJM] Cuts Demand Outlook on Overstated AI Boom

https://www.bloomberg.com/news/articles/2026-01-14/biggest-us-power-grid-cuts-demand-outlook-on-o...
4•toomuchtodo•40m ago•1 comments

Social media time does not increase teenagers' mental health problems – study

https://www.theguardian.com/media/2026/jan/14/social-media-time-does-not-increase-teenagers-menta...
3•sien•44m ago•2 comments

The Inelastic Markets Hypothesis [pdf]

https://r.jordan.im/download/investing/gabaix2020.pdf
2•luu•49m ago•0 comments

The Single-Click Microsoft Copilot Attack That Silently Steals Personal Data

https://www.varonis.com/blog/reprompt
4•extesy•54m ago•0 comments

DeepSeek's technical papers show frontier innovation

https://www.scmp.com/tech/tech-trends/article/3339769/deepseek-stays-mum-next-ai-model-release-te...
3•nsoonhui•59m ago•0 comments

"Don't worry. Boys are hard to find." Trump/Epstein and... Criminal Enterprises

https://lisevoldeng.substack.com/p/dont-worry-boys-are-hard-to-find
10•Tadpole9181•59m ago•2 comments

We built a browser with GPT-5.2 in Cursor

https://xcancel.com/mntruell/status/2011562190286045552?s=20
3•aaraujo002•1h ago•0 comments

Show HN: Commosta – marketplace to share computing resources

https://www.commosta.io/
3•gkm25•1h ago•0 comments

JSON Render

https://json-render.dev/
2•handfuloflight•1h ago•0 comments

Show HN: IMSAI/Altair inspired microcomputer with web emulator

https://gzalo.github.io/microcomputer/
2•gzalo•1h ago•0 comments

Skillshare: Sync skills to all your AI CLI tools with one command

https://github.com/runkids/skillshare
2•handfuloflight•1h ago•0 comments

Show HN: Chklst – A Minimalist Checklist

https://www.chklst.xyz/
2•rgbjoy•1h ago•0 comments

Opinion: Why tech leaders can't regulate AI before releasing them?

1•lauraorchid•1h ago•2 comments

Vibe Coding Paradox

https://blog.kaplich.me/vibe-coding-paradox/
3•skaplich•1h ago•0 comments

Show HN: I built a satellite forensic engine to detect fraud in Carbon Markets

1•kccanarch•1h ago•1 comments