frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Quien – A better WHOIS lookup tool

https://github.com/retlehs/quien/
1•bretthopper•17m ago•0 comments

The AI-Assisted Breach of Mexico's Government Infrastructure [pdf]

https://cdn.prod.website-files.com/69944dd945f20ca4a27a7c47/69d8bb5aea59e31efb3b8a7f_Tech_Report_...
1•kerng•18m ago•0 comments

How to Land the Space Shuttle from Space (2016) [video]

https://www.youtube.com/watch?v=Jb4prVsXkZU
1•iquatemb•21m ago•0 comments

Show HN: Vibescore – Grade your vibe-coded project A+ to F (one command)

https://github.com/stef41/vibescore
2•zach22•26m ago•0 comments

Show HN: Lmscan – Detect AI text and fingerprint which LLM wrote it (zero deps)

https://github.com/stef41/lmscan
1•zach22•27m ago•0 comments

IBM to pay $17M in anti-DEI settlement

https://www.cnn.com/2026/04/10/business/ibm-settlement-dei-lawsuit
3•empressplay•29m ago•2 comments

The Agents at USV: Arthur, Ellie, Sally, and Friends

https://blog.usv.com/meet-the-agents
2•wslh•31m ago•0 comments

Madadh – deterministic fail-closed control system for protected runtimes

https://madadh.systems
1•MADADAHSYSTEMS•38m ago•0 comments

Artemis II crew splashes down in Pacific Ocean, ending moon fly-by

https://www.theguardian.com/science/2026/apr/10/artemis-ii-landing-return-moon-mission
3•hkhn•39m ago•0 comments

Bring Back Buddy

https://github.com/anthropics/claude-code/issues/45596
1•agiacalone•40m ago•1 comments

SBTI Personality Test – The Funniest Personality Quiz You'll Ever Take

https://sbti.guru/en/
1•luosix•41m ago•0 comments

Enforcing new limits and retiring Opus 4.6 Fast from Copilot Pro+

https://github.blog/changelog/2026-04-10-enforcing-new-limits-and-retiring-opus-4-6-fast-from-cop...
2•ValentineC•42m ago•0 comments

An Agent That Grows with You – Hermes Agent

https://hermesagent.best/
1•luosix•42m ago•0 comments

To Fill Air Traffic Controller Shortage, FAA Turns to Gamers

https://www.nytimes.com/2026/04/10/us/politics/air-traffic-controller-gamer.html
1•bookofjoe•56m ago•1 comments

Is VC the new PMF strategy?

2•networkOne•1h ago•0 comments

AMD GPU LLM Performance Testing

https://github.com/alainnothere/AmdPerformanceTesting
4•xlayn•1h ago•1 comments

Bringing Rust to the Pixel Baseband

https://security.googleblog.com/2026/04/bringing-rust-to-pixel-baseband.html
4•el_duderino•1h ago•0 comments

Jonathan Ive, Designer, Apple – "A computer can be sexy."

https://www.slate.com/articles/technology/top_right/2011/08/jonathan_ive_designer_apple.html
2•goekjclo•1h ago•1 comments

Sam Altman speaks out after alleged attack on SF home,links to rising AI anxiety

https://www.msn.com/en-us/news/crime/sam-altman-speaks-out-after-alleged-attack-on-sf-home-links-...
2•rmason•1h ago•2 comments

Show HN: Palmier – Dispatch and schedule AI agents from your phone

https://www.palmier.me
2•caihongxu•1h ago•0 comments

Latest Episode of Apple's "For All Mankind" Erases Taiwan

https://old.reddit.com/r/taiwan/comments/1sho71p/latest_episode_of_apples_for_all_mankind_erases/
1•GeoPolAlt•1h ago•0 comments

We open sourced KubeezCut, a free browser based editor integrated with Kubeez

https://github.com/MeepCastana/KubeezCut
1•Meeeeeep•1h ago•0 comments

Framework: ' personal computing as we know it is dead'

https://www.pcgamer.com/hardware/framework-there-is-a-very-real-scenario-in-which-personal-comput...
1•evo_9•1h ago•2 comments

'Blips' led Australian backyard astronomers to a world-first planetary discovery

https://www.sbs.com.au/news/article/how-amateur-astronauts-are-reshaping-what-we-know-about-space...
3•defrost•1h ago•0 comments

Families Spent Decades on Louisiana's Bayous. The Power Company Pulled the Plug

https://www.wsj.com/us-news/families-spent-decades-on-louisianas-bayous-the-power-company-pulled-...
2•bookofjoe•1h ago•1 comments

Relics of an ancient sandstorm on Mars point to Earth-like winds

https://www.science.org/content/article/relics-ancient-sandstorm-mars-point-earth-winds
1•gmays•1h ago•0 comments

Yout.com Hopes Supreme Court's Cox Ruling Helps Its Case; RIAA Disagrees

https://torrentfreak.com/yout-com-hopes-supreme-courts-cox-ruling-helps-its-case-riaa-disagrees/
3•Cider9986•1h ago•0 comments

Show HN: I forced Claude to play Tetris in Emacs

https://imgur.com/a/e3nxq5k
3•iLemming•1h ago•1 comments

Elon of Ed-Tech

https://getlearnix.com/
1•noahjohnson1•1h ago•3 comments

Tutorial on Event-based Cameras(2020) [pdf]

https://rpg.ifi.uzh.ch/docs/scaramuzza/Tutorial_on_Event_Cameras_Scaramuzza.pdf
1•o4c•1h ago•0 comments