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!

NASA acknowledges the elephant in the room with the SLS rocket

https://arstechnica.com/space/2026/02/nasa-finally-acknowledges-the-elephant-in-the-room-with-the...
1•knappe•1m ago•0 comments

New DeepSeek Research – The Future Is Here [video]

https://www.youtube.com/watch?v=fFL7la73RO4
1•chii•4m ago•0 comments

ICE seeks industry input on ad tech location data for investigative use

https://www.biometricupdate.com/202602/ice-seeks-industry-input-on-ad-tech-location-data-for-inve...
12•WaitWaitWha•13m ago•0 comments

Claude Cowork and the Case of SaaSpocalypse

https://gpt3experiments.substack.com/p/claude-cowork-and-the-case-of-saaspocalypse
2•nutanc•20m ago•1 comments

Show HN: An AI-Powered President Simulator

https://presiduck.feedscription.com/
3•tzhu1997•21m ago•0 comments

Astronauts Are Going Back to the Moon for the First Time in Half a Century

https://time.com/7346146/artemis-ii-launch-nasa-astronauts-moon-mission/
2•helloplanets•29m ago•0 comments

The CIA Is Sunsetting the World Factbook

https://actualityabridged.substack.com/p/the-cia-is-sunsetting-the-world-factbook
4•blizow•30m ago•0 comments

Climate Change Economic Models Omit Shocks, Likely Flawed

https://www.theguardian.com/environment/2026/feb/05/flawed-economic-models-mean-climate-crisis-co...
3•stego-tech•35m ago•1 comments

Show HN: A text format for UI wireframes – comparing token costs across 4 format

https://github.com/enlinks-llc/katsuragi
2•enlinks•37m ago•0 comments

Show HN: FIPSPad – a FIPS 140-3 and NIST SP 800-53 minimal Notepad app in Rust

https://github.com/BrowserBox/FIPSPad
2•keepamovin•37m ago•1 comments

Mick Jagger "Memo from Turner" (1970) [video]

https://archive.org/details/memo-from-turner-clip
2•petethomas•42m ago•0 comments

Show HN: Use Claude Code to Query and Analyze Your Finances

https://github.com/theFong/mmoney-cli
1•alecfong•45m ago•1 comments

4-Hour Builds: Anatomy of a Developer Experience Collapse

https://fabioluciano.com/en/4-hours-build-anatomy-devex-collapse/
1•fabioluciano•48m ago•0 comments

Spellcasting

https://phyous.github.io/spellcasting/
2•wpnx•50m ago•0 comments

OpenClaw Is Lonely [video]

https://vimeo.com/1160861583
1•laserduck•51m ago•0 comments

Strava removes 2.3M rides from leaderboards in clampdown on cheats

https://www.cyclingweekly.com/news/strava-removes-2-3-million-rides-from-leaderboards-in-clampdow...
2•brippalcharrid•51m ago•0 comments

Constant 14ms attention: 512→524K tokens (24.5x faster than FlashAttention)

https://github.com/RegularJoe-CEO/vllm/blob/waller-operator-integration/benchmarks/attention_benc...
1•luxiedge•53m ago•1 comments

Sequoias Need for Churn

https://www.gnupg.org/blog/20250117-aheinecke-on-sequoia.html
1•mocknen•54m ago•0 comments

Investigators found 'concerning similarities' between Reedley, Las Vegas labs

https://abc30.com/post/investigators-found-concerning-similarities-between-reedley-las-vegas-labs...
2•petethomas•59m ago•0 comments

Sam Altman Responds to Anthropic Ad Campaign

https://twitter.com/i/status/2019139174339928189
15•gradus_ad•1h ago•2 comments

Show HN: I've been running OpenClaw on a $640 Mac Mini for a week. Honest report

https://github.com/openclaw/openclaw
3•Legin82•1h ago•1 comments

Show HN: Tiny PWA to encrypt files using Passkeys

https://filokey.github.io/
2•dansjots•1h ago•0 comments

Doc2Calendar – I built an LLM pipeline to parse complex PDF schedules

https://www.doc2calendar.com/
2•mikebuilds•1h ago•1 comments

Ask HN: Is Connecting via SSH Risky?

3•atrevbot•1h ago•8 comments

Betterment Data Breach

https://haveibeenpwned.com/Breach/Betterment
1•skogstokig•1h ago•0 comments

Show HN: Buquet – Durable queues and workflows using only S3

https://horv.co/buquet.html
1•h0rv•1h ago•0 comments

AI Command and Staff–Operational Evidence and Insights from Wargaming

https://www.militarystrategymagazine.com/article/ai-command-and-staff-operational-evidence-and-in...
1•mooreds•1h ago•0 comments

Understanding the Political Disconnect

https://www.swarthmore.edu/understanding-political-disconnect
1•mooreds•1h ago•0 comments

How to Connect with Your Developer Audience (2022)

https://maida.kim/how-to-build-developer-audience/
1•mooreds•1h ago•0 comments

Open secrets about Hacker News

https://bengtan.com/blog/open-secrets-hacker-news/
12•thunderbong•1h ago•0 comments