frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Laravel Rust

https://laravel.com/blog/introducing-laravel-for-rust
1•jefc1111•4m ago•0 comments

Bitcoin plunges 13% as quantum security worries grow

https://www.cnbc.com/2026/12/03/bitcoin-btc-crypto-quantum-security-risks.html
2•koolba•5m ago•0 comments

How Much Would It Cost to Replace RSA Encryption?

https://www.thepricer.org/how-much-would-it-cost-to-replace-rsa-encryption/
1•thecryptographe•5m ago•0 comments

Create a Chatbot with Google Generative AI and Quarkus

https://www.loicmathieu.fr/wordpress/informatique/create-a-chatbot-with-google-generative-ai-and-...
1•loicmathieu•6m ago•1 comments

Show HN: Self-hosted Buf-compatible Protobuf registry

https://github.com/lynicis/hasir
1•Lynicis•8m ago•0 comments

Show HN: EXTREMELY Autonomous Agents – an open-source AI agency on your desktop

https://github.com/maxkxd/extremely-autonomous-agents
1•maxkxd1•8m ago•1 comments

Shokado GPU Compiler Infrastructure

https://shokado.org/
1•birdculture•8m ago•0 comments

Show HN: Find your Spotify Wrapped "audio twin", no Spotify login

https://audiotwinfinder.xyz/
2•yunweiguo•9m ago•0 comments

Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust

https://github.com/hyscaler/HyScribe
2•Sid_Lmao•9m ago•1 comments

Cloudflare will be fully post-quantum in 2027

https://blog.cloudflare.com/project-quantum-leap/
30•jupenur•11m ago•5 comments

Announcing Database Branching for Amazon Aurora PostgreSQL (Preview)

https://aws.amazon.com/about-aws/whats-new/2026/12/aurora-postgresql-branching-preview/
1•mariuz•11m ago•0 comments

Power BI Dashboards exposing sensitive government data

https://fedscoop.com/government-records-exposed-access-data-microsoft-dashboard/
1•apwheele•11m ago•0 comments

Tailscale v1.106.3: store now, decrypt later post-quantum attacks protection

https://tailscale.com/changelog#2026-12-02
1•tosh•13m ago•0 comments

Ask HN: Building a Life Beyond Computers?

2•fnoef•15m ago•3 comments

Writing to Me with AI

https://cassidoo.co/post/writing-to-me-with-ai/
1•surprisetalk•17m ago•0 comments

Sift: The Lisp formatter I kept trying to write (+lint andLSP)

https://jointhefreeworld.org/blog/articles/lisps/sift-the-lisp-formatter-i-kept-trying-to-write/
1•Brajeshwar•18m ago•0 comments

Balancing Generality and Specialization: A Survey on AI DC Hardware Architecture

https://arxiv.org/abs/2609.26829
1•ksec•18m ago•0 comments

Counter-Strike 1.6 recreated inside AutoCAD

https://github.com/mihonder/AutoCAD-CS
1•khalidkhair•19m ago•0 comments

Givn 1.0 released – executable BDD workflow

https://github.com/buster/givn
1•buster•21m ago•1 comments

Xbox CLI

https://github.com/xbox/cli/blob/main/docs/README.md
3•tosh•24m ago•1 comments

Making it easier to build with Xbox

https://twitter.com/asha_shar/status/2128202307942908195
1•tosh•26m ago•0 comments

How do people feel about Grok bots

1•aryanr•27m ago•0 comments

Show HN: Screen Time History –> track your past usage (NoSub(swear to God))

https://screentimehistory.com/
1•rsemihkoca•27m ago•0 comments

Engineering Talent Then and Now

https://moneysoftware.substack.com/p/engineering-talent-then-and-now
2•bjornsing•28m ago•1 comments

The Killchain Tribunal

https://killchain.wesleygoatley.com/
1•Sebb767•28m ago•0 comments

Inosculation

https://en.wikipedia.org/wiki/Inosculation
1•ZeljkoS•28m ago•0 comments

Show HN: Zashiki – See which of your Claude Code sessions is waiting on you

https://github.com/kounetsuman/zashiki
1•kounetsuman•30m ago•0 comments

Using Python and nanocode Agent to automate playing NDS

https://ivek.gg/blog/projects/python/automation/2026/11/21/nanocode-plays-ds.html
1•someonefrom80s•30m ago•0 comments

Show HN: Draw on my keyboard

https://wuemeli.com/blog/you-can-now-draw-on-my-keyboard/
2•wuemeli•34m ago•0 comments

Why Apple Doesn't Want Web Apps to Be Installable

https://modernwebweekly.substack.com/p/why-apple-doesnt-want-web-apps-to
2•brazukadev•34m ago•2 comments