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!

Apify Security Breach

https://status.apify.com
1•pupppet•1m ago•1 comments

macOS on Xiaomi Pad 6S

https://www.reddit.com/r/hackintosh/comments/1xuaton/updates_on_macos_for_xiaomi_pad_6s_pro/
1•jeswin•2m ago•0 comments

The Temperamental Nature of Alligator Gender-Reveal Parties

https://nautil.us/the-temperamental-nature-of-alligator-gender-reveal-parties-1286547
1•rbanffy•6m ago•0 comments

SwiftNIO: Why ByteBuffer Has Two Cursors

https://ivantokar.com/posts/swiftnio-why-bytebuffer-has-two-cursors/
1•frizlab•8m ago•0 comments

Show HN: Armin – Modern Anki alternative with prerrequisite graphs

https://armincards.app/
1•ansanabria•8m ago•0 comments

Amazon's Ring debuts security robots, including a drone

https://www.nbcnews.com/tech/tech-news/amazons-ring-debuts-security-robots-drone-rcna608538
1•gmays•9m ago•0 comments

Nera – Erlang that ships like Go

https://www.process-one.net/blog/nera-erlang-that-ships-like-go/
1•mremond•10m ago•0 comments

Who Is Colette Kress? Meet Nvidia's New Interim CEO

https://www.wsj.com/tech/colette-kress-nvidia-interim-ceo-ff26ef3a
1•pretext•10m ago•0 comments

Show HN: Lumin – Logs, metrics and uptime checks for one-person SaaS

https://getlumin.dev/
1•frederikmartin•11m ago•0 comments

Remote Full Stack Developer Jobs

https://nokku.payanai.com/jobs/remote-full-stack-developer-jobs
1•payanai•11m ago•1 comments

Biomimetic engineering of a fortified ice composite with enhanced properties

https://www.sciencedirect.com/science/article/pii/S0927776526006259?via%3Dihub#sec0005
1•wslh•12m ago•0 comments

Show HN: AppPage – Embeddable community, roadmaps, and support hubs for apps

https://apppage.dev
2•edmundgentle•14m ago•0 comments

HubSpot Announces Leadership Transition: Brian Halligan Returns as CEO

https://ir.hubspot.com/news-releases/news-release-details/hubspot-announces-leadership-transition...
1•jbredeche•14m ago•0 comments

Jensen Huang's China Spy Controversy

https://oplexa.com/blogs/jensen-huang-china-spy-nvidia-investigation-2026/
1•oplexa•15m ago•0 comments

Students at Architecture schools are using AI for everything – what's the fix?

https://www.reddit.com/r/Architects/comments/1xp9yfs/students_at_architecture_schools_are_using_a...
2•jbl0ndie•15m ago•0 comments

Schema.org: a collaborative activity to create structured data on the Internet

https://schema.org/
1•thunderbong•16m ago•0 comments

The Gratitude of Albert Camus

https://www.themarginalian.org/2014/11/19/albert-camus-letter-teacher/
1•rookienumbers30•18m ago•0 comments

Strategy to Be Dropped from MSCI Indexes After New Eligibility Rules

https://www.wsj.com/finance/investing/strategy-the-worlds-biggest-corporate-bitcoin-holder-to-be-...
1•tosh•18m ago•0 comments

Prostate Cancer Screening Now Broadly Recommended, Reversing Past Guidance

https://www.nytimes.com/2026/11/12/well/prostate-cancer-screening-guideline.html
2•julienchastang•18m ago•0 comments

Did Jensen F*** Again?

https://didjensenfuckagain.tech/
1•fside•19m ago•0 comments

Grid: An open database of income inequality and dynamics across 26 countries

https://www.grid-database.org/
1•latentframe•22m ago•0 comments

Open benchmark of AI decision APIs vs. XGBoost for fraud triage

https://github.com/SmartMobileHouse/fraud-decision-lab
1•jpietrus1•22m ago•0 comments

Talk for Stanford's EE 292J (Designing for Authenticity)

https://blog.dshr.org/2026/05/talk-jonathan-dotans-class.html
1•wslh•24m ago•0 comments

Show HN: Flight Itinerary – plan multi-stop flight trips on a map

https://flightitinerary.app/
3•WebSpyder•24m ago•0 comments

What happens if you write a TCP stack in Python? (2014)

https://jvns.ca/blog/2014/08/12/what-happens-if-you-write-a-tcp-stack-in-python/
1•zenincognito•24m ago•0 comments

My running data, on my own Mac

https://bytefabrika.io/blog/my-running-data/
6•fka•25m ago•0 comments

A book of condolences for Jensen Huang's resignation

https://horny.ceo/farewell
2•notelon•25m ago•0 comments

Relate by Neo4j – embedded, agent-native graph database

https://github.com/relatedb/relate
3•jexp•27m ago•1 comments

Learning shaders when AI can write them for you

https://shader-learn.vercel.app/en
1•huozhi•27m ago•0 comments

Show HN: Cinnamon AI – an agent for your family

https://getcinnamon.ai/
1•mv4•28m ago•1 comments