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!

Roguelike music algorithm showcase by Nifflas

https://www.youtube.com/watch?v=WbgdXalXPus
1•todsacerdoti•32s ago•0 comments

Because Algospeak

https://www.tbray.org/ongoing/When/202x/2026/03/05/Because-Algospeak
1•zdw•41s ago•0 comments

Why do papers get desk rejected?

https://purl.stanford.edu/yb785sx5019
1•paulpauper•1m ago•0 comments

Show HN: DBWarden – A database migration tool for Python/SQLAlchemy projects

https://github.com/emiliano-gandini-outeda/DBWarden
1•emi_gandini•4m ago•0 comments

QRPC: Low Latency RPC over Link Layer

https://github.com/malandrakisgeo/qRPC
1•plethon•5m ago•0 comments

For These Millennials, College Was a Party. Then Came Real Life

https://www.nytimes.com/2026/02/17/books/review/so-old-so-young-grant-ginder.html
1•paulpauper•8m ago•0 comments

Almost a third of Gen Z men agree a wife should obey her husband

https://www.kcl.ac.uk/news/almost-a-third-of-gen-z-men-agree-a-wife-should-obey-her-husband
1•johntfella•9m ago•1 comments

Ask HN: Would you use a job board where every listing is verified?

2•BelVisgarra•10m ago•0 comments

I glimpsed heaven and it showed me the door (Jhourney retreat report)

https://lalachimera.com/p/i-glimpsed-heaven-and-it-showed-me
1•paulpauper•10m ago•0 comments

From a £1B dream to a brutal collapse: How Brewdog hit the rocks

https://www.bbc.com/news/articles/cn4ggqgyk51o
1•ZeljkoS•14m ago•0 comments

A16Z: The Power Brokers

https://www.notboring.co/p/a16z-the-power-brokers
1•sershe•16m ago•0 comments

Autonomous AI Agents Have an Ethics Problem

https://undark.org/2026/03/05/opinion-ai-agents-ethics/
1•EA-3167•20m ago•1 comments

Typst Meetup 2026: Keynote

https://www.youtube.com/watch?v=WOQXL6vRrJs
1•todsacerdoti•21m ago•0 comments

Show HN: I built a zero-lag, local-first Markdown capture tool

https://gojot.app/
1•shubham2892•23m ago•0 comments

Show HN: Main Character – A gamified productivity app (no login demo)

https://maincharacter.game
1•gmays•25m ago•0 comments

Apple Silicon Laptops Can Run a Mind, but Never a Superintelligence

https://vbar.io/laptop-mind.html
1•walterbell•28m ago•0 comments

New KV cache compaction technique cuts LLM memory 50x without accuracy loss

https://venturebeat.com/orchestration/new-kv-cache-compaction-technique-cuts-llm-memory-50x-witho...
2•mellosouls•29m ago•0 comments

Building a TB-303 from Scratch

https://loopmaster.xyz/tutorials/tb303-from-scratch
1•stagas•30m ago•0 comments

Show HN: OpenGrammar Open-source, self-hostable Grammarly alternative

https://swadhinbiswas.github.io/opengrammar/
2•0x0003r•32m ago•0 comments

Show HN: Open-Sable, Self-hosted cognitive AI agent with memory and 127 tools

https://github.com/IdeoaLabs/Open-Sable
1•aerosol•33m ago•0 comments

Calif. lawsuit accuses Meta of sending nude video from AI glasses to workers

https://www.sfgate.com/tech/article/meta-ai-glasses-lawsuit-21960004.php
2•c420•34m ago•0 comments

Show HN: BeyondComments – Find content ideas and signals from YouTube comments

https://beyondcomments.io
1•ProgrammerByDay•37m ago•0 comments

Show HN: Sajtanalys.se – Automated website analysis for Swedish businesses

https://sajtanalys.se
1•qvalitet•37m ago•0 comments

The Day NY Publishing Lost Its Soul

https://www.honest-broker.com/p/the-day-ny-publishing-lost-its-soul
2•wallflower•38m ago•0 comments

LLM Writing Tropes.md

https://tropes.fyi/tropes-md
3•walterbell•39m ago•0 comments

Palmer Luckey's $1B pitch to reboot 1990s video game consoles

https://www.ft.com/content/77e330a5-8e59-4a36-b08b-c18010a2383b
3•hackerbeat•39m ago•1 comments

Show HN: MicroBin – Easy File Sharing for Everyone – Self-Hostable

https://my.microbin.eu/
1•dszb•40m ago•0 comments

SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via CI

https://arxiv.org/abs/2603.03823
1•stepri•44m ago•0 comments

I Failed an Interview. Fair or Not, I Built This Workbook

https://doap.metal.bohyen.space/blog/post/java-fintech-interview-workbook/
2•nanacnote•45m ago•1 comments

Sunflowers

https://napo.dev/sunflowers/
1•napolux•49m ago•0 comments