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!

1Password is increasing their price

https://1password.com/pricing/password-manager
1•pixelpanic360•45s ago•0 comments

A Comprehensive Analysis of Endocrine Disruptors in the Headphones

https://arnika.org/en/news/the-sound-of-contamination-all-analysed-headphones-on-the-central-euro...
1•XzetaU8•1m ago•1 comments

The Looming Taiwan Chip Disaster That Silicon Valley Has Long Ignored

https://www.nytimes.com/2026/02/24/technology/taiwan-china-chips-silicon-valley-tsmc.html
1•u1hcw9nx•2m ago•0 comments

Japan antitrust watchdog raids Microsoft over cloud services concerns

https://asia.nikkei.com/business/technology/japan-antitrust-watchdog-raids-microsoft-over-cloud-s...
1•macleginn•2m ago•0 comments

QOCC – Quantum Observability and Contract-Based Compilation

https://github.com/zerocool26/Quantum-Observability-Contract-Compilation-QOCC-
1•chiengineer•7m ago•1 comments

Ask HN: Why would anyone still use Poetry now that uv exists?

1•s-xyz•8m ago•0 comments

An honest analysis of SpacetimeDB 2.0's insane benchmark results

https://gist.github.com/brandonpollack23/77d4d741e9af56ef3a9fc338f68d2ec6
1•brandonpollack2•11m ago•1 comments

English 2.0: converter for more orthogonal and phonetically pure English

https://github.com/nglibc/english-2.0
1•xphung•13m ago•2 comments

Show HN: Open Plan Annotator – Annotate your agent's plans like a Google doc

https://github.com/ndom91/open-plan-annotator
1•ndom91•15m ago•0 comments

Wayve secures $1.5B to deploy its global autonomy platform

https://wayve.ai/press/series-d/
1•horsellama•16m ago•0 comments

Proworkk

1•Proworkk•17m ago•1 comments

Show HN: A zero-dependency Web Component for Bluesky blog comments

https://github.com/florianschepp/bsky-comments
1•fschepp•20m ago•1 comments

Curl Security Moves Again

https://daniel.haxx.se/blog/2026/02/25/curl-security-moves-again/
1•robin_reala•20m ago•0 comments

Automate your tutorials with playwright and Piper

https://charnley.github.io/blog/2026/02/24/automated-tutorial-as-code-playwright-piper.html
1•KPLauritzen•20m ago•0 comments

Participate in the 100M-row challenge for PHP

https://stitcher.io/blog/100-million-row-challenge
1•moebrowne•22m ago•0 comments

The Slow Death of the Power User

https://fireborn.mataroa.blog/blog/the-slow-death-of-the-power-user/
4•stargrave•27m ago•0 comments

The best tech interview prep tool and blogs

https://interviewgpt.deepchill.app/blogs
1•tiancaioyzy•28m ago•0 comments

GenesisDB on DigitalOcean: One Click, Done

https://www.genesisdb.io/blog/posts/2026-02-24/genesisdb-one-click-digitalocean
4•patriceckhart•29m ago•1 comments

Go's secret weapon: the standard library interface

https://fredrikaverpil.github.io/blog/2025/12/28/gos-secret-weapon-the-standard-library-interfaces/
1•hambes•30m ago•0 comments

Apple's Multibillion-Dollar Push to Make Chips in the U.S. [video]

https://www.youtube.com/watch?v=ktFlaBhpMu8
1•keepamovin•36m ago•0 comments

Amazon would rather blame its own engineers than its AI

https://www.theregister.com/2026/02/24/amazon_blame_human_not_ai/
4•beardyw•39m ago•0 comments

Slow Tuesday Night by R. A. Lafferty (1965)

https://www.baen.com/Chapters/9781618249203/9781618249203___2.htm
1•monort•41m ago•0 comments

Why the Intelligence Crisis Scenario Is Wrong

https://deadneurons.substack.com/p/why-the-intelligence-crisis-scenario
3•nr378•41m ago•0 comments

Data Crew's Route Optimiser Framework

https://tech.marksblogg.com/data-crew-route-optimiser-solver-framework.html
1•marklit•41m ago•0 comments

Managed Iceberg for Streaming with PostgreSQL Simplicity – RisingWave Open Lake

https://risingwave.com/lakehouse/
1•AnneWodell•42m ago•0 comments

FinCrew: Multi-Agent AI Financial Intelligence

1•adnan_builds•42m ago•1 comments

Pentagon sets Friday deadline for Anthropic to abandon ethics rules for AI

https://www.politico.com/news/2026/02/24/hegseth-sets-friday-deadline-for-anthropic-to-drop-its-a...
4•borski•46m ago•0 comments

Orbital datacenters are a pie-in-the-sky idea: Gartner

https://www.theregister.com/2026/02/25/gartner_orbiting_datacenter_peak_insanity/
1•beardyw•47m ago•0 comments

AMD and Meta strike $100B AI deal that includes 10% stock deal

https://www.tomshardware.com/tech-industry/artificial-intelligence/amd-meta-100-billion-deal
1•pjmlp•48m ago•0 comments

Core Banking Is a Terrible Idea. It Always Was

https://andrewbaker.ninja/2026/02/24/core-banking-is-a-terrible-idea-it-always-was/
2•jinonoel•48m ago•1 comments