frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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!

Claude Code Plugins

https://github.com/ComposioHQ/awesome-claude-plugins
1•sunilkumardash9•49s ago•0 comments

An Open Letter to Jony Ives AI Companion

1•daly•3m ago•0 comments

JavaScript Bin Down in 2026

https://remysharp.com/2026/02/02/js-bin-down-in-2026
1•robin_reala•3m ago•0 comments

Glass Battery

https://en.wikipedia.org/wiki/Glass_battery
1•RGamma•7m ago•0 comments

Grounded Agency: The Type System Your Agent Framework Forgot to Build

https://github.com/synaptiai/agent-capability-standard
1•fornbogi•7m ago•1 comments

Long-term memory for OpenClaw agents with the mem0/OpenClaw-mem0 plugin

https://docs.mem0.ai/integrations/openclaw
1•ninadwrites•8m ago•0 comments

Show HN: Swiss army knife for SpiderWeb Router

https://github.com/knitprong/Devilfileprong-/commit/549364cb64afc348cfd60b18b95af71096a5cd12
1•devilfileprong•10m ago•0 comments

Stardew Valley Turns 10: The Big ConcernedApe Interview

https://www.ign.com/articles/stardew-valley-turns-10-the-big-concernedape-interview
1•thm•13m ago•0 comments

Trump's Profiteering Hits $4B

https://www.newyorker.com/news/a-reporter-at-large/trumps-profiteering-hits-four-billion-dollars
2•tromp•14m ago•0 comments

Skill Issues: An OpenClaw Malware Campaign

https://cantpwn.com/posts/skill-issues
1•djood•14m ago•0 comments

What Do You Get When You Put a Mummy Through a CT Scan?

https://www.nytimes.com/2026/02/03/health/mummy-virtual-autopsy.html
1•mitchbob•14m ago•1 comments

Ask HN: Why not just running OpenClaw in Docker?

1•fdeage•14m ago•1 comments

Show HN: AI Blocker by Kiddokraft

https://kiddokraft.org/wiki?name=ai-blocker
1•Rezhe•14m ago•0 comments

We built what Canva AI should have been

https://markup.one
2•cyrus_kelly•16m ago•1 comments

Proposal to Illion-Ise the Byte System

https://billibyte.site/
1•permo-w•16m ago•0 comments

TfL Status Page

https://tfl.luischav.es/
3•lucharo•17m ago•2 comments

Did we just see a black hole explode? Physicists think so

https://phys.org/news/2026-02-black-hole-physicists.html
1•pseudolus•18m ago•1 comments

Show HN: Yapwise, an ios app to map your yaps

https://yapwise.xyz
1•Kapilverma29•20m ago•1 comments

Show HN: Output.md – Import sitemap, export all pages as Markdown

https://output.md
1•glennhv•21m ago•0 comments

Free AI video clipper using scene and speech-based segmentation

https://www.crabcut.ai/
3•vah7id•23m ago•5 comments

Man in Business Suit Levitating

https://en.wikipedia.org/wiki/Man_in_Business_Suit_Levitating_emoji
1•tosh•25m ago•0 comments

Peter Attia 'Ashamed' After Epstein Emails Become Public

https://www.nytimes.com/2026/02/02/well/peter-attia-epstein.html
2•anonnon•26m ago•1 comments

What Is Claude Code's Plan Mode?

https://lucumr.pocoo.org/2025/12/17/what-is-plan-mode/
1•nebben64•27m ago•0 comments

Speculative Sampling Explained

https://saibo-creator.github.io/post/2024_03_08_speculative_sampling/
2•teleforce•30m ago•0 comments

Pinterest sacks two engineers for creating software to identify fired workers

https://www.theguardian.com/technology/2026/feb/04/pinterest-sacks-two-engineers-for-software-ide...
1•marcosscriven•30m ago•1 comments

Free Unlimited Custom QR Code Generator: Design, Edit and Download

https://www.qrexpress.org/#en
1•levario_studio•35m ago•1 comments

The engineering behind GitHub Copilot CLI's animated ASCII banner

https://github.blog/engineering/from-pixels-to-characters-the-engineering-behind-github-copilot-c...
1•tosh•35m ago•0 comments

Show HN: Glintlog – Self-hosted log aggregation in a single binary

https://glintlog.com
4•caioricciuti•38m ago•0 comments

Reuse of Public Keys Across UTXO and Account-Based Cryptocurrencies

https://arxiv.org/abs/2601.19500
1•Anon84•40m ago•0 comments

The Relocation-Friendly Tech Jobs Report (2026)

https://relocateme.substack.com/p/the-relocation-friendly-tech-jobs-38c
1•hunglee2•40m ago•0 comments