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!

The reverts will continue until morale improves

http://peter.eisentraut.org/blog/2026/10/09/the-reverts-will-continue-until-morale-improves
1•debo_•38s ago•0 comments

Show HN: Enki LLM A pure rust (even kernels) with live GPU/CPU brain migration

https://github.com/enkiruntime/enki_llm
1•enki_runtime•1m ago•0 comments

Muse Wonder(Non-Full) Max Is Below Muse Spark 1.3 Max on Code Arena: WebDev

https://twitter.com/arena/status/2110120205464846828
1•hugh4life•3m ago•1 comments

SF Housing Simulator

https://sfhousing.mindlace.net/
2•forthwall•6m ago•0 comments

The First Social Network: In rural Argentina residents send messages w AM radio

https://www.newyorker.com/magazine/2026/10/19/the-first-social-network
1•bookofjoe•6m ago•1 comments

HCP Vagrant Deprecation

https://www.hashicorp.com/en/blog/hcp-vagrant-deprecation-important-dates-and-migration-guidance
2•mikelr•8m ago•0 comments

Nix and Lix local root-privilege-escalation vulnerabilities

https://lwn.net/Articles/1100247/
1•debo_•12m ago•0 comments

Investing in Short AI Timelines

https://cambrianmanagement.ai/
1•lukaspetersson•13m ago•0 comments

Climate change driving child marriages and teen pregnancies

https://www.rfi.fr/en/environment/20261005-climate-change-driving-child-marriages-teen-pregnancie...
1•bilsbie•14m ago•0 comments

The lowest level of programming isn't assembly or machine code, it's microcode

https://www.reddit.com/user/SufianDira/comments/1wujz80/the_lowest_level_of_programming_isnt_asse...
1•SufianDira•16m ago•0 comments

OpenAI engineer accused of planting listening device inside company's office

https://www.cbc.ca/news/world/open-ai-listening-device-fbi-9.7379357
2•uladzislau•17m ago•0 comments

Investigating unintended model actions in our evaluations and internal use

https://www.anthropic.com/research/investigating-unintended-model-actions
1•gmays•21m ago•0 comments

The Planner's Pledge

https://plannerspledge.org/
1•thomasjb•22m ago•0 comments

Musk now working on the "Distributed Inference Cloud"

https://twitter.com/SawyerMerritt/status/2110118022988058637
2•bigwheels•23m ago•1 comments

TV's Kill Voice Agents

https://twitter.com/_josh_meyer_/status/2110043334182043658
1•jrm-veris•24m ago•0 comments

AlphaNIST

https://alpha-nist.github.io/
1•jasonjmcghee•26m ago•0 comments

Physical Intelligence API Beta: Frontier Models for Every Robot

https://www.pi.website/blog/api-beta
1•modeless•28m ago•0 comments

Show HN: Florida HOAs are stealing homes

https://hoaspy.com/hoa/fl/south-florida-hoa-statistics.html
3•lovewins•29m ago•0 comments

Nexus-Q: un motor open source de Rust para PQC

https://nexus-q.link/
2•ManuelAxiom•29m ago•0 comments

Digital Money, Cash, Silver, and Gold as of 2015

https://www.grandpappy.org/edigital.htm
2•Eaglo•30m ago•1 comments

Cornell Bans Fraternity Parties

https://www.nytimes.com/2026/10/13/nyregion/cornell-sexual-assault-fraternity-party-ban.html
2•paaloeye•31m ago•1 comments

Show HN: UpDown – free multiplayer Markdown documents

https://updown.laravel.cloud/059a14a0-9113-4fad-a9db-e8ef2d2e830c
1•simonhamp•34m ago•1 comments

Open source Scion – Anthropic's Git alternative in open source

https://github.com/tinyhumansai/openscion
3•gafoor•37m ago•0 comments

Chained Exploitation of Ivanti Connect Secure Zero-Days

https://www.volexity.com/blog/2026/10/13/a-series-of-unauthenticated-events-chained-exploitation-...
1•wondersky•41m ago•0 comments

New 'Super Ice' 10 Times Stronger, Bringing It Close to the Strength of Concrete

https://www.sciencealert.com/a-new-super-ice-is-10-times-stronger-bringing-it-close-to-the-streng...
3•andrewl•41m ago•0 comments

To Save on Rent, Some Dutch College Students Are Living in Nursing Homes

https://www.theatlantic.com/business/archive/2015/10/dutch-nursing-home-college-students/408976/
2•jameslk•42m ago•0 comments

Player Piano (Kurt Vonnegut)

https://en.wikipedia.org/wiki/Player_Piano_(novel)
1•_doctor_love•43m ago•1 comments

Data everywhere, but are they fit for purpose?

https://www.science.org/doi/10.1126/science.ael8349
1•andsoitis•44m ago•0 comments

Improving Upon Traditional Music Notation

https://musicnotation.org/
2•bmacho•45m ago•1 comments

New dataset connects OpenStreetMap to Wikimedia data

https://enterprise.wikimedia.com/blog/geospatial-wikidata-dataset/
2•pizzaiolo•46m ago•0 comments