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!

Qwen 3.7 Plus

https://openrouter.ai/qwen/qwen3.7-plus
1•theanonymousone•38s ago•0 comments

AgilitySDK 721 Preview and an addition to LinAlg in Shader Model 6.10

https://devblogs.microsoft.com/directx/announcing-agilitysdk-721-preview-and-more-shader-model-6-...
1•ibobev•51s ago•0 comments

I built an API that stops AI hallucinating colour

https://colourmemory.com/start
1•DigbyO•1m ago•0 comments

Show HN: Nib, collaborative font editor on the web

https://nibfont.com/
1•johnnydamacha•1m ago•0 comments

Intel's new CEO cut management layers in half. The stock is up nearly 500%

https://fortune.com/2026/06/03/intel-ceo-lip-bu-tan-ai-semiconductors-innovation/
1•Brajeshwar•2m ago•0 comments

(PewDiePie) any LOCAL AI model close to Claude Code?

1•knowmygpa•3m ago•0 comments

Do we fear the serializable isolation level more than we fear subtle bugs?

https://blog.ydb.tech/do-we-fear-the-serializable-isolation-level-more-than-we-fear-subtle-bugs-5...
2•b-man•4m ago•0 comments

Meta enters enterprise AI race with new business agent

https://www.reuters.com/business/meta-launches-enterprise-focused-ai-business-agent-automate-dail...
1•tartoran•4m ago•0 comments

Show HN: Noir Code – because QR sounds similar to "noir"

https://noir-code.suncake.xyz/
1•Sunkek•5m ago•1 comments

AI Has Ruined the Job Market

https://www.theatlantic.com/ideas/2026/06/ai-job-market-hiring/687403/
1•FinnLobsien•5m ago•0 comments

AI to double data centre power and water consumption by 2030, UN researchers say

https://www.reuters.com/business/energy/ai-double-data-centre-power-water-consumption-by-2030-un-...
1•tartoran•5m ago•0 comments

Running a full blockchain stack locally (2024, 22 minutes) [video]

https://www.youtube.com/watch?v=H-R5FqrCYQs
1•Olshansky•6m ago•0 comments

Majorana 2, made more reliable with Microsoft Discovery agentic AI

https://news.microsoft.com/source/features/innovation/majorana-2-microsoft-discovery-agentic-ai/
1•EvgeniyZh•6m ago•0 comments

Show HN: Extract (YC P25) – Fast, accurate document parsing

https://extract.page
1•soamikapadia•6m ago•0 comments

Tilt: A toolkit for fixing the pains of microservice development

https://tilt.dev/
2•Olshansky•7m ago•0 comments

DaVinci Resolve 21

https://www.blackmagicdesign.com/products/davinciresolve/whatsnew
2•pentagrama•7m ago•0 comments

Thoughts on Building with Agents

https://debarshibasak.github.io/readables/blogs/building-with-agents.html
2•linuxarm64•8m ago•0 comments

Randomize, Identify, or Dream – Perception in Robotics

https://atomsfrontier.substack.com/p/randomize-identify-or-dream
2•jpatel3•8m ago•0 comments

Show HN: HostAnywhere – Securely connect devices and services, backup phones

https://hostanywhere.io
2•naveenksv•8m ago•0 comments

TypeScript Tips Everyone Should Know

https://github.com/AllThingsSmitty/typescript-tips-everyone-should-know
2•yanis_t•10m ago•0 comments

Show HN: Chatcode – Remote Control for Claude Code and Codex

https://chatcode.dev/
2•borkasm•11m ago•0 comments

Show HN: Ano – no-noise team chat with your code agent as your assistant

https://ano.chat
3•nilen•13m ago•1 comments

I shut down my bug bounty program after three months

https://killswitch.app/blog/why-i-shut-down-my-bug-bounty-program
2•ElixirMentor•13m ago•0 comments

Show HN: The Logos Machine – AI that distill knowledge into weights during Sleep

https://docsend.com/view/nx9sv43ze5rke6yn
2•AnvarBakiyev•13m ago•0 comments

Why People Hate Humanoid Robots

https://unherd.com/2026/06/why-people-hate-humanoid-robots/
2•voxleone•15m ago•0 comments

Encephalitis

https://burntsushi.net/encephalitis/
3•Tomte•16m ago•0 comments

My Latest LLM Workflow and Modern Engineering Values

https://cpojer.net/posts/modern-engineering-values
2•cpojer•16m ago•0 comments

Show HN: Wanderwhim – AI workspace for writers, bloggers, lifelong learners

https://www.wanderwhim.com
2•arbourtrary•16m ago•0 comments

Everyone in This Lego Dispute Should Have Spoken to a Lawyer Earlier

https://www.techdirt.com/2026/06/02/everyone-in-this-lego-dispute-should-have-spoken-to-a-lawyer-...
2•pseudalopex•17m ago•1 comments

Kyxgo Technology

https://sites.google.com/view/kyxgo/technology
1•aditya_rai-331•17m ago•0 comments