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!

Cursor Camp from Neal.fun

https://neal.fun/cursor-camp/
1•vidzert•2m ago•0 comments

Ask HN: International Student Career Advice?

1•AriasLcr•2m ago•0 comments

Building apps for single purpose, always on iPhones 6

https://twitter.com/angadsg/status/2048499923533148593
1•angadsg•3m ago•0 comments

Show HN: CFP Radar – Find the conferences your talk belongs at

https://www.cfpradar.dev/
1•gemanor•5m ago•0 comments

Oracle Corporation Emerges as AI Shot-Caller

http://tommyatomsjr.blogspot.com/2026/04/oracle-corporation-transforms-into-ai.html
1•paizono•8m ago•0 comments

Show HN: Open-source Semrush alternative just passed 1.6k stars

https://openseo.so/
1•bsenescu•8m ago•0 comments

The Duolingo taxi test–could being rude to the driver cost you your dream job?

https://phys.org/news/2026-04-duolingo-taxi-rude-driver-job.html
1•i7l•14m ago•0 comments

Anchor – Lisp→C compiler, no GC, hygienic macros, Chez Scheme at compile time

https://github.com/allenj12/anchor/tree/main
1•AnchorLang•14m ago•1 comments

Show HN: Lightport – AI gateway that makes LLM providers OpenAI-compatible

https://github.com/glama-ai/lightport
1•smokybay•15m ago•0 comments

L123: A Lotus 1-2-3–style terminal spreadsheet with modern Excel compatibility

https://github.com/duane1024/l123
2•duane1024•16m ago•0 comments

Finding a Therapist in Germany, Automation

https://github.com/sasanamari/busy_therapists
2•alikhoramshahi•16m ago•1 comments

Show HN: Boredroom, An app for men who stare at walls

https://apps.apple.com/us/app/bored-room/id6758528370
1•ZeidJ•17m ago•0 comments

Lovable: We're Currently Experiencing Issues

https://status.lovable.dev/
1•doener•19m ago•0 comments

Blockify – Build Shopify sections visually, export clean native Liquid you own

https://www.blockifybuilder.com/
1•kibbyd1985•20m ago•0 comments

Clio MCP Open-source Claude connector for law firms

https://github.com/oktopeak/clio-mcp
1•piterjov•23m ago•0 comments

Y Combinator – The French Documentary (With English Subtitles) [video]

https://www.youtube.com/watch?v=w-zS3U40Juo
1•rmason•24m ago•1 comments

I built an AI travel agent that books real hotels

https://medium.com/@sorin_14830/how-i-built-an-ai-travel-startup-that-actually-books-real-hotel-1...
2•sorinmihailescu•25m ago•0 comments

AI can replace your job. Here's what it can't replace

https://www.cjchilvers.com/blog/ai-can-replace-your-job-heres-what-it-cant-replace/
3•evo_9•27m ago•0 comments

Local Figma Port – export scoped design context to MCP for AI coding agents

https://github.com/echo-ae/local_figma_port
1•echo-ae•30m ago•0 comments

To buy this Bay Area home, you'll need Anthropic equity

https://techcrunch.com/2026/04/26/to-buy-this-bay-area-home-youll-need-anthropic-equity/
1•momentmaker•31m ago•0 comments

OpenAI is building a phone that would make apps obsolete

https://thenextweb.com/news/openai-qualcomm-ai-phone-agents-replace-apps
2•skeledrew•32m ago•1 comments

Sebastian Sawe breaks iconic sub-two-hour marathon barrier

https://www.bbc.com/sport/athletics/articles/cp383n09030o
8•avicado0o•32m ago•1 comments

Tokenmaxxing Isn't an AI Strategy

https://www.theregister.com/2026/04/26/ai_price_tag/
1•saikatsg•32m ago•0 comments

Show HN: Rocketship, AI app builder that comes with an AI sales team

https://deployrocketship.com
1•CarlosJeer•33m ago•2 comments

Show HN: Pdfnative-MCP – Model Context Protocol server for the pdfnative engine

https://www.npmjs.com/package/pdfnative-mcp
1•nizoka•33m ago•0 comments

U.S. companies back Sam Altman's World ID even as much of the world pushes back

https://restofworld.org/2026/sam-altman-worldcoin-zoom-tinder-partnerships/
17•kelnos•34m ago•0 comments

Bridging West Papua Through Dispossession

https://failedarchitecture.com/bridging-west-papua-through-dispossession/
1•Thevet•34m ago•0 comments

How Much of Substack Is AI?

https://www.usermag.co/p/how-much-of-substack-is-actually-ai-pangram-analysis-substack-bestsellers
2•laurex•34m ago•0 comments

Show HN: Claude Architect

https://github.com/willhennessy/architect
1•hennessywill•35m ago•0 comments

Cognition Launches Devin CLI

https://twitter.com/cognition/status/2048821234281181302
1•mschrage•36m ago•0 comments