frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•10mo 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: Compare ORMs Side-by-Side

https://orm-party.fkey.dev/?f=django-prisma
1•kuchin•43s ago•0 comments

Delta – 3D racing game for MSX2 (z80)

https://jacco.ompf2.com/delta-dodge-engage-launch-target-assault/
1•jbikker•58s ago•1 comments

Summer Academy for Intercultural Dialogue 2026

https://survey.lamapoll.de/SAID26
1•rendx•7m ago•0 comments

Trojan Source: Invisible Vulnerabilities

https://arxiv.org/abs/2111.00169
1•rbanffy•8m ago•0 comments

RemixAI – All-in-One AI Platform to Generate Images, Videos and Creative Effects

1•rosemery•10m ago•0 comments

Insightful Pipe

https://insightfulpipe.com
1•bellamoon544•11m ago•1 comments

Why every demo account is named John DOE (a 700-year-old reason)

2•deep1283•13m ago•0 comments

The One Question That Exposes Fake Product-Market Fit

https://susanjmontgomery.substack.com/p/the-one-question-that-exposes-fake
1•mgav•15m ago•3 comments

Open YouTube links directly in the app, skip the browser

https://ytopen.app
1•ssarisen•17m ago•0 comments

The US military is still using Claude – but defense-tech clients are fleeing

https://techcrunch.com/2026/03/04/the-us-military-is-still-using-claude-but-defense-tech-clients-...
1•marcofloriano•17m ago•0 comments

Child's Play

https://cinemasojourns.com/2026/03/05/childs-play/
1•jjgreen•21m ago•0 comments

RasS (Rounding-as-a-Service)

https://github.com/jtayped/raas
3•matan-h•22m ago•0 comments

Federated Systems Dissapear

https://test.roelof.info/log/how-federated-systems-dissapear/
1•OuterVale•25m ago•0 comments

Show HN: I Built Glassdoor but for Food Delivery Drivers in Dubai

https://igotfilmed.com/
1•shraddha92•28m ago•0 comments

Vivo Time: stop wasting time, start living it

https://www.vivotime.net/
1•lopespm•30m ago•0 comments

Nokian Tyres launches studded winter tire that adapts to changes in temperature

https://company.nokiantyres.com/news-and-media/news-article/a-new-era-of-winter-driving-begins-no...
2•komape•30m ago•0 comments

The Technical Differences Between the MacBook Neo and MacBook Air

https://512pixels.net/2026/03/the-differences-between-the-macbook-neo-and-macbook-air/
1•tosh•30m ago•0 comments

AI in Warfare Is Here

https://www.wionews.com/world/ai-in-warfare-is-here-pentagon-used-anthropic-s-claude-ai-in-iran-s...
1•hmontazeri•35m ago•0 comments

Show HN: GridSnap–Open-source encrypted grid-based note manager (Tauri and Rust)

https://github.com/akinalpfdn/GridSnap
1•akinalpfdn•38m ago•1 comments

Databasus: Databases backup tool (PostgreSQL, MySQL, MongoDB)

https://github.com/databasus/databasus
1•thunderbong•38m ago•0 comments

Show HN: TypeCrt – Zero-latency typing test in vanilla TS, no frameworks

https://typecrt.pages.dev/
1•shadowline•38m ago•0 comments

2025 Plan for National Economic and Social Development

https://drive.google.com/file/d/1isxLR34Ltzs3jkgS2ZbSNeDM7Jdf2aTs/view
1•hunglee2•38m ago•0 comments

Refusal in LLMs is mediated by a single direction

https://www.lesswrong.com/posts/jGuXSZgv6qfdhMCuJ/refusal-in-llms-is-mediated-by-a-single-direction
2•rzk•39m ago•0 comments

Show HN: PyMath Preview – preview LaTeX math in Python docstrings inside VS Code

https://github.com/sankarebarri/pymath-preview
1•sankarebarri•39m ago•1 comments

Goke – simple, type safe, elegant command line framework

https://github.com/remorses/goke
1•xmorse•39m ago•0 comments

No Silver Bullet [pdf]

https://www.cs.dartmouth.edu/~cs50/Reading/NoSilverBullet.pdf
3•abrbhat•40m ago•0 comments

AdaCore Supply Chain Security Evolution

https://www.adacore.com/blog/adacore-software-supply-chain-security-evolution
1•nikokrock•43m ago•0 comments

ISON Format

https://ison.dev/
2•blef•46m ago•0 comments

Show HN: Compile all your competitor research in one place

https://intel.comsync.in/
2•StupidoMaximo•47m ago•1 comments

LLM Epistemics

https://mccormick.cx/news/entries/llm-epistemics
2•chr15m•48m ago•0 comments