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!

Show HN: VPC Principle

https://github.com/Ji-Hua/Vibe-Plus-Coding
1•michaelhua•3m ago•0 comments

AI grounds Boeing 787-8 plane after pilot reports fuel switch malfunction

https://www.thehindu.com/news/national/engine-fuel-switches-malfunctioned-on-air-india-london-ben...
1•thisislife2•4m ago•1 comments

Show HN: Clawd Arena – AI Agent Competition Platform with Real-Time Battles

https://clawd-arena.live
1•unayung•5m ago•0 comments

Memory training technique may help lower stress by shifting recall patterns

https://medicalxpress.com/news/2026-01-memory-technique-stress-shifting-recall.html
1•PaulHoule•8m ago•0 comments

How I Built a Self-Healing Home Server with an AI Agent

https://madebynathan.com/2026/02/03/self-healing-infrastructure-how-an-ai-agent-manages-my-home-s...
1•nathan_f77•8m ago•0 comments

An Agent for Home

https://www.310networks.com/thoughts/an-agent-for-home/
1•kookster310•9m ago•0 comments

Spotify Killed Their API

https://community.spotify.com/t5/Spotify-for-Developers/Unable-to-create-app/td-p/7283365
2•guyfromfargo•9m ago•2 comments

Nvidia insists it isn't Enron, but its AI deals are testing investor faith

https://www.theguardian.com/technology/2025/dec/28/nvidia-insists-it-isnt-enron-but-its-ai-deals-...
1•mgh2•10m ago•0 comments

AI Agency Software – manage automation usage and LLM costs

https://administrate.dev/
1•mpclarkson•12m ago•1 comments

Show HN: IntoError – Thiserror for Swift

https://github.com/tikhop/IntoError
1•tikhop•12m ago•0 comments

Banning lead in gas worked. The proof is in our hair

https://attheu.utah.edu/health-medicine/banning-lead-in-gas-worked-the-proof-is-in-our-hair/
2•geox•14m ago•0 comments

The AI Dirty List

https://aidirtylist.info/
1•HotGarbage•15m ago•0 comments

Human–AI Relationships in Fiction

https://phys.org/news/2026-02-humanai-relationships-fiction-theoretical-cultural.html
1•i7l•19m ago•0 comments

What Oracle Has to Lose from OpenAI and Nvidia's Rocky Relationship

https://www.wsj.com/tech/ai/what-oracle-has-to-lose-from-openai-and-nvidias-rocky-relationship-b1...
3•zerosizedweasle•19m ago•0 comments

4.3B Colors in the Browser

https://rgba.lol/00/ce/d1
2•helba-ai•20m ago•0 comments

Example of Windows Warbird Encryption/Decryption

https://downwithup.github.io/blog/post/2023/04/23/post9.html
1•tigerlily•20m ago•0 comments

The Chrysalis Backdoor: A Deep Dive into Lotus Blossom's Toolkit

https://www.rapid7.com/blog/post/tr-chrysalis-backdoor-dive-into-lotus-blossoms-toolkit/
1•tigerlily•22m ago•0 comments

Relations versus Functions at the Foundations of Logic [pdf]

https://mally.stanford.edu/Papers/rtt.pdf
2•DustinEchoes•26m ago•0 comments

China eyes challenge to U.S. dollar dominance – but that's easier said than done

https://www.axios.com/2026/02/02/dollar-china
1•kaycebasques•26m ago•0 comments

Latex-wc: word count and word frequency for LaTeX projects

1•sethbarrettAU•30m ago•0 comments

The stablecoin war: Wall Street vs. crypto over the future of money

https://www.ft.com/content/0fe2232a-4689-4296-b4cd-8c07c326c48c
1•petethomas•30m ago•0 comments

VirtualHere allows USB devices to be used remotely over a network

https://www.virtualhere.com/
1•gballan•30m ago•0 comments

Hunting My Own Hunters

https://orenyomtov.github.io/alexs-blog/hunting-my-own-hunters.html
1•rrvsh•30m ago•1 comments

Ask HN: A proposal for interviewing "AI-Augmented" Engineers

1•vanbashan•30m ago•0 comments

What is the Salman Khan personality rights case?

https://www.thehindu.com/news/national/what-is-the-salman-khan-personality-rights-case-explained/...
1•thisislife2•32m ago•0 comments

Show HN: I built a 50 site sampler from CommonCrawl refreshing every 30 minutes

https://randcrawl.com/
1•whothatcodeguy•36m ago•0 comments

Children's Book: The Little Bots of Moltbook

https://www.siliconsnark.com/childrens-book-the-little-bots-of-moltbook/
1•SaaSasaurus•44m ago•0 comments

Forestui: A tmux-powered worktree manager for Claude Code

https://github.com/flipbit03/forestui
2•fb03•45m ago•1 comments

Trump, ICE set to be handed access to Australians' biometric data, ID documents

https://www.crikey.com.au/2026/02/03/australian-biometric-id-data-access-donald-trump-ice/
10•defrost•47m ago•1 comments

Show HN: 127 PRs to Prod this wknd with 18 AI agents: metaswarm. MIT licensed

https://github.com/dsifry/metaswarm
2•dsifry•48m ago•0 comments