frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Show HN: Lapack without Fortran77; a C11 translation

https://github.com/ilayn/semicolon-lapack
1•ilayn•53s ago•0 comments

Legibility Is Ruining You

https://jimmyhmiller.com/legibility-is-ruining-you
1•birdculture•1m ago•0 comments

Show HN: Watch an AI-agent utopian commune fall apart

https://menggg22.github.io/utopia/replay.html
1•menggg•1m ago•0 comments

How come LinkedIn uses 3.5 GB of RAM?

1•hdjY28•5m ago•0 comments

Nvim-treesitter (13K+ Stars) is Archived

https://github.com/nvim-treesitter/nvim-treesitter/discussions/8627
1•RohanAdwankar•5m ago•0 comments

Memori Labs Launches OpenClaw Plugin, Bringing Persistent AI Memory to Agents

https://www.marketwatch.com/press-release/memori-labs-launches-openclaw-plugin-bringing-persisten...
1•jay17•5m ago•0 comments

Zprof – Zero-overhead allocator profiler for Zig

https://github.com/ANDRVV/zprof
1•andrvv•10m ago•0 comments

Automatic removal of junk instructions through state tracking (2018)

https://usualsuspect.re/article/automatic-removal-of-junk-instructions-through-state-tracking
2•davikr•10m ago•0 comments

Ask HN: If browsers are sandboxed, how can an Edge extension view local apps?

https://microsoftedge.microsoft.com/addons/detail/secure-exam-proctor/ahembiddhhlojichigdkjahdbao...
2•oceansprayed•12m ago•1 comments

Show HN: Using bots to connect to 100ms.live video room for testing

2•fcpguru•13m ago•0 comments

Demand for autism care is soaring

https://economist.com/united-states/2026/04/01/demand-for-autism-care-is-soaring-the-system-is-st...
9•andsoitis•15m ago•2 comments

Sens Ask Gabbard to Tell Americans That VPN Use Subjects Them to Surveillance

https://www.techdirt.com/2026/04/03/senators-ask-tulsi-gabbard-to-tell-americans-that-vpn-use-mig...
6•c420•16m ago•1 comments

Positioning, Leverage, and Judgment

https://daeus.blog/2026/04/04/positioning-leverage-and-judgment/
2•kurinikku•20m ago•0 comments

Advice to Young People, the Lies I Tell Myself (2024)

https://jxnl.co/writing/2024/06/01/advice-to-young-people/
2•mooreds•25m ago•1 comments

As drought deepens, Yuma area embraces new technology to save water

https://www.azfamily.com/2026/04/04/drought-deepens-yuma-area-embraces-new-technology-save-water/
2•mooreds•30m ago•0 comments

Former US Air Force master sergeant pleads guilty to defrauding military by $37M

https://www.theguardian.com/us-news/2026/apr/04/air-force-master-sergeant-pleads-guilty-defraudin...
2•randycupertino•31m ago•2 comments

Why samurai are cooler than klingons

https://docseuss.medium.com/why-samurai-are-cooler-than-klingons-2b296cd0dc25
2•mooreds•31m ago•0 comments

Show HN: Self-Host Excalidraw with Collaboration and Storage

https://github.com/ZimengXiong/ExcaliDash
1•zimengx•31m ago•0 comments

X Asks Court to Dismiss Music Piracy Lawsuit After Supreme Court's Cox Ruling

https://torrentfreak.com/x-asks-court-to-dismiss-music-piracy-lawsuit-after-supreme-courts-cox-ru...
2•gslin•34m ago•0 comments

Mullenweg to Cloudflare: Keep WordPress Out of Your Mouth

https://www.searchenginejournal.com/mullenweg-to-cloudflare-keep-wordpress-out-of-your-mouth/571119/
7•ValentineC•36m ago•0 comments

Treason? Yes Apple Bows to Kremlin Removes over 190 Major Apps

https://novayagazeta.eu/articles/2026/03/31/apple-reveals-it-bowed-to-kremlin-pressure-to-remove-...
6•casey2•38m ago•1 comments

Banning All Anthropic Employees

https://joeyh.name/blog/entry/banning_all_Anthropic_employees/
11•edward•46m ago•3 comments

German implementation of eIDAS will require an Apple/Google account to function

https://bmi.usercontent.opencode.de/eudi-wallet/wallet-development-documentation-public/latest/ar...
19•DyslexicAtheist•47m ago•7 comments

Hermes Agent: The self-improving open source AI agent Complete Guide for 2026

https://virtualuncle.com/hermes-agent-complete-guide-2026/
4•svrbvr•47m ago•1 comments

Why your joints make noise

https://news.virginia.edu/content/qa-do-your-joints-sound-rice-krispies-uva-expert-explains-why
5•bookofjoe•48m ago•0 comments

Why we see clear details: study reveals how the eye makes sharp vision possible

https://www.uab.edu/news/research-innovation/why-we-see-clear-details-uab-study-reveals-how-the-e...
4•hhs•49m ago•0 comments

Show HN: Artemis.fyi – Real-time tracker for the Artemis II Moon mission

https://artemis.fyi/
5•dmk•56m ago•0 comments

Ewigkeitsglühbirne (Eternal Light Bulb)

https://de.wikipedia.org/wiki/Ewigkeitsgl%C3%BChbirne
4•doener•56m ago•0 comments

AI can describe human experiences but lacks experience in an actual body: study

https://www.uclahealth.org/news/release/ai-can-describe-human-experiences-lacks-experience-actual-2
5•hhs•59m ago•0 comments

Show HN: Chrome extension prototype for cross-tab/frame network interception

https://github.com/vsromanc/framelink
1•vsromanc•1h ago•1 comments