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!

Show HN: A local-first AI agent for the desktop, no Electron, any LLM endpoint

https://github.com/Scronkfinkle/byob
1•scronkfinkle•32s ago•0 comments

Top scorer on South Korean tax exam confesses to cheating with AI

https://www.reuters.com/world/asia-pacific/top-scorer-south-korean-tax-exam-confesses-cheating-wi...
1•bookofjoe•1m ago•0 comments

Beer.drv.drv.drv

https://fzakaria.com/2026/11/14/beer-drv-drv-drv
1•setheron•2m ago•0 comments

Mapping climate-resilient connectivity across the San Francisco Bay Area

https://sf-bay-area-connectivity.wn.r.appspot.com/
1•bryanrasmussen•2m ago•0 comments

The single router in southern Arkansas that ground air travel to a halt

https://www.msn.com/en-us/news/other/the-single-router-in-southern-arkansas-that-ground-air-trave...
1•jordanpg•5m ago•1 comments

All AI-generated code should be Open Source

https://jakub.jankiewicz.org/blog/ai-code-open-source/
3•jcubic•5m ago•0 comments

Show HN: Live simulation of every tram/train in Melbourne

https://melbourneinmotion.vercel.app/
1•LucidMach•6m ago•3 comments

Show HN: Althar – an open-source IDE where agents review each other's work

https://github.com/AltharIDE/althar
1•itsbalazs•7m ago•1 comments

Found 380 eMudhra-Linked Root Certificates on My Laptop

https://www.rixdata.net/blog-emudhra-roots.html
2•c-riq•9m ago•0 comments

Crate: Run Linux VMs on iPhone and iPad

https://github.com/oneamendez/crate-ios
2•nnx•12m ago•0 comments

Prompt Injection Attacks in Large Language Model Systems

https://zenodo.org/records/21357273
1•iqra_c•13m ago•0 comments

Skydio Built a Lopsided Drone

https://spectrum.ieee.org/skydio-f10-lightrunner-asymmetrical-drone
1•sohkamyung•13m ago•0 comments

Show HN: ASO Studio Connect – Track App Review and Your ASO Keywords on iPhone

https://asostudio.app/connect
1•JRizzo_1•14m ago•0 comments

GPU says 35% busy. Busy doing what?

https://tensward.com/blog/gpu-busy-doing-what
4•tensward•16m ago•0 comments

"Don't argue with me. $100k is fair, and you know it." (2010)

https://folklore.org/StoryView.py?characters=Steve%2BJobs&detail=medium&project=Macintosh&sortOrd...
1•zenincognito•16m ago•0 comments

Asgard archaea: have we found our microbial ancestors?

https://pmc.ncbi.nlm.nih.gov/articles/PMC12993045/
1•georgecmu•16m ago•0 comments

No Pain (no) Mind: my first year of Zen

https://objectiveobservations.substack.com/p/no-pain-no-mind
1•tskj•18m ago•0 comments

The Hypertext Transfer Protocol Status Code 483 (I'm Not a Freezer)

https://datatracker.ietf.org/doc/draft-banffy-httpbis-not-a-freezer/
6•rbanffy•20m ago•7 comments

Show HN: SecureVibe – Find and trace vulnerabilities before shipping

https://securevibe-dev.vercel.app/
1•Abdo2026•20m ago•0 comments

Amazon Threat Intelligence observes threat actor campaigns with ARTEX AI agents

https://aws.amazon.com/blogs/security/amazon-threat-intelligence-observes-threat-actors-running-c...
1•882542F3884314B•21m ago•0 comments

Anatomy of a trojan: backdooring an LLM by editing few dormant neurons

https://int8.io/implanting-ai-with-lazarus/
1•int8blog•21m ago•0 comments

Show HN: A custom language that compiles and runs compute kernels on AMD GPUs

https://github.com/drakestapleton/omega-mv
1•drakestapleton•28m ago•0 comments

Redpanda archived its GitHub repo

https://www.redpanda.com/blog/r2-the-engine-of-engines
2•cnkk•29m ago•0 comments

OpsJarvis: A self-hosted AI ops desk where humans approve every write

https://caelaralabs.com
2•opsjarvisai•30m ago•0 comments

Early Beowulf Cluster

https://www.computerhistory.org/revolution/supercomputers/10/71/909
2•Tomte•34m ago•1 comments

The Left's War on Gig

https://www.city-journal.org/article/gig-workers-labor-mandates
2•ibn_khaldun•36m ago•1 comments

WTF Happened to Epic Games? [video]

https://www.youtube.com/watch?v=jHT4iHJxzOI
1•soraminazuki•37m ago•0 comments

LeCun: If you're interested in human-level AI, don't work on LLMs

https://www.reddit.com/r/TheMachineLearning/comments/1xwp0kp/dont_work_on_llms_ylecun_at_corl/
5•theanonymousone•38m ago•2 comments

Proportional Personal Digital Security

https://philippdubach.com/posts/proportional-personal-security/
1•7777777phil•38m ago•0 comments

My Quest to Find the Crispest Apple in America

https://www.wsj.com/arts-culture/food-cooking/crisp-apple-varieties-test-c12940ba
2•bookofjoe•39m ago•1 comments