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!

Does Glutathione Help Acne Marks and Pigmentation? The Science of PIH Explained

https://tvammelixirs.com/blogs/news/does-glutathione-help-acne-marks-and-pigmentation
1•bhattmayurshiv•17s ago•0 comments

Show HN: GoPeek – open links in live mini browser windows without new tabs

https://guptalog.substack.com/p/gopeek-open-links-in-live-mini-browser
1•GeorgeWoff25•1m ago•0 comments

Code with Me or for Me?

https://dl.acm.org/doi/pdf/10.1145/3772318.3790850
1•furoTmark•1m ago•0 comments

How is agent society simulation going?

1•xiaoluolyg•4m ago•0 comments

'Lazy' narrative to connect AI to job cuts, says Nvidia boss Jensen Huang

https://www.channelnewsasia.com/business/ceo-job-cuts-lazy-ai-nvidia-jensen-huang-6140246
1•Markoff•5m ago•1 comments

2D Jenga in Python

https://jump.academy/projects/jenga
1•njoyablpnting•6m ago•0 comments

SlimTide Review: The Honest Truth Behind the Viral Gut and Metabolism Formula

https://finance.yahoo.com/sectors/healthcare/articles/slimtide-capsules-exploding-2026-slim-19370...
1•walygats•10m ago•0 comments

Leaked Documents Reveal Russian 'Cognitive Strikes' Against the West

https://www.occrp.org/en/investigation/leaked-documents-reveal-russian-cognitive-strikes-against-...
2•JeanMarcS•10m ago•0 comments

Genghis Khan Built the Largest Empire in History. He Never Did a 1:1

https://scrambleit.substack.com/p/he-built-the-largest-empire-in-history
1•wapasta•11m ago•0 comments

Similar to Hacker News and Free

https://startuplaunchpage.com/community
1•vnyarongi•14m ago•0 comments

Illegal casinos are targeting children on Roblox. Can it be stopped

https://news.sky.com/video/illegal-casinos-are-targeting-children-on-roblox-can-it-be-stopped-135...
1•austinallegro•14m ago•0 comments

Erin Brockovich Asks Americans for Help as She Launches Data Center Map

https://www.newsweek.com/erin-brockovich-asks-americans-for-help-as-she-launches-data-center-map-...
1•harambae•14m ago•0 comments

First look: Mojo 1.0 mixes Python and Rust

https://www.infoworld.com/article/4173158/first-look-mojo-1-0-mixes-python-and-rust.html
1•melodyogonna•15m ago•0 comments

How to prevent ideological capture of sites like Wikipedia, HN

2•hagbard_c•16m ago•0 comments

Let's Make the Internet 3D

https://d3pth.store/cz
1•mooph•20m ago•0 comments

Privacy will be under unprecedented attack in 2026

https://www.computerweekly.com/news/366636751/Privacy-will-be-under-unprecedented-attack-in-2026
1•Ember_Wipe•20m ago•0 comments

The Divine Lever (2025)

https://thephysicsofstartups.substack.com/p/the-divine-lever
1•neilfrndes•24m ago•0 comments

Trust does not scale at machine speed

https://yebo.dev
1•Combinedsun•26m ago•0 comments

Vibe Coding as a Security Architect

https://rakkhi.substack.com/p/vibe-coding-as-security-architect
1•rakkhi•28m ago•0 comments

Show HN: I built a samurai-themed playable Résumé with React, Phaser, + Laravel

https://rzeczko.com/
2•grzeczko•31m ago•1 comments

Switch between three keyboard languages

https://mnaoumov.dev/posts/2023-12-17-switch-between-three-keyboard-languages/
1•ankitg12•32m ago•0 comments

Vigolium: Open-Source Vulnerability Scanner

https://www.helpnetsecurity.com/2026/05/27/vigolium-open-source-vulnerability-scanner/
1•SVI•32m ago•0 comments

This Film Cost $500,000 to Make. $400,000 Was AI Compute Costs

https://www.wsj.com/cio-journal/this-cannes-film-cost-500-000-to-make-400-000-was-ai-compute-cost...
2•thunderbong•35m ago•1 comments

Cyberduck – Talk with a Duck

https://rubberduckdebugging.com/cyberduck/
2•helloplanets•35m ago•0 comments

Bangladesh measles cases: children die within months

https://www.bbc.com/news/articles/cwy2d5d7wn5o
2•poppypetalmask•40m ago•0 comments

Federal Bureau of Investigations Internet Crime Report 2025 [pdf]

https://www.ic3.gov/AnnualReport/Reports/2025_IC3Report.pdf
1•Cider9986•42m ago•0 comments

California cheese mogul turned to AI agents to save his $50M business

https://finance.yahoo.com/sectors/technology/articles/meet-the-california-cheese-mogul-who-turned...
1•jackson-mcd•42m ago•0 comments

Four Big Takeaways from the FBI's Report on Internet Crime

https://www.wsj.com/tech/cybersecurity/internet-crime-fbi-report-fd7c16e8
2•Cider9986•43m ago•1 comments

98% Match. Wrong Person - Proton [video]

https://www.youtube.com/watch?v=MJ8yFRa_q4E
1•Cider9986•44m ago•0 comments

The Enhanced Games: A night of hypertrophic delirium in a Las Vegas parking lot

https://english.elpais.com/sports/2026-05-26/the-enhanced-games-a-night-of-hypertrophic-delirium-...
1•geox•46m ago•0 comments