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!

Post-Quantum Cryptography: Decoding the NSA's AI Warning

https://www.secureworld.io/industry-news/post-quantum-cryptography-nsa-ai-warning
1•lucamark•1s ago•0 comments

U.S. Agencies and Tech Giants Urge Cybersecurity Upgrades as A.I. Concerns Grow

https://www.nytimes.com/2026/12/03/us/cybersecurity-encryption-ai-nsa.html
1•doener•40s ago•0 comments

OpenEuroLLM, Prelude 9B base Model Card

https://huggingface.co/openeurollm/prelude-base
1•DerCommodore•1m ago•0 comments

Where China's Manufacturing Scale Helps Less

https://michaelhillaert1.substack.com/p/where-chinas-manufacturing-scale
1•michaelhillaert•2m ago•0 comments

Show HN: Flutter with Node.js with type-safe interface

https://github.com/AdityaJandu/rpc-dart
1•rearview•2m ago•0 comments

Cyborg bio-drones are made from actual living pigeons

https://newatlas.com/technology/neiry-cyborg-pigeons-camera-drones/
1•geox•2m ago•0 comments

Show HN: Echo – Survive your past (free browser game)

https://play-echo.com/
1•miniotta•3m ago•0 comments

I analyzed 2520 agent runs for what agents said vs. did

https://getbelay.dev/blog/said-vs-did/
2•allexsendev•6m ago•0 comments

JetKVM 0.5.11 is out: OS Services, MQTT macros and download from URL

https://jetkvm.com/changelog/jetkvm-0.5.11
1•thinkafterbef•6m ago•0 comments

Microbe, by Joan Slonczewski (1995)

https://www.davidmswitzer.com/slonczewski/microbe2.html
1•Eridanus2•7m ago•0 comments

GLM-5.4: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/glm-5-4
3•theanonymousone•7m ago•0 comments

PLC2Shell: Pre-Auth RCE in Codesys Control Runtime

https://plc2shell.com/en/plc2shell-vulnerability/
1•flashfabrixx•8m ago•1 comments

User Story Mapping Agents, Coding Is Solved – Food for Agile Thought 573

https://age-of-product.com/food-agile-thought-573-user-story-mapping-agents/
1•swolpers•9m ago•0 comments

Purpose-driven group spaces instead of an algorithmic feed: notes from Shimmy

https://www.shimmyapp.com/?_blog=shimmy-hn
1•elliot-crabtree•10m ago•0 comments

Show HN: Interactive Apps in Your Markdown Notes (EtherPK)

https://blog.etherpk.com/interactive-apps-in-your-markdown-notes
1•gb2d_hn•11m ago•0 comments

Trajectory plot for the Sarow, Russia (nuclear?) incident [pdf]

https://www.ready.noaa.gov/hypubout/trajplot_119809.pdf
2•oger•16m ago•1 comments

Anthropic data centre partner looks to raise $5B in first post-IPO deal

https://www.ft.com/content/e72636f9-7cc4-483f-b280-7244627dbb56
1•martaibanez•17m ago•0 comments

AI toys say or sexually explicit things to NBC News [video]

https://www.youtube.com/shorts/3qkTC-05PnQ
2•nxobject•28m ago•0 comments

Five dead after incident at Russian nuclear R&D centre, emergencies min. says

https://www.reuters.com/world/russian-nuclear-research-centre-reports-serious-incident-says-there...
5•gvieri•32m ago•0 comments

Building a Self-Hosted Chess Blunder Trainer

https://mrlokans.work/posts/building-self-hosted-chess-blunder-trainer/
1•romania1•33m ago•0 comments

DeepSeek May Limit Open-Source Releases Citing Safety Issues

https://www.bloomberg.com/news/articles/2026-12-03/deepseek-may-limit-open-source-releases-citing...
3•porridgeraisin•34m ago•0 comments

I can't type Hindustani into my terminal emulator, and that makes me sad

https://ankursethi.com/blog/terminal-emulators-complex-scripts/
1•birdculture•36m ago•0 comments

Face tracking without camera?"PiEEG XR," which map muscle activity to an avatar

https://metacul-frontier.com/?p=41240
1•rematosire•44m ago•0 comments

Toward a political revolution at the United Nations: the draft Framework Convent

https://thomaspiketty.wordpress.com/2026/11/24/toward-a-political-revolution-at-the-united-nations/
1•fanf2•46m ago•0 comments

Gorgeous award-winning wildflower photographs

https://amateurphotographer.com/latest/photo-news/gorgeous-award-winning-wildflower-photographs-s...
1•NordStreamYacht•47m ago•0 comments

Five dead in serious incident at Russian nuclear centre, officials say

https://www.bbc.com/news/articles/c8zx9325q13eo
6•s_weber•48m ago•1 comments

OpenTubeX is an open-source, highly customizable, privacy-focused YouTube client

https://github.com/OpenTubeX/OpenTubeX
2•hggh•49m ago•1 comments

Show HN: Semantic Function Diffs and Voice Chat About Your Diff

https://rex.mindmeld360.com/blog/review-pull-requests-from-your-session
1•tomerbd•51m ago•0 comments

Brain LLM

https://mind.sabi.com/
2•bananaflag•53m ago•2 comments

Computed Permutation Trellis Coding (CPTC): Near-Optimal Quantization

https://arxiv.org/abs/2611.22019
1•peter_d_sherman•54m ago•0 comments