frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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!

Programming Your Own Modern BBS with Python

https://retrogamecoders.com/programming-bbs-with-python/
1•ibobev•26s ago•0 comments

ONNX Based Generative AI LLMs in Java with Project Babylon by Adam Sotona [video]

https://www.youtube.com/watch?v=fJwKvE2AxIo
1•zikani_03•1m ago•0 comments

The Search for Meaning Through Collaboration and Code

https://clojurecivitas.github.io/civitas/why/village/scene.html
1•todsacerdoti•1m ago•0 comments

Ardour 9.0 Released

https://ardour.org/whatsnew.html
1•PaulDavisThe1st•4m ago•0 comments

In 2024, 51% of online activity came from bots

https://www.euractiv.com/opinion/humans-are-now-the-minority-online/
1•ATechGuy•5m ago•0 comments

Times New Resistance

https://www.abbyhaddican.com/times-new-resistance
2•headalgorithm•6m ago•0 comments

LLatte: Scalable Transformers for Ads at Meta

https://twitter.com/fb_engineering/status/2019440354840154554
2•LatteMetaAI•7m ago•1 comments

Anthropic's Claude Opus 4.6 uncovers 500 zero-day flaws in open-source code

https://www.axios.com/2026/02/05/anthropic-claude-opus-46-software-hunting
2•speckx•9m ago•0 comments

All Laws Are Local

https://pluralistic.net/2026/02/05/contingency/
1•hn_acker•11m ago•1 comments

Psychometric Jailbreaks Reveal Internal Conflict in Frontier Models

https://arxiv.org/abs/2512.04124
2•toomuchtodo•13m ago•2 comments

"You're Not Going to Investigate a Federal Officer"

https://www.propublica.org/article/why-local-state-police-rarely-investigate-ice-cbp-fbi
2•hn_acker•15m ago•0 comments

Show HN: AgentVM – Safe, Sandboxed Linux VM for OpenClaw and AI Agents

https://agentvm.deepclause.ai/
2•phunterlau•16m ago•1 comments

Brain Dumps as a Literary Form

https://davegriffith.substack.com/p/brain-dumps-as-a-literary-form
1•dxs•17m ago•0 comments

A small, shared skill library by builders, for builders. (human and agent)

https://github.com/PsiACE/skills
2•recrush•17m ago•0 comments

Show HN: PyDesigner – Visual GUI Builder for Tkinter, PyQt5, and CustomTkinter

https://pydesigner.qzz.io
1•harshitshah•17m ago•0 comments

Show HN: VoxPaste – Fast voice-to-text CLI for dictating to Claude/Cursor

https://github.com/felixbrock/voxpaste
1•brockmeier•19m ago•0 comments

Ultravox's Breakthrough Voice AI Benchmark [video]

https://www.youtube.com/watch?v=Z7l4w9RTQ_0
1•underfox•19m ago•0 comments

The Wyden Siren: Senator's Cryptic CIA Letter Pattern Has Never Been Wrong

https://www.techdirt.com/2026/02/05/the-wyden-siren-senators-cryptic-cia-letter-follows-a-pattern...
3•hn_acker•20m ago•2 comments

Drone-Enabled Non-Invasive Ultrasound Method for Rodent Deterrence

https://www.mdpi.com/2504-446X/10/2/84
1•PaulHoule•20m ago•0 comments

Show HN: LobsterLair – Managed hosting for OpenClaw AI agents

https://lobsterlair.xyz/
1•tobi_bsf•20m ago•0 comments

The list of best agentic browsers and extensions

1•pramatosh•22m ago•0 comments

The list of best agentic browsers and extensions

1•pramatosh•22m ago•0 comments

Show HN: Why it's hard to know which deployment caused a production incident

https://github.com/BytePeaks/valiant
1•veinar_gh•22m ago•0 comments

Generative Modeling via Drifting

https://lambertae.github.io/projects/drifting/
1•E-Reverance•25m ago•0 comments

US job cuts surge to highest January total since 2009

https://www.ft.com/content/378fb2e9-6575-4da2-9769-13cf6bc499ad
4•hmmmmmmmmmmmmmm•25m ago•0 comments

Show HN: Haystack Review – Have a conversation with your pull request

https://tryhaystack.dev/
1•akshaysg•26m ago•0 comments

GPT-5.3-Codex

https://openai.com/index/introducing-gpt-5-3-codex/
165•meetpateltech•26m ago•38 comments

An Open Letter to Amazon / Audible

https://medium.com/@dbock/an-open-letter-to-amazon-audible-f75aad4c9d5e
1•loudouncodes•26m ago•1 comments

Eniac Day Celebration

https://www.helicoptermuseum.org/event-details/eniac-day-celebration
1•jwstarr•27m ago•0 comments

I work with AI for a living. This marketing ploy is repugnant

https://www.washingtonpost.com/opinions/2026/02/05/moltbook-anthropic-ai-consciousness-marketing/
4•martey•30m ago•2 comments