frontpage.
newsnewestaskshowjobs

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!

Show HN: Autograd-Free LLM Guiding with 0MB VRAM (Alternative Pathways)

https://github.com/PJHkorea/Continuous_Wave_Field_LLM_Brain
1•PJHkorea•1m ago•0 comments

Obliterate, Don't Automate

https://blog.usv.com/obliterate
1•wslh•1m ago•0 comments

From knowledge-based inference to presence-based verification

https://discuss.huggingface.co/t/if-unsure-ask-never-guess-ai-agent-pre-execution-checklist/176632
1•offaxis•2m ago•0 comments

Show HN: Focus on approving agent actions and managing team MCP access

https://gettrustloop.app
1•ducnguyen67201•2m ago•0 comments

Alphabet Quadruples Profit to Nearly $120B, Fueled by A.I. Investments

https://www.nytimes.com/2026/07/22/technology/alphabet-google-earnings-profit.html
1•xnx•5m ago•1 comments

Safari Technology Preview 248 Released

https://webkit.org/blog/18162/release-notes-for-safari-technology-preview-248/
2•Erenay09•5m ago•0 comments

Show HN: LiquidBrain – Unlimited Tokens. Unlimited Context. One Fixed Price

https://liquidbrain.ai/
1•salsta1•6m ago•0 comments

Daniel Radcliffe to Narrate Comedian Kyle Gordon's Third Album

https://variety.com/2026/music/news/daniel-radcliffe-narrate-kyle-gordon-album-1236812133/
1•firasd•8m ago•0 comments

We verify Cleric's production fixes

https://cleric.ai/blog/verifying-fixes
1•willempienaar•11m ago•0 comments

Character.ai: The Technical Story of What Keeps Users Hooked

https://manish.sh/writings/ai-tools/inside-character-ai-the-technical-story-of-what-keeps-users-h...
1•ms7892•11m ago•0 comments

Framework downgrades RAM configurations on pre-orders due to price hikes

https://old.reddit.com/r/framework/comments/1v3ntus/framework_memory_configurations_updated/
1•john-titor•11m ago•1 comments

Flare Redact – zero-dependency secret and PII redaction for Node.js

https://github.com/umudhasanli/flare-redact
1•umudhasanli•12m ago•0 comments

Show HN: The Daily FM – Turn any source into a daily podcast

https://thedaily.fm/
2•carimura•15m ago•1 comments

How Philly took a starring role in the 1983 holiday comedy 'Trading Places'

https://www.phillyvoice.com/trading-places-philadelphia-production-christmas-holiday-movies/
2•austinallegro•17m ago•1 comments

MG risks their cars becoming a rolling pirate copy

https://table.media/en/china/talk-of-the-town/software-licenses-mg-risks-becoming-a-rolling-pirat...
1•fh973•18m ago•1 comments

Why 'narcissistic' bosses don't want you working from home

https://www.rte.ie/brainstorm/2026/0722/1584510-narcissistic-self-centred-bosses-working-from-hom...
1•austinallegro•21m ago•2 comments

ICFP Programming Contest 2026

https://icfpcontest2026.com/
2•matt_d•21m ago•0 comments

On Strings in Rust

https://mfroeh.github.io/2026/07/on-strings-in-rust/
1•mfroeh•22m ago•0 comments

ISPs' long nightmare of having to list all the fees they charge is finally over

https://arstechnica.com/tech-policy/2026/07/isps-long-nightmare-of-having-to-list-all-the-fees-th...
3•ndr42•22m ago•0 comments

The 4-Hour-Work-Week is over

https://www.joanwestenberg.com/p/the-4-hour-work-week-is-over
2•spking•23m ago•1 comments

Show HN: SlapMetrics – Mac menu bar app that monitors Stripe/GA4 metrics

https://www.slapmetrics.com
1•devtanna•23m ago•0 comments

State Champs

https://seths.blog/2026/07/state-champs/
2•speckx•28m ago•0 comments

I Inspected My Take-Home Interview Project. It Was a Whole Operation

https://citizendot.github.io/articles/fake-job-interview-git-hook-malware/
9•CITIZENDOT•32m ago•0 comments

Show HN: ClawLite – Local-first personal AI assistant on Telegram

https://github.com/forgesynapseltd/ClawLite
1•ForgeSynapse•32m ago•0 comments

DOJ Now Citing Fake AI-Generated Cases to Keep ICE Detainees Locked Up

https://www.techdirt.com/2026/07/22/doj-now-citing-fake-ai-generated-cases-to-keep-ice-detainees-...
3•hn_acker•32m ago•0 comments

Geometrizing multivariate algebra to reduce complexity from O(e^n) to O(n)

https://zenodo.org/records/21499484
1•LeonardoYMG•38m ago•0 comments

Show HN: Netmon – self-hosted LAN monitor with sarcastic AI reports to Telegram

https://github.com/Role1776/netmon
1•OymInIRole•39m ago•0 comments

ChatGPT Led to a Man's Near-Fatal Health Crisis, Lawsuit Claims

https://www.nytimes.com/2026/07/22/well/openai-chatgpt-health-lawsuit.html
4•VinayUPrabhu•40m ago•0 comments

Ask HN: What changed in your life when you started meditating (and how)?

6•dondraper36•41m ago•2 comments

To Have Taste You Must Eat (and Software Engineering) – Video

https://www.youtube.com/watch?v=F4igbiu9eR8
2•SamCoding•42m ago•0 comments