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: Claude Code skills and hooks that prove a fix's test fails without it

https://github.com/ehnruiz/claude-skills
1•ehnruiz•4m ago•0 comments

USPS can now bill senders for unpaid foreign duties, even if disputed

https://www.federalregister.gov/documents/2026/10/19/2026-21310/customs-requirements-and-payment-...
1•QuietlyChanged•5m ago•0 comments

Dwarves on the Loose

https://a11ce.com/gigamuru-1.html
1•exolymph•6m ago•0 comments

Show HN: SiteSolide – Open-source cloud for small software

https://sitesolide.fr/
1•ClemDev2000•6m ago•0 comments

CoreWeave's bonds scream financial distress

https://www.ft.com/content/8171ef4a-b291-4375-bc85-87bee0f8bf7b
3•JumpCrisscross•8m ago•0 comments

Technocapitalist AI-Powered Blues

https://jamiesimon.io/blog/technocapitalist-ai-powered-blues/
1•d0able•8m ago•0 comments

Quizera – Create and deploy AI-assisted assessments in minutes

https://quizera.ai/
1•agsperry•11m ago•1 comments

OpenBSD 8.0 release will have inteldrm/radeondrm/amdgpu drivers from Linux 6.18

https://bsd.network/@brynet/117407035545900963
3•doener•12m ago•1 comments

Diablo 2 Survivors

https://d2survivors.lol/
2•bigwheels•13m ago•0 comments

California Rules Discourage Condo Construction

https://www.sanjoseinside.com/opinion/california-rules-discourage-condo-construction/
1•littlexsparkee•15m ago•0 comments

Putting Linux on my RTX spark laptop because I don't have a Microsoft account

https://josie.lol/blog/linux-rtx-spark
15•pfeifferj•16m ago•0 comments

Gravity and quantum information linked through a derivation of Einstein's equati

https://phys.org/news/2026-10-gravity-quantum-linked-derivation-einstein.html
2•newsoftheday•16m ago•1 comments

Terminal makrdown reader – feedback welcome

https://github.com/mainframev/bastian
1•mainframev•17m ago•0 comments

What Russia's doing to Ukraine is 'fine,' Trump says

https://kyivindependent.com/what-russias-doing-to-ukraine-is-fine-trump-says/
7•vrganj•21m ago•2 comments

UseRef in React: Refs vs. State, DOM Access and React 19

https://shramko.dev/blog/react-useref
1•almanname•22m ago•0 comments

Camp Century: History of Design, Construction, and Performance (1965) [pdf]

https://icedrill.org/sites/default/files/477706.pdf
1•fedecaccia•22m ago•0 comments

Making software is an artistic activity

https://kolemannix.com/blog/software-is-art/
2•birdculture•22m ago•0 comments

Paris Syndrome

https://en.wikipedia.org/wiki/Paris_syndrome
1•tetrisgm•23m ago•1 comments

The Role of Smart Software in Streamlining ATM Business Operations

https://smart.software/atm-business-solutions-with-smart-software/
1•YouTechBookmark•23m ago•0 comments

Scope: Open-source evaluation for AI coding agents

https://opensource.microsoft.com/blog/2026/10/19/introducing-scope-open-source-evaluation-for-ai-...
2•notfried•26m ago•0 comments

Show HN: Craig – A TUI for running parallel coding agents

https://craig-cli.com/
3•sammhall•27m ago•0 comments

Show HN: One-click AI PR review buttons (no API keys, no CI)

https://www.skills.sh/tdk-landscape/tdk-skills/tdk-pr-review-buttons
2•alexdykyi•28m ago•0 comments

Brace for Impact: Protecting People and the Economy When the AI Bubble Bursts

https://www.openmarketsinstitute.org/publications/report-brace-for-impact-protecting-people-and-t...
2•vatsachak•29m ago•0 comments

An interview with Paul Mockapetris, the creator of DNS [video]

https://www.youtube.com/watch?v=LT4iVeUoL18
1•SerCe•29m ago•0 comments

Show HN: Create commitments that only begin once enough people have signed up

https://groupcommit.org/
1•seaucre•31m ago•0 comments

Show HN: Flyingcar.pet – a physics simulation of Tesla's flying Roadster stunt

https://flyingcar.pet
1•closetheloopdev•33m ago•3 comments

We need a new employment model

https://keithbrown.com/new-model-for-employment
2•drewlem•33m ago•0 comments

Show HN: Built a starship bay of retro TV dioramas featuring music, 1950–2019

https://myretrotunes.com/
1•jojohack•33m ago•1 comments

Investigating Ephemeral Supply Chain Tampering

https://cloud.google.com/blog/topics/threat-intelligence/investigating-ephemeral-supply-chain-tam...
1•wondersky•34m ago•0 comments

One Hash Bloom Filters

https://calabro.io/ohbf
1•jcalabro•34m ago•0 comments