frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Xray – A minimal screenshot tool for developers (Rust/Tauri)

1•wlswo•18s ago•0 comments

Odyssey-2 Pro: The GPT-2 moment for interactive world models

https://odyssey.ml/the-gpt-2-moment-for-world-models
1•askooton•2m ago•0 comments

Show HN: Nyxi – Execution-time governance for irreversible

https://github.com/indyh91/Nyxi-Showcase
1•Shaehenderson•4m ago•0 comments

Show HN: Minima LMS – Bitmap view tracking, caption search, reusable content

https://github.com/cobel1024/minima
1•pigon1002•4m ago•0 comments

Health Insurers in Shock After Medicare Holds Line on 2027 Payments

https://www.wsj.com/health/healthcare/shock-and-dismay-among-health-insurers-after-medicare-holds...
2•petethomas•7m ago•0 comments

SQL Injection Cheat Sheet

https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet
1•behnamoh•10m ago•0 comments

Peter H. Duesberg, 89, Renowned Biologist Turned HIV Denialist, Dies

https://www.nytimes.com/2026/01/27/science/peter-duesberg-dead.html
1•toomanyrichies•14m ago•1 comments

Modern Law of Leaky Abstractions

https://codecube.net/2026/1/modern-law-leaky-abstractions/
1•CodeCube•17m ago•0 comments

Ask HN: Why do people not like VimScript

1•cirnovsky•19m ago•0 comments

Google to pay $68M over allegations its voice assistant eavesdropped on users

https://www.cbsnews.com/news/google-voice-assistant-lawsuit-settlement-68-million/
1•iamnothere•20m ago•0 comments

Show HN: My AI tracks Polymarket whales with guardrails so it won't bankrupt me

https://predictor-dashboard.vercel.app
1•JackDavis720•20m ago•0 comments

Android's full desktop interface leaks: New status bar, Chrome Extensions

https://9to5google.com/2026/01/27/android-desktop-leak/
1•thunderbong•23m ago•0 comments

Amazon Discontinuing One Palm?

1•sshillo•24m ago•0 comments

Ups retires its fleet of MD-11 cargo aircraft

https://www.pbs.org/newshour/nation/ups-retires-its-fleet-of-md-11-cargo-aircraft-involved-in-dea...
2•canucker2016•33m ago•1 comments

Rye pollen's cancer-fighting structure revealed for first time

https://phys.org/news/2026-01-rye-pollen-cancer-revealed.html
1•PaulHoule•35m ago•0 comments

Book: "Beading with Algorithms: Cellular Automata in Peyote Stitch."

https://mathstodon.xyz/@gwenbeads/115968206227675487
1•sohkamyung•36m ago•0 comments

Where can I find startups looking for fractional product leads?

2•stulogy•36m ago•0 comments

Who Contributed to PostgreSQL Development in 2025?

http://rhaas.blogspot.com/2026/01/who-contributed-to-postgresql.html
1•pabs3•40m ago•0 comments

Ask HN: In agent/automation incidents, what slows recovery?

1•paulrekai•44m ago•0 comments

The Librarians Film

https://thelibrariansfilm.com/
1•JumpCrisscross•45m ago•0 comments

'A militia that kills': uproar in Italy over ICE security role in Italy

https://www.theguardian.com/us-news/2026/jan/27/italy-ice-security-role-winter-olympics
6•KnuthIsGod•45m ago•1 comments

Blur any element on webpage for safer demos, screenshots, and screen sharing

https://github.com/KD-MM2/BlurShot
1•kaotd•48m ago•0 comments

Pretend to work: China's novel solution to youth unemployment

https://www.theaustralian.com.au/world/social-pressure-in-china-drives-the-jobless-to-fake-it-til...
1•Anon84•49m ago•1 comments

He Leaked Secrets of a Southeast Asian Scam Compound. He Had to Get Out Alive

https://www.wired.com/story/he-leaked-the-secrets-southeast-asian-scam-compound-then-had-to-get-o...
1•YeGoblynQueenne•50m ago•0 comments

Writing a browser with half a developer and ELIZA in 1 hours, 76 lines of C

https://www.hgreer.com/QuoteBrowserUnquote/
2•QuadmasterXLII•53m ago•1 comments

Measuring US workers' capacity to adapt to AI-driven job displacement

https://www.brookings.edu/articles/measuring-us-workers-capacity-to-adapt-to-ai-driven-job-displa...
3•cebert•53m ago•1 comments

Alex Pretti broke rib in violent confrontation with ICE days before he was shot

https://www.dailymail.co.uk/news/article-15502789/alex-pretti-federal-agents-shot-dead-minneapoli...
4•Bender•54m ago•4 comments

Nvidia's New Voice AI – low latency

https://www.youtube.com/watch?v=n_m0fqp8xwQ
2•mdani•55m ago•0 comments

Pope Leo makes plea for men to stop talking to fake online girlfriends

https://www.dailymail.co.uk/sciencetech/article-15502247/Pope-Leo-affectionate-chatbots-AI.html
3•Bender•56m ago•0 comments

List of stories set in a future now in the past

https://en.wikipedia.org/wiki/List_of_stories_set_in_a_future_now_in_the_past
3•Jugurtha•56m ago•0 comments