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!

Uber Caps Employee Spending on AI Tools Like Claude Code to Manage Costs

https://www.bloomberg.com/news/articles/2026-06-02/uber-caps-usage-of-ai-tools-like-claude-code-t...
2•nreece•1m ago•0 comments

With Nvidia Groq 3, the Era of AI Inference Is (Probably) Here (⌛ March 2026)

https://spectrum.ieee.org/nvidia-groq-3
1•mdp2021•5m ago•0 comments

QR Menu Generator

1•tashadir•9m ago•0 comments

Can't Find a Job After Graduation? Blame WFH, Not AI

https://www.bloomberg.com/opinion/articles/2026-06-02/can-t-find-a-job-after-graduation-blame-wfh...
1•KnuthIsGod•10m ago•0 comments

A scientific calculator in C for terminal environments

https://github.com/EmberSeed/ADVANCED-TERMINAL-CALCULATOR
2•EmberSeed•10m ago•0 comments

Context Graph Agent

https://github.com/nascousa/cga
1•nascousa•14m ago•0 comments

Show HN: Codex Reset Watchdog – a Skill for watching codex quota reset signals

https://github.com/thinkingjimmy/codex-reset-watchdog
1•thinkingjimmy•18m ago•0 comments

"what if you don't have the dataset?"

https://chris-parmer.com/what-if-you-dont-have-the-dataset/?trk=feed_main-feed-card_feed-article-...
2•cjlm•19m ago•0 comments

Show HN: Carto – structural intelligence for AI coding agents (OSS)

https://github.com/theanshsonkar/carto
1•aspectop•24m ago•0 comments

Cooldown Support for Ruby Bundler

https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html
1•calyhre•26m ago•0 comments

GitLab to cut workforce by 14% and exit 22 countries in restructure around AI

https://www.msn.com/en-us/money/companies/gitlab-announces-14-reduction-in-global-workforce-expec...
7•nomilk•26m ago•0 comments

Adverse effects of aspirin, acetaminophen, and ibuprofen on immune function

https://pubmed.ncbi.nlm.nih.gov/2172402/
1•mgh2•30m ago•0 comments

Semantic Reification: A New Paradigm for Random Program Generation

https://pldi26.sigplan.org/details/pldi-2026-papers/25/Semantic-Reification-A-New-Paradigm-for-Ra...
1•matt_d•33m ago•0 comments

Trump administration drops $1.8B 'anti-weaponisation' fund

https://www.bbc.com/news/articles/crkpyj41m15o
1•NikxDa•33m ago•0 comments

Building a hill-climbing machine: Launching seven new MAI models

https://microsoft.ai/news/building-a-hillclimbing-machine-launching-seven-new-mai-models/
1•taquangkhoi•39m ago•0 comments

Tay AI Chatbot

https://en.wikipedia.org/wiki/Tay_(chatbot)
5•Jimmc414•40m ago•1 comments

Dark Software Factories Are Cool. What Comes After Them Is More Interesting

https://flummadiddle.bearblog.dev/dark-software-factories/
2•_doctor_love•41m ago•0 comments

Animation Vocabulary

https://animations.dev/vocabulary
1•itzlambda•41m ago•0 comments

OpenAI new privacy policy to include info about ads in ChatGPT

4•mmarian•49m ago•1 comments

AI hiring algorithms reject Black, Asian job seekers at higher rates

https://www.theregister.com/ai-ml/2026/05/27/ai-hiring-algorithms-reject-black-asian-job-seekers-...
2•erehweb•49m ago•0 comments

'Dumbass' criminal breaks the 'first rule of ransomware club'

https://www.theregister.com/cyber-crime/2026/06/02/dumbass-criminal-breaks-the-first-rule-of-rans...
2•Cider9986•49m ago•0 comments

GPU Forecasters: Language Models as Selective Surrogates for Kernel Optimization

https://arxiv.org/abs/2605.31464
1•matt_d•50m ago•0 comments

Benchmarking LLM-as-a-Judge for Long-Form Output Evaluation

https://arxiv.org/abs/2606.01629
1•berlianta•53m ago•0 comments

Daily Harvest sued after gallbladders removed after people consumed its product

https://www.cnn.com/2022/07/01/tech/daily-harvest-recall-lawsuits
4•JumpCrisscross•53m ago•0 comments

Can AI Do Intelligence Analysis? Apparently Not

https://blog.predictivedefense.io/p/can-ai-do-intelligence-analysis-apparently
1•beatrobot•1h ago•0 comments

One Equation. Thirty Binaries. Zero Agents

https://github.com/silentnoisehun/Bio-Binaries
1•silentnoisehun•1h ago•1 comments

Database-Centric Architecture

https://en.wikipedia.org/wiki/Database-centric_architecture
1•teleforce•1h ago•0 comments

Trump's Takeover of the American Regulatory Machine

https://www.wsj.com/politics/policy/trump-takeover-regulators-130b57a3
2•KnuthIsGod•1h ago•0 comments

Americans Are Leaving the U.S. in Record Numbers

https://www.wsj.com/podcasts/the-journal/americans-are-leaving-the-us-in-record-numbers/f2ae7db5-...
11•KnuthIsGod•1h ago•1 comments

Ask HN: How do people secure their Linux computer?

2•foo12bar•1h ago•3 comments