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!

Proton Mail adds support for Gmail account syncing and sending

https://cyberinsider.com/proton-mail-adds-support-for-gmail-account-syncing-and-sending/
1•robertlagrant•53s ago•1 comments

Ask HN: What Hacker News comments have you bookmarked?

1•chistev•3m ago•0 comments

Kairo: Open-source project memory for understanding how a repo evolved

https://github.com/ElhamdevelopmentStudio/kairo
1•elhamdev•4m ago•0 comments

Good LLM development and usage patterns

https://blog.bluebyday.com/posts/good-llm-dev-and-usage/
1•_QrE•5m ago•0 comments

From Specialists to Builders: How AI Agentic Coding Is Reshaping Software Teams

https://aliparnan.com/blog-specialists-to-builders.html
1•Alpn13•5m ago•0 comments

Agent payments reach 3.1M x402 transactions in 30 days

https://cryptobriefing.com/agent-payments-growth-x402/
2•alexreysa•7m ago•0 comments

Mirror's Edge Catalyst Glass City as a navigable 3D atlas in the browser

https://glassgallery.me/
1•justsomehnguy•7m ago•0 comments

China's lab-grown diamonds emerging as a surprising beneficiary of the AI boom

https://www.bloomberg.com/news/articles/2026-06-02/china-s-lab-grown-diamonds-emerge-as-unlikely-...
1•victormustar•7m ago•0 comments

Why Janet?

https://ianthehenry.com/posts/why-janet/
8•yacin•8m ago•0 comments

The Unreasonable Effectiveness of Mathematics in the Natural Sciences(1960)[pdf]

https://www.hep.upenn.edu/~johnda/Papers/wignerUnreasonableEffectiveness.pdf
1•Quizzical4230•8m ago•0 comments

You Don't Love Systemd Timers Enough

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
1•yacin•8m ago•0 comments

Official MCP servers ship known-vulnerable dependencies at install time

https://bindfort.com/research/mcp-supply-chain-scan
1•Bindfort•8m ago•0 comments

Programming as Theory Building, Naur (1985). PDF-Link

https://pages.cs.wisc.edu/~remzi/Naur.pdf
1•birdculture•8m ago•0 comments

Supply Chain DLP: Stop Leaked .env Files, Credentials, SSH Keys, and API Tokens

https://scdlp.io/
1•ronreiter•9m ago•0 comments

Mqtt-dashboard – A self-hostable MQTT dashboard/explorer for IoT developers

https://github.com/jmischler72/mqtt-dashboard
1•jmischler72•9m ago•0 comments

uLisp

http://www.ulisp.com/
1•tosh•11m ago•0 comments

Show HN: Logic Designer – Digital Logic SIM Tool

https://logic-designer.github.io/logic-designer-main/
1•logic-designer•13m ago•0 comments

The AI output was 94% accurate

https://brunelly.com/
1•rihabz•13m ago•0 comments

A virtual tomato training arena for harvesting robots

https://www.omu.ac.jp/en/info/research-news/entry-111907.html
2•JeanKage•14m ago•0 comments

Show HN: CPU-only fact-check, summarize, explain, translate anything

https://github.com/kouhxp/fftext
1•mrkn1•17m ago•0 comments

The Art and Engineering of Silpheed

https://fabiensanglard.net/silpheed/index.html
2•jatwork•18m ago•0 comments

Health Care Index by Country 2026

https://www.numbeo.com/health-care/rankings_by_country.jsp
1•simonebrunozzi•18m ago•0 comments

Google Is Killing "Gemini Code Assist on GitHub"

https://developers.google.com/gemini-code-assist/docs/deprecations/consumer-code-review
2•javiercr•19m ago•0 comments

Nvidia CEO Jensen Huang Keynote at Computex 2026

https://www.youtube.com/watch?v=gxgi6D-Cf9I
2•simonsan•20m ago•3 comments

In the Beginning Was the Command Line

https://en.wikipedia.org/wiki/In_the_Beginning..._Was_the_Command_Line
2•tosh•20m ago•0 comments

Paperly – A 100% offline native iOS document scanner

https://apps.apple.com/us/app/paperly-scanner-pdf-editor/id6770937257
1•Sahil0804•21m ago•0 comments

Lettera – AI Cover Letter Generator (3 Free Uses, No Signup)

https://lettera-chi.vercel.app/
1•checkcheck•22m ago•1 comments

First undersea data center powered by offshore wind is online

https://newatlas.com/energy/china-underwater-data-center-opens/
4•robtherobber•23m ago•0 comments

Lattice Deduction Transformers

https://arxiv.org/abs/2605.08605
1•44za12•25m ago•0 comments

Worker Killed at SpaceX, a Monopoly Long Accused of Neglecting Safety

https://theworker.news/2026/05/31/fall-kills-spacex-worker-a-monopoly-long-accused-of-neglecting-...
1•robtherobber•25m ago•0 comments