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!

The Scientific Method

https://jcf.dev/scientific-method
1•slu•1m ago•0 comments

SyncBank – Self-hosted bank transaction sync for Notion, Sheets, Actual, Airtabl

https://syncbank.app/
1•samdsgn•2m ago•0 comments

The most important events in human history will all happen in the next 20 years

https://substack.com/home/post/p-195694687
1•PeterMaui•2m ago•0 comments

Amazon rolls out AI hiring software to automate job interviews

https://www.usatoday.com/story/money/2026/04/28/amazon-ai-job-interviews/89842247007/
1•cebert•4m ago•0 comments

Pack200 for Jar Files

https://github.com/pfirmstone/Pack200-ex-openjdk
1•pfirmst•6m ago•1 comments

You suck at technical interviews (2014)

https://seldo.com/posts/you_suck_at_technical_interviews/
1•downbad_•6m ago•1 comments

Write SaaS apps where users control where their data is stored

https://github.com/wolfoo2931/linkedrecords/
2•WolfOliver•9m ago•0 comments

W2A – Open Protocol for Agent Perception

https://github.com/machinepulse-ai/world2agent
5•DanielWen666•16m ago•0 comments

iPhone Memory Costs Set to Quadruple by 2027

https://www.macrumors.com/2026/04/29/iphone-memory-costs-quadruple-2027/
3•mgh2•16m ago•0 comments

Welcome to Release 1 of Code on the Go

https://www.appdevforall.org/welcome-to-release-1-of-code-on-the-go/
2•taubek•18m ago•0 comments

Nightclub Conversation

https://talk.bradwoods.io/blog/nightclub-conversation
1•bradwoodsio•19m ago•1 comments

Hardbook – freelancer booking portal with built-in contract signing

https://hard-book.com/
1•ott90210•19m ago•0 comments

Model multipliers for annual Copilot Pro and Copilot Pro+ subscribers

https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing
1•mythern•21m ago•0 comments

KloudAudit – find cloud waste in 15min no account access

https://www.kloudaudit.eu/
1•leumasj•27m ago•0 comments

Show HN: Django-Modern-Rest

https://github.com/wemake-services/django-modern-rest
5•sobolevn•32m ago•0 comments

Radicle is an open source, peer-to-peer code collaboration stack built on Git

https://radicle.dev
1•doener•32m ago•1 comments

Leaked plan to end US elections points to WW3. Stephen Fry [video]

https://www.youtube.com/watch?v=lNfzRshsDjY
3•wlkr•35m ago•1 comments

Show HN: Lapser Studio – Beautiful timelapse screen recordings effortlessly

https://www.lapser.studio/
1•Osbro•40m ago•0 comments

Ask HN: Can HN ban new accounts? or charge money?

4•randyrand•41m ago•4 comments

Show HN: Benchmarking Tangible Interface Understanding in Long-Horizon Tasks

https://huggingface.co/papers/2511.17649
1•tellarin•41m ago•1 comments

Dangers of Homogeneity: 48% of European Telcos use Nginx, report finds

https://ethiack.com/news/blog/digital-exposure-to-cybercrime-european-telecoms
1•gpaiva21•43m ago•0 comments

A terminal feed reader for HN and Reddit and lobste.rs using Claude Code

https://github.com/emarkou/grokfeed
1•elemar•46m ago•0 comments

Dallas ISD book checkouts soar amid state's cellphone ban for public schools

https://www.cbsnews.com/texas/news/dallas-isd-calendar-school-library-book-checkout-report-texas-...
1•taubek•46m ago•0 comments

Single-file PHP media host with crypto subscriptions

https://github.com/vekuz/durcoin
1•durcoin•46m ago•0 comments

ASML Bibliography

https://neilhacker.com/2026/04/28/asml-article-bibliography/
1•vinhnx•46m ago•0 comments

The unwritten laws of software engineering

https://newsletter.manager.dev/p/the-unwritten-laws-of-software-engineering
3•vinhnx•47m ago•0 comments

Agentic Engineering Management

https://peterszasz.com/agentic-engineering-management/
1•vinhnx•47m ago•0 comments

Show HN: Repid v2 – open-source async Python task queue with AsyncAPI docs

1•aleksul•48m ago•0 comments

Anthropic's Little Brother

https://www.theatlantic.com/technology/2026/04/openai-imitating-anthropic/686975/
1•JumpCrisscross•49m ago•0 comments

DKSplit – Fast word segmentation for domain names (BiLSTM-CRF and ONNX)

https://github.com/ABTdomain/dksplit
1•ABTdomain•51m ago•0 comments