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!

Moving at the Speed of Light

https://write.ianwsperber.com/p/moving-at-the-speed-of-light
1•MrOrelliOReilly•5m ago•0 comments

Why does the arrow (->) operator in C exist?

https://stackoverflow.com/questions/13366083/why-does-the-arrow-operator-in-c-exist/13366168#1336...
1•theanonymousone•5m ago•0 comments

Gigacity: Every tower, car and light grown from one seed

https://sael.net/gigacity/
1•memalign•8m ago•0 comments

Web Search API for exhaustive list building

https://eniac.floworks.ai
1•sudiptabiswas22•12m ago•1 comments

VSCode silently switches to Microsoft models, ignoring BYO agent configuration

https://github.com/microsoft/vscode/issues/340651
3•apatheticonion•16m ago•1 comments

DHS plans to charge international students $70k for work authorization

https://www.reuters.com/legal/government/trump-administration-plans-charge-international-students...
3•beisner•18m ago•0 comments

Scientists Spotted a Giant New Species in the Background of an Instagram Selfie

https://gizmodo.com/someone-posted-an-instagram-selfie-scientists-spotted-a-giant-new-species-in-...
1•gumby•20m ago•0 comments

2026 State of PQC on the Web

https://www.f5.com/labs/articles/2026-state-of-pqc-on-the-web
1•msgchainhq•24m ago•0 comments

AI model can reconstruct images from your brain

https://petapixel.com/2026/10/07/fastest-ever-mind-reading-ai-model-can-reconstruct-images-from-y...
3•antman•25m ago•0 comments

Build live dashboards and animate explainers with Claude

https://claude.com/resources/articles/dashboards-and-motion
2•matheussampaio•31m ago•1 comments

Cybernetics of AI Companies

https://ai-cybernetics.grok.me
2•measurablefunc•31m ago•0 comments

Show HN: Woodpecker – a browser agent built with Pi and user scripts

5•tyr034•33m ago•0 comments

Per-task model routing for native Codex

https://github.com/cybrking/modelrudder
1•tfelder•33m ago•0 comments

WebTorrent Broadcasting / ebubbl / web 3.1

https://ebubbl.com/neighborhoods/bubbles/neighborhood-gallery?neighborhoodId=6ac2b8618881aa4e5deb...
1•bc3mc2•34m ago•1 comments

Every Plaform is Hitler: mourning friendships lost

https://aria.dog/barks/every-platform-is-hitler/
2•xeonmc•34m ago•1 comments

Has software development become less fun?

https://ankit-m.github.io/blog/has-software-dev-become-less-fun/
1•ankit_m•45m ago•1 comments

What Ails Nike

https://finshots.in/archive/what-ails-nike/
1•vismit2000•46m ago•0 comments

AI Film Submmitted for Best Animated Feature Oscar

https://twitter.com/fableshowrunner/status/2107522071647731768
3•soltanov•48m ago•2 comments

Anthropic launching 'presidential engagement' effort ahead of 2028 election

https://fortune.com/2026/10/08/anthropic-presidential-engagement-program-hiring-political-lead-20...
2•ilreb•48m ago•1 comments

OuroWorld: Animated 3D worlds that loop forever, explorable in the browser

https://ouroworld.userwei.com/
2•ilreb•52m ago•0 comments

Metal Driver for Nvidia GeForce RTX Cards on macOS 15 Sequoia on Intel Macs

https://github.com/nullmoth/nvidia-macos-driver
3•rvz•56m ago•0 comments

Parable of the Broken Window

https://en.wikipedia.org/wiki/Parable_of_the_broken_window
1•suopspaces•58m ago•0 comments

Public will be able to watch Fort Hood shooter's execution, Hegseth says

https://www.usatoday.com/story/news/crime/2026/10/08/nidal-hasan-execution-public-firing-squad/92...
5•mraniki•58m ago•0 comments

OpenAI used AI to write email warning Australian government AI had hacked

https://www.theguardian.com/australia-news/2026/oct/08/openai-used-ai-to-help-write-email-warning...
1•sbulaev•1h ago•0 comments

Show HN: MindMesh – An AI workspace that prioritizes your work

https://www.mindmesh.global/
1•mindmesh•1h ago•0 comments

Collecting Favours

https://sunilpai.dev/posts/collecting-favours/
1•shraddhaag•1h ago•0 comments

Show HN: Excali-mode

https://github.com/yibie/excali-mode
3•oliverchan2024•1h ago•0 comments

Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes

https://hangul.ink/blog/hangul-day
3•jbaudanza•1h ago•0 comments

3D FPS game demo with photorealistic rendering, by Opus 5.5

https://github.com/cktang88/3d-fps
1•383toast•1h ago•1 comments

Open Source Drone Simulator

https://github.com/vishwagw/Sky-Sim-drone-simulator-3.0
2•vishwagw98•1h ago•2 comments