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!

Block (Square) plans to lay off nearly half its staff in embrace of AI

https://www.morningstar.com/news/marketwatch/20260226254/block-plans-to-lay-off-nearly-half-its-s...
1•pwthornton•1m ago•0 comments

Security Boundaries in Agentic Architectures

https://vercel.com/blog/security-boundaries-in-agentic-architectures
1•umairnadeem123•1m ago•0 comments

New Path to Battery-Grade Lithium Uses Electrochemistry

https://spectrum.ieee.org/mangrove-lithium-refining-ev-bottleneck
1•defrost•1m ago•0 comments

Windows XP Bliss hill looking almost identical to original

https://old.reddit.com/r/windows/comments/1r8iper/windows_xp_bliss_hill_looking_almost_identical_to/
1•gnabgib•2m ago•0 comments

We built Depot Wrapped 2025

https://depot.dev/blog/how-we-built-depot-wrapped
1•Charmizard•3m ago•0 comments

A Comparative Security Analysis of Three Cloud-Based Password Managers

https://eprint.iacr.org/2026/058
1•u1hcw9nx•3m ago•0 comments

If AI Is Doing the Investigation, Version the Investigation

https://wingedpig.com/2026/02/26/if-ai-is-doing-the-investigation-version-the-investigation/
1•markfrwc•4m ago•1 comments

Launch GIDE v1.0 AI Code Editor

https://generativeide.com/
2•rohangnaneshjh•4m ago•0 comments

Show HN: oosh – Annotation-driven CLI framework for Bash

https://github.com/bruno-de-queiroz/oosh
1•brunodequeiroz•5m ago•0 comments

VCs and Top Programmers Tackle Open Source Funding Issues Permanently

https://techcrunch.com/2026/02/26/a-vc-and-some-big-name-programmers-are-trying-to-solve-open-sou...
1•birdculture•5m ago•0 comments

Show HN: OpenClaw skills degrade agent safety

https://github.com/faberlens/hardened-skills
1•shadab_nazar•8m ago•1 comments

Solving email problems for startups and SaaS

1•peter_joe•9m ago•0 comments

Mercedes Just Put Drift Mode in an SUV

https://www.thedrive.com/news/mercedes-just-put-drift-mode-in-an-suv
1•PaulHoule•10m ago•0 comments

Pi: The Minimal Agent Within OpenClaw

https://lucumr.pocoo.org/2026/1/31/pi/
1•kristianpaul•13m ago•0 comments

Bonesmashing: Inside The Extreme Looksmaxxer Technique

https://www.gq.com/story/what-is-bonesmashing-looksmaxxing-technique
1•bookofjoe•13m ago•0 comments

Yes, AI is intelligent. Prove me wrong. by Bertrwnd Meyer

https://bertrandmeyer.com/2026/02/26/yes-ai-is-intelligent-prove-me-wrong/
1•PikelEmi•15m ago•1 comments

HITL Swarm Intelligence – Making Extraction Technically Obsolete

https://github.com/m727ichael/hitl-swarm-intelligence
1•m727ichael•15m ago•1 comments

Why Chinese people spend so much on food

https://www.economist.com/finance-and-economics/2026/02/26/why-chinese-people-spend-so-much-on-food
1•ryan_j_naughton•19m ago•1 comments

Block to lay off nearly half its staff in 'deliberate and bold' embrace of AI

https://www.marketwatch.com/story/block-plans-to-lay-off-nearly-half-its-staff-in-deliberate-and-...
8•rdoherty•19m ago•0 comments

Show HN: Are they up, an open-source alternative to Downdetector

https://aretheyup.com/
1•kdickey•20m ago•0 comments

OWASP Agentic Top Mapped to Aguara Detection Rules

https://aguarascan.com/blog/owasp-agentic-top-10-mapped-to-detection-rules/
1•garagon•20m ago•0 comments

Wiretapping scandal: Spyware manufacturer sentenced to prison in Greece

https://www.heise.de/en/news/Wiretapping-scandal-Spyware-manufacturer-sentenced-to-prison-in-Gree...
1•i-con•22m ago•0 comments

When, where, and how often do individuals recover memories of trauma? (2025)

https://www.tandfonline.com/doi/full/10.1080/09658211.2025.2601699
1•rendx•22m ago•0 comments

Show HN: Modernizing command entry with Emacs-style flex search + mouse support

https://github.com/alex-903/zsh-mouse-and-flex-search
2•harr01•22m ago•1 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•shanchan•22m ago•0 comments

Show HN: Unfucked (unf) – a filesystem flight recorder that snapshots every save

https://www.unfudged.io/
1•cyrusradfar•24m ago•1 comments

Startups Are Sequencing Problems

https://benhylak.substack.com/p/start-ups-are-sequencing-problems
1•bddicken•24m ago•0 comments

Show HN: Stop reviewing AI-generated code during a PR, move it in the edit cycle

https://medium.com/@peterrallojay/beyond-the-pr-shifting-review-into-the-coding-session-de04ce344e81
3•Mitchem•25m ago•0 comments

Block shares soar 24% as company slashes workforce by nearly half

https://www.cnbc.com/2026/02/26/block-laying-off-about-4000-employees-nearly-half-of-its-workforc...
8•jbredeche•27m ago•1 comments

Real-Time Rendering with a Neural Irradiance Volume

https://arnocoomans.be/eg2026/
1•smusamashah•28m ago•0 comments