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!

Tangled: Private repositories are now in alpha

https://tangled.org/blog/private-alpha/
1•nerdypepper•42s ago•0 comments

Millie 2: a 177B model and a million tokens of context on a phone

https://www.llmsforall.com/blog/millie-2/
1•Benkrause•4m ago•0 comments

Show HN: Look – Minimalistic CSS Framework

https://box2unlock.github.io/look/
1•grzes•6m ago•0 comments

Nearly half of US states failing at child labor protections, report finds

https://www.theguardian.com/us-news/2026/dec/02/us-child-labor-protections-report
1•toomuchtodo•7m ago•0 comments

How to set up secure boot (with your own keys) and TPM based storage decryption

https://blog.velocifyer.com/Posts/6%2CHow%20to%20set%20up%20secure%20boot%20and%20lockdown%20mode...
1•Velocifyer•7m ago•0 comments

Marla at Indiana University – By Paul Lefebvre – Goto 10

https://www.goto10retro.com/p/marla-at-indiana-university
1•rbanffy•7m ago•0 comments

HPE breathes new life into DDR4 memory in servers built for DDR5

https://www.theregister.com/systems/2026/12/02/hpe-breathes-new-life-into-ddr4-memory-in-servers-...
1•rbanffy•9m ago•0 comments

Palmer Luckey on War 2.0 [video]

https://www.youtube.com/watch?v=QARxiqCkJF4
1•simonebrunozzi•12m ago•0 comments

Making It Easier to Build and Ship Games on Xbox

https://news.xbox.com/en-us/2026/12/02/making-easier-build-and-ship-games-xbox/
1•msephton•13m ago•2 comments

Show HN: Sibuna a FOSS server for post-quantum cryptography for legacy systems

https://github.com/insanai/sibuna
1•vikrantrathore•13m ago•0 comments

Sidequest – A lightweight project planner for juggling several projects

https://offware.io/sidequest/
1•timsamoff•14m ago•1 comments

AWS Context: a governed business-meaning graph for AI agents, now GA

https://aws.amazon.com/blogs/aws/aws-helps-agents-do-more-with-your-data/
1•dvaplima•14m ago•0 comments

Ask HN: Benefits of Datacenters in Space

1•Gee101•14m ago•0 comments

The Troll Toll

https://ajaychavda.com/blog/the-troll-toll
2•romania1•16m ago•0 comments

Sneakernet: A slow, decentralized messaging network

https://drewdevault.com/blog/Introducing-sneakernet/
1•djha-skin•19m ago•0 comments

Price Hikes and Layoffs at JetBrains

https://gamedev.net/news/7441-price-hikes-layoffs-at-jetbrains/
1•georgecmu•19m ago•1 comments

Local Agentic Coding Free

https://github.com/wondergeorge/george-coder
1•shotbymikebeck•20m ago•0 comments

AI Brain Fry: What worked for me

https://namirsab.dev/blog/ai-brain-fry-what-worked-for-me/
1•namirsab•20m ago•1 comments

OpenAI and Salesforce expand partnership to bring Salesforce workflows

https://openai.com/index/expanding-our-salesforce-partnership/
1•qainsights•22m ago•0 comments

Killed Any Mutants Lately?

https://entropicthoughts.com/killed-any-mutants-recently
1•birdculture•23m ago•0 comments

Show HN: Mference – 100% Private AI for Macs

https://github.com/NeelM0906/Mference
1•watdawgdoin•23m ago•0 comments

After a year of tinkering, my factory is finally running smoothly

https://twitter.com/Steve_Yegge/status/2127977854944288923
14•flimp•25m ago•16 comments

WeebTube–YouTube for Anime

https://weebtube.cc/
1•iloveyoutwo•26m ago•0 comments

Sweden introduces single-agreement music licence for podcasts

https://www.reuters.com/legal/litigation/sweden-introduces-single-agreement-music-licence-podcast...
1•nephihaha•26m ago•0 comments

One day, someone will ask what you did in 2027 [video]

https://www.youtube.com/watch?v=ZSHa-EuNJao
1•tectonic•27m ago•0 comments

New map of the Milky Way reveals billions of stars in unprecedented detail

https://www.msn.com/en-us/science/astronomy/ar-AA2iJeL8
1•swingandamiss•28m ago•0 comments

World Energy Outlook 2026

https://www.iea.org/reports/world-energy-outlook-2026
2•simonebrunozzi•30m ago•0 comments

PG Proxy: Postgres proxy and transaction-level connection pooler

https://github.com/DataDog/pg-proxy
1•plaur782•32m ago•0 comments

Scientists grow potatoes in simulated Moon soil with remarkable results

https://www.sciencedaily.com/releases/2026/12/261201005903.htm
2•nate•32m ago•0 comments

Freehand, Microsoft's minimal harness for strong LLMs

https://github.com/microsoft/FreeHand
1•blueSky1989•33m ago•1 comments