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!

Show HN: Backup Your Perplexity Research to Markdown and Obsidian

https://chatgpt2notion.com/products/perplexity-to-obsidian/
1•chatgpt2notion•2m ago•0 comments

Show HN: Zedra – Mobile control plane for AI coding agents

1•tanlethanh•3m ago•0 comments

Why is the HN crowd so anti-AI?

1•Ekami•4m ago•0 comments

Definitive guide for creating skill.md for your tools

https://docsalot.dev/blog/what-is-skill-md
1•fazkan•9m ago•0 comments

Agent-ML-skills – Teach Codex/Claude/Cursor to stop making ML mistakes

https://github.com/param087/agent-ml-skills
1•param087•14m ago•0 comments

Show HN: Apple Contacts MCP – Local AI Access to macOS Contacts

https://github.com/lu-wo/apple-contacts-mcp
1•luwo•14m ago•0 comments

Trump Signals Interest in US Owning Stakes in Top AI Labs

https://www.bloomberg.com/news/articles/2026-06-05/us-exploring-government-partnerships-with-ai-f...
2•grassfedgeek•21m ago•2 comments

A better go file/text sharing service with single binary, inspired by microbin

https://github.com/zaaack/go-bin
1•zaaack•23m ago•0 comments

Show HN: The Deterministic Core Architecture for AI-Augmented Applications

https://brandonbellsystems.com/deterministic-core/
1•Brandon_Bell•28m ago•0 comments

Something is jamming GPS over Europe. Here's what we found (Veritasium) [video]

https://www.youtube.com/watch?v=tz23G_UXCGA
3•kordlessagain•34m ago•1 comments

Show HN: Lite Agent redefines what an AI agent is

https://liteagent.cloud
2•cheikhshift•35m ago•0 comments

Show HN: Declank – Remove AI Watermarks from Images

https://declank.skeptrune.com/
1•skeptrune•39m ago•0 comments

Bernie Sanders: A.I. Is a Public Resource. You Should Own Half of It

https://www.nytimes.com/2026/06/01/opinion/artificial-intelligence-bernie-sanders.html
6•ankitr•42m ago•2 comments

SAT-Physical Thermodynamic Framework: treating constraints as a thermal system

https://github.com/alikamp/SAT_HARDNESS_P-NP
1•kauai1•46m ago•0 comments

Tinker Cookbook

https://github.com/thinking-machines-lab/tinker-cookbook
2•dima1830•47m ago•0 comments

Why sophrosyne, an ancient Greek virtue, matters more than ever in the age of AI

https://theconversation.com/why-sophrosyne-an-ancient-greek-virtue-matters-more-than-ever-in-the-...
1•1659447091•47m ago•0 comments

Rethinking the Value of Generated Tests for LLM Software Engineering Agents

https://arxiv.org/abs/2602.07900
1•zuzululu•56m ago•0 comments

Ask HN: Will your company be doing "LeetCode" interviews a year from now?

2•locusofself•57m ago•5 comments

Show HN: Incremental SfM pipeline that reconstructs 3D point clouds from images

https://github.com/egeozgul/Incremental-3D-Reconstruction-SfM/tree/main
1•egeozgul•1h ago•0 comments

Show HN: ABC Classic 100 Rankings visualised

https://classic100.gotski.workers.dev/
15•gotski•1h ago•11 comments

Some concerns about Ladybird's bylaws

https://tuananh.net/2026/06/06/ladybird-bylaws/
3•tuananh•1h ago•3 comments

Alzheimer's patient gets back speech, bladder control and memory in drug trial

https://nypost.com/2026/06/04/health/alzheimers-patient-recovers-speech-continence-and-memory-wit...
6•virgildotcodes•1h ago•2 comments

Google will pay SpaceX $920M per month for compute capacity

https://twitter.com/JackKuhr/status/2062975800488394777
6•bear_with_me•1h ago•2 comments

Protein overabundance is driven by growth robustness

https://www.science.org/doi/10.1126/sciadv.adz9623
1•PaulHoule•1h ago•0 comments

Ask HN: Questions about HN and life questions

2•mwhite•1h ago•0 comments

Unlocking Non-Uniform KV Cache for Efficient Multi-Turn LLM Serving

https://arxiv.org/abs/2606.06302
1•johnbarron•1h ago•0 comments

Astrocytic Contributions to Cognition Across Rodent Models of Brain Dysfunction

https://www.mdpi.com/2218-273X/16/5/662
1•PaulHoule•1h ago•0 comments

Data Centers and Local Job Creation

https://michaeljhicks.substack.com/p/data-centers-and-local-job-creation
1•toomuchtodo•1h ago•1 comments

Fusion Power's Newest Problem Is People Making Nukes

https://gizmodo.com/fusion-powers-newest-problem-is-people-secretly-making-nukes-2000767859
1•johnbarron•1h ago•0 comments

Show HN: Turn your landing page into print-ready business cards

https://www.kleidoprint.com
1•13001r•1h ago•0 comments