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: An open source AI leaderboard of the best models your machine can run

https://whatmodel.sh
1•jakemanger•1m ago•0 comments

Rackspace Email Issues

https://status.apps.rackspace.com/index/viewincidents?group=100&start=1791777600
1•Betelbuddy•4m ago•0 comments

Britain to get first look at new AI systems after White House U-turn

https://www.telegraph.co.uk/news/2026/10/11/britain-get-first-look-ai-systems-after-white-house-u...
1•snikolaev•5m ago•0 comments

Visualizing Crossbeam Epoch Based Reclamation

https://sofiabelen.github.io/projects/visualizing-crossbeam-epoch-based-reclamation/
1•sofiabelenlopez•5m ago•0 comments

900-Page Pre-Pantone Guide to Color from 1692 (With Complete High-Res Scan)

https://www.openculture.com/2026/10/a-900-page-pre-pantone-guide-to-color-from-1692.html
2•mdp2021•15m ago•0 comments

Show HN: I made an AI free version of my directory of open-source alternatives

https://noai.openaltfinder.com/
2•woutr_be•18m ago•0 comments

The Role of Nuclear in the Energy Transition: Complementary but Limited

https://www.energy-transitions.org/publications/nuclear-in-the-energy-transition/
1•ZeroGravitas•20m ago•0 comments

I posted 100 tiktoks as introverted engineer

1•weekendViper•21m ago•0 comments

X Once Again Marks the Spot

https://daringfireball.net/2026/10/x_once_again_marks_the_spot
1•tosh•22m ago•0 comments

Fake reviews on the Google Play store

1•lo0dot0•23m ago•0 comments

Ask HN: What desk chair would you recommend for a home office?

1•ap11071•23m ago•1 comments

Slop City

https://slopcity.org/
2•logn•23m ago•0 comments

Show HN: Test UI Hypotheses for Mobile Paywalls

https://onlang.io/login?next=%2Fapp
3•sovkov•26m ago•0 comments

Building my own expense tracker

https://sungatae.com/posts/building-my-own-expense-tracker/
1•visujosh•27m ago•0 comments

Catch a Bird – I made it for my own sanity

https://catchabird.com
1•eduardsik•29m ago•0 comments

Heldearly

https://heldearly.com
1•sarcfd•31m ago•0 comments

Whacky Japanese moving keyboard may be the future or not

https://www.t3.com/tech/computers-pcs/this-whacky-japanese-moving-keyboard-may-be-the-future-or-not
1•mushstory•33m ago•0 comments

DraftKings Says It Doesn't Want Problem Gamblers. I Bet $22K to find out [video]

https://www.youtube.com/watch?v=l8IyGjdY1sg
2•xbmcuser•34m ago•0 comments

Trump Mobile hack and apparent lack of FCC authorization raise security alarms

https://arstechnica.com/tech-policy/2026/10/trump-mobile-doesnt-seem-to-have-fcc-authorization-fo...
3•rbanffy•35m ago•0 comments

Ask HN: How are you handling auth token storage in React Native in 2026?

1•smichloe01•35m ago•0 comments

Leading Chinese mathematicians unite behind use of AI in research

https://www.scmp.com/news/china/science/article/3370492/leading-chinese-mathematicians-unite-behi...
2•ChickeNES•35m ago•0 comments

Videopowers – A factory plugin for making YouTube videos with Claude Code

https://github.com/vinit-agr/videopowers
2•vinitagr•37m ago•0 comments

EU-Compliant Mobile App Paywalls

https://onlang.io/
4•sovkov•38m ago•0 comments

Interpreter spill stack on the process stack

https://xnacly.me/posts/2026/keeping-interpreter-stack-on-thread-stack/
1•xnacly•38m ago•0 comments

Show HN: ClueCDC – Open-Source UI for Managing Debezium and Kafka CDC Pipelines

https://github.com/cluedata/cluecdc
1•khanhvlq•43m ago•0 comments

Fable Took My Job

https://cendyne.dev/posts/2026-10-11-fable-took-my-jorb.html
13•jllyhill•49m ago•0 comments

Best Free AI Tools 2026: 7 Worth Using and Their Real Limits

https://thetechboom.com/2026/09/05/best-free-ai-tools-2026/
1•ninyeh•50m ago•0 comments

DocToolchain

https://doctoolchain.org/docToolchain/v2.0.x/index.html
1•saikatsg•52m ago•0 comments

What is your seafood eating? Investigation traces problems in global feed supply

https://www.cbc.ca/news/world/outlaw-ocean-fishmeal-9.7312543
3•rdmuser•56m ago•0 comments

A loophole in Canada's species-at-risk law can leave wildlife in limbo

https://www.cbc.ca/news/canada/legal-loophole-undermining-species-at-risk-act-9.7368066
2•rdmuser•58m ago•1 comments