frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Offline 23 Hours a Day

https://sive.rs/off23
1•tinkelenberg•4m ago•0 comments

Google just killed my project

1•othmanosx•7m ago•0 comments

AI Web Search and Scraping

https://github.com/larryste1/web-search-tool
1•larryste•10m ago•1 comments

Geo-Strategy #8: The Iran Trap

https://www.youtube.com/watch?v=7y_hbz6loEo
3•bentcorner•11m ago•0 comments

Zed: We Overhauled Our Terms of Service and Privacy Policy

https://zed.dev/blog/terms-update
3•scblzn•11m ago•1 comments

Unity Asset Store de-listing assets originating from China

https://cdn.mc-weblink.sg-mktg.com/weblink/MTc3MjQ5NzU4M3xLd24xRXlUcGRaR3BrbjNGSjYwRlFSZDViaWJwX2...
4•starkparker•13m ago•0 comments

Show HN: ThinqWith – generate one-click AI prompts for your readers

https://thinqwith.me
1•nirajswami•13m ago•0 comments

Claude Code 3 layer config

https://doneyli.substack.com/p/the-3-layer-claude-code-configuration
1•hn247dj•14m ago•0 comments

Show HN: DevReel – A virtual gym for practical software engineering challenges

https://www.devreel.tech/
1•giota_dev•14m ago•0 comments

Agentic SDLC, my approach to high-quality agentic development

https://github.com/rmzi/portable-dev-system
1•rmzi-a•16m ago•1 comments

Call a Human MCP

https://github.com/nishantmodak/call-a-human-mcp
1•nishantmodak•17m ago•1 comments

Show HN: Grantex–Open authorization protocol for AI agents(IETF draft submitted)

1•mishrasanjeev•19m ago•0 comments

The HFS AI Trust Curve: AI isn't failing leadership is

https://www.horsesforsources.com/ai-trust-curve_022726/
1•mooreds•22m ago•0 comments

CloakShare – Open-source API for secure document and video sharing

https://cloakshare.dev/
1•GrimLabs•22m ago•1 comments

Loneliness Is for Cowards

https://www.wsj.com/opinion/free-expression/loneliness-is-for-cowards-2c85af34
1•regera•24m ago•1 comments

Winners of the smartphone boom think they know what the next big tech gadget is

https://www.cnn.com/2026/03/02/business/tech-gadgets-smartphone-glasses
1•breve•25m ago•0 comments

Clawed – On Anthropic and the Department of War

https://www.hyperdimensional.co/p/clawed
1•huey77•25m ago•0 comments

Red Hat introduces its first out and out AI platform

https://thenewstack.io/red-hat-introduces-its-first-out-and-out-ai-platform/
1•CrankyBear•25m ago•0 comments

Nodebox, a free open-source Webcontainer alternative

https://scelar.com/blog/introducing-nodepod
1•R1ck404•26m ago•1 comments

Photons that aren't actually there influence superconductivity

https://arstechnica.com/science/2026/02/photons-that-arent-actually-there-influence-superconducti...
3•ViktorRay•27m ago•0 comments

The Case for Apolitical Tech Spaces

https://minor.gripe/posts/2026-03-02-the_case_for_apolitical_tech_spaces/
1•ai_critic•29m ago•0 comments

How long do electric vehicle batteries last?

https://www.npr.org/2026/03/02/nx-s1-5706658/electric-vehicle-battery-lifespan
1•toomuchtodo•30m ago•1 comments

Fix broken link in request-changes blog post using public sample-calculator PR

https://gitauto.ai/blog/how-to-request-changes
1•nishiohiroshi•30m ago•0 comments

How a pacemaker for the brain could help Parkinson’s patients

https://www.cnn.com/health/how-a-pacemaker-for-the-brain-could-help-treat-parkinsons-spc
1•breve•34m ago•0 comments

GH Action analyzes changes, checks behavior change and generates Playwright test

https://github.com/autospec-ai/playwright
1•cport1•35m ago•0 comments

France Floats Nuclear Deployment Across Europe

https://www.wsj.com/world/europe/france-floats-nuclear-deployment-across-europe-056a5cbc
4•JumpCrisscross•37m ago•2 comments

BlackTape – open-source music discovery built on MusicBrainz and Discogs

4•Blacktape•37m ago•0 comments

Crypto Is Pointless. Not Even the White House Can Fix That.

https://www.nytimes.com/2026/02/26/opinion/crypto-trump-bitcoin-clarity-genius.html
5•bookofjoe•38m ago•1 comments

What every CS major should know

https://matt.might.net/articles/what-cs-majors-should-know/
2•azhenley•38m ago•0 comments

Show HN: OctopusGarden – An autonomous software factory (specs in, code out)

https://github.com/foundatron/octopusgarden
3•foundatron•41m ago•4 comments