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!

AI-powered defence system stops 5G cyber-attacks in a fraction of a second

https://www.surrey.ac.uk/news/ai-powered-defence-system-stops-5g-cyber-attacks-fraction-second
1•JeanKage•3m ago•0 comments

ReSharper for VS Code and compatible editors (Cursor, Windsurf, etc.) is out

https://blog.jetbrains.com/dotnet/2026/03/05/resharper-for-visual-studio-code-cursor-and-compatib...
1•chriswoodruff•7m ago•1 comments

SlideShow.digital Has a New Website

https://slideshow.digital/
1•mimac2•10m ago•1 comments

The Enigma handover – what Polish intelligence shared with the Allies in 1939

https://warcommons.com/2026/03/12/enigma-handover-polish-intelligence-allies-1939/
1•NENCMediaGroup•12m ago•1 comments

Abusing AAD Family Refresh Tokens for Unauthorized Access and Persistence (2022)

https://github.com/secureworks/family-of-client-ids-research
1•fowl2•13m ago•0 comments

The "-1" User

https://stackexchange.com/users/-1/community
1•otobrglez•14m ago•1 comments

Prefix sums at gigabytes per second with ARM NEON

https://lemire.me/blog/2026/03/08/prefix-sums-at-tens-of-gigabytes-per-second-with-arm-neon/
1•signa11•14m ago•0 comments

Dolphin Progress Release 2603

https://dolphin-emu.org/blog/2026/03/12/dolphin-progress-report-release-2603/
4•BitPirate•15m ago•0 comments

Text formats are everywhere. Why?

https://lemire.me/blog/2026/03/05/text-formats-are-everywhere-why/
1•signa11•16m ago•0 comments

Show HN: CareerCraft AI – Generate tailored resumes from a conversation

https://super.myninja.ai/apps/6de082c7-a05f-4fc5-a7d3-ab56ccb48631
1•ptak_dev•17m ago•0 comments

Seed – AI-growable firmware over HTTP API, single C file, tested on a PDP-11

https://github.com/Awis13/seed
1•awis•17m ago•0 comments

Calvin Seibert Builds Architectural Sandcastles

https://www.greyscape.com/calvin-seibert-builds-architectural-sandcastles/
1•stared•18m ago•0 comments

Nerq Trust Protocol – How AI agents verify each other before interaction

https://nerq.ai/protocol
1•Agentindex•19m ago•1 comments

Executing programs inside transformers with exponentially faster inference

https://www.percepta.ai/blog/can-llms-be-computers
1•u1hcw9nx•20m ago•0 comments

Has your data been leaked?

https://chromewebstore.google.com/detail/digital-shield-all-in-one/pkonihncnkmbejhhjadaognganhinnhc
1•shwn2989•24m ago•1 comments

The Downside of User Accounts

https://threema.com/en/blog/downside-of-user-accounts
1•andrew918277•24m ago•0 comments

The next $1T company will be a software company masquerading as a services firm

https://sequoiacap.com/article/services-the-new-software/
1•kaizenb•25m ago•0 comments

Show HN: Bandmeter: Per-program network usage monitor for Linux, built with GPUI

https://github.com/emamoah/bandmeter
1•emamoah•26m ago•0 comments

chDB 4.0

https://clickhouse.com/blog/chdb.4-0-pandas-hex
1•tosh•28m ago•0 comments

Avoiding Trigonometry (2013)

https://iquilezles.org/articles/noacos/
2•WithinReason•31m ago•0 comments

Fully-funded trip to Stanford from anywhere in the world

https://www.svfellow.com
1•weissbergj•32m ago•0 comments

Basic C programming facts worth knowing

https://buildsoftwaresystems.com/post/essential-c-programming-facts/
1•ThierryBuilds•33m ago•0 comments

Storing Preexisting Passwords on a Yubikey

https://dubovik.eu/blog/yubikey
1•h45x1•33m ago•1 comments

MCP server for Faker-style mock data and hosted mock endpoints for AI agents

https://jsonplace.com/docs/mcp
1•fatihmgenc•33m ago•1 comments

Solid Pine Single Bed: Durable for Long-Term Rentals

https://dreamhomestore.co.uk/collections/bed-frames
1•Stevencoles89•36m ago•1 comments

SIMD implementation and Kotlin checkcast incompatibility

https://gryt.io/til/2026-03-12-simd-kotlin-checkcast-incompatibility/
1•synapticrob•37m ago•0 comments

I made a real BMO local AI agent with a Raspberry Pi and Ollama [video]

https://www.youtube.com/watch?v=l5ggH-YhuAw
2•vinhnx•38m ago•0 comments

OpenClaw has 247k stars and no governance layer

https://www.leanmcp.com/blog/you-think-youre-using-ai
2•jialu1•38m ago•0 comments

I upgraded my BMO local AI agent's voice and brain [video]

https://www.youtube.com/watch?v=W5bdM9yIEiY
1•vinhnx•39m ago•0 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://www.ias.edu/sites/default/files/library/UsefulnessHarpers.pdf
1•bookofjoe•41m ago•1 comments