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!

Tmux-HTTP

https://github.com/zarkone/tmux-http
1•tolya_•4m ago•0 comments

YC demo video should be about usecase or product walkthrough?

1•Sharedmemory•7m ago•0 comments

Server Migration Without Extra Disk Space: Streaming Borg Backups with Ffl

https://fastfilelink.com/static/blog/server-migration-without-extra-disk-space-fastfilelink.html
1•bear330•11m ago•0 comments

Programming Is Real Engineering, and AI Proves It

https://jerf.org/iri/post/2026/programming_is_engineering/
1•xngbuilds•12m ago•0 comments

P2P from Scratch – Part 1: The Internet Is Hostile – Pears

https://pears.com/news/p2p-from-scratch-part-1-the-internet-is-hostile/
1•janandonly•13m ago•0 comments

Show HN: Killed by Apple – a graveyard of discontinued Apple products

https://killedbyapple.theden.sh/
1•theden•15m ago•0 comments

Get >> HTTPS://Www.facebook.com/MetaFlowUS/

https://www.facebook.com/MetaFlowUS
1•dannywarney•15m ago•0 comments

IBM Pays $17M Resolve Allegations of Discrimination Through DEI Practices

https://www.justice.gov/opa/pr/ibm-pays-17-million-resolve-allegations-discrimination-through-ill...
2•iamflimflam1•16m ago•0 comments

The "Nuclear Energy Paradox"

https://www.sciencedirect.com/science/article/pii/S2214629626001477
1•o_pax•17m ago•0 comments

EU DMA after-action review didn't go the way that Apple wanted

https://appleinsider.com/articles/26/05/04/eu-dma-after-action-review-didnt-go-the-way-that-apple...
1•pseudalopex•17m ago•0 comments

Hackable PyTorch RL Library with Distributional Algorithms (D4PG, DSAC, DPPO)

https://github.com/e3ntity/e3rl
1•lschneider•18m ago•0 comments

OpenFeature

https://openfeature.dev/
1•wiradikusuma•19m ago•0 comments

Show HN: Red Squares – GitHub outages as contributions

https://red-squares.cian.lol/
4•cianmm•20m ago•0 comments

Automated pipeline that turns a narration recording into a YouTube video

https://github.com/danicuki/creative-act
1•danicuki•21m ago•0 comments

Show HN: Migrate your Evernote archive to Google Drive or local files

https://github.com/meizy/evernote-to-gdrive
1•meizy•25m ago•0 comments

Spike in Codex Downloads

https://www.npmcharts.com/compare/@openai/codex?log=false&interval=30
1•mirzap•26m ago•0 comments

Dyeeeufdieyeeeicdjehj

https://blog.cloudflare.com/post-quantum-warp/
1•shomserali•30m ago•0 comments

SEO: Medium Post Automation Agent

https://simplai.ai/solution/medium-post-automation-agent
1•emilypellegrini•31m ago•0 comments

Claude eagerly offers instructions to make explosives used in terrorist attacks

https://mindgard.ai/blog/claude-offers-up-instructions-to-make-explosives
1•watbe•31m ago•0 comments

US against them as a spectator from the sidelines

https://blog.fortrabbit.com/us-against-them
1•esher•31m ago•0 comments

What Comes After the Slide Deck? From Consulting Slides to Delivery Platforms

https://deepviews.xyz/blog/consulting-ppt-to-platform-en
1•rswcf•32m ago•0 comments

HomeDesignsAI

https://homedesigns.ai/
1•bellamoon544•37m ago•0 comments

AI collaboration as a laser cavity

https://solitonmaths.substack.com/p/the-coherent-cavity
1•tompdavis•39m ago•1 comments

Why the UAE Left OPEC

https://www.ft.com/content/77f79126-bbf5-4343-90ea-c403c04c5640
1•bazzmt•42m ago•1 comments

Free Tournament Bracket Builder

https://tournament-studio.apps.jointjs.com/
1•durman•43m ago•0 comments

What Is an AI SDR? How AI Sales Agents Work in 2026

https://babuger.com/blog/what-is-an-ai-sdr-how-ai-sales-agents-work
1•lyuata•44m ago•1 comments

notebooklm-py makes Claude interact with NotebookLM

https://github.com/teng-lin/notebooklm-py
2•rippeltippel•46m ago•0 comments

NZ Government to Disestablish the BSA

https://www.beehive.govt.nz/release/government-disestablish-bsa
3•xupybd•51m ago•1 comments

Open Agents from Vercel is now open source

https://github.com/vercel-labs/open-agents
2•ssgodderidge•53m ago•0 comments

Agentic AI Community 2026

https://simplai.ai/simplai-university
2•peterparker01•55m ago•0 comments