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!

Why is software still built like billions don't exist?

1•yerushalayim•54s ago•0 comments

Is Polish Scrabble the most difficult in the world? [video]

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

Post-Agentic Code Forges

https://sluongng.substack.com/p/post-agentic-code-forges
1•todsacerdoti•1m ago•0 comments

In-memory analog computing for non-negative matrix factorization

https://www.nature.com/articles/s41467-026-68609-8
1•martinlaz•6m ago•0 comments

RT Superconductivity at 298K in Ternary LaScH System at High-Pressure Conditions

https://arxiv.org/abs/2510.01273
1•fluffybuns•8m ago•0 comments

Show HN: Waifu2x.live – Free AI image upscaler (2x/4x) & video generation

1•Nancy1230•8m ago•1 comments

Campaigner launches £1.5B legal action in UK against Apple over wallet's

https://www.theguardian.com/technology/2026/jan/23/campaigner-launches-legal-action-against-apple...
1•chrisjj•11m ago•1 comments

Anthropic: AI Is Transforming Jobs, Not Replacing Them

https://www.forbes.com/sites/anishasircar/2026/01/23/ai-is-transforming-jobs-not-replacing-them-a...
1•hochmartinez•11m ago•0 comments

AI Boosts Research Careers but Flattens Scientific Discovery

https://spectrum.ieee.org/ai-science-research-flattens-discovery
1•pseudolus•11m ago•0 comments

Google must face consumer antitrust lawsuit over search dominance,US judge rules

https://www.reuters.com/legal/government/google-must-face-consumer-antitrust-lawsuit-over-search-...
2•pseudolus•12m ago•0 comments

Do We Still Need Tech Blogs in the Era of GenAI?

https://blog.mrcroxx.com/posts/do-we-still-need-tech-blogs-in-the-era-of-gen-ai/
1•MrCroxx•13m ago•0 comments

Show HN: Simple esp-idf and esp-matter version manager

https://github.com/matterizelabs/espvm
1•abu-matterize•15m ago•0 comments

Booting a PC from a Vinyl Record

https://boginjr.com/it/sw/dev/vinyl-boot/
1•yesturi•15m ago•0 comments

Show HN: Kite – lightweight production-ready agentic AI framework with Ollama

https://github.com/thienzz/Kite
1•thienzz•17m ago•1 comments

Resisting the Rule of the Rich: Protecting Freedom from Billionaire Power

https://www.oxfamamerica.org/explore/research-publications/resisting-the-rule-of-the-rich/
1•decimalenough•17m ago•0 comments

Show HN: OPC Skills – 9 AI agent skills for solopreneurs (Claude Code, Cursor)

https://opc.dev/
1•Zephyr0x•18m ago•0 comments

Sonic Booms and Seismic Waves Can Reveal Where Space Junk Crash-Lands

https://www.nytimes.com/2026/01/22/science/space-junk-seismographs.html
1•_____k•22m ago•0 comments

The Rise and Impending Fall of the Dental Cavity

https://www.cremieux.xyz/p/the-rise-and-impending-fall-of-the
1•MrBuddyCasino•22m ago•0 comments

China's analogue AI chip runs 12x as fast on 1/200 the energy of digital rivals

https://www.scmp.com/news/china/science/article/3340939/chinas-analogue-ai-chip-runs-12-times-fas...
2•martinlaz•26m ago•0 comments

Who use chatbots for news consider them unbiased and "good enough"

https://www.niemanlab.org/2026/01/people-who-use-chatbots-for-news-consider-them-unbiased-and-goo...
1•giuliomagnifico•27m ago•0 comments

Indoor Mapping – OpenStreetMap Wiki

https://wiki.openstreetmap.org/wiki/Indoor_Mapping
4•marklit•29m ago•1 comments

Post-Quantum Cryptography

https://en.wikipedia.org/wiki/Post-quantum_cryptography
1•aggrrrh•31m ago•0 comments

Testing AI orchestrated cyber attacks in practice

https://blog.fraktal.fi/testing-ai-orchestrated-attacks-in-practice-12f8fb03191e
1•tmakkonen•40m ago•0 comments

Downloading a Podcast to Create an Audiobook

https://kevinboone.me/clh_podcast_to_audiobook.html
1•LaSombra•41m ago•0 comments

Why I Don't Have Fun With Claude Code

https://brennan.io/2026/01/23/claude-code/
3•ingve•42m ago•0 comments

Why digital signatures break on structured healthcare data

https://formidable.care/articles/understanding-the-identity-integrity-gap-in-digital-signing
1•vincentxplore•44m ago•0 comments

Roleplayers

1•shoman3003•44m ago•0 comments

Faster Loading for GitHub Issues

https://github.blog/changelog/2026-01-22-faster-loading-for-github-issues/
2•ramon156•46m ago•0 comments

Web-SQLite-JS allows for the persistence of relational data on web clients [video]

https://www.youtube.com/watch?v=ZHYDv4GPprU
1•wuchuheng•50m ago•0 comments

Ask HN: Which paid apps and services do you use?

4•chistev•55m ago•0 comments