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!

Moonlab – Quantum Computing Simulator

https://tsotchke.github.io/moonlab/
1•gnarbarian•1m ago•0 comments

Bye bye, bear: beast living 'rent-free' under California home has been removed

https://www.theguardian.com/us-news/2026/jan/09/bear-under-california-home-evicted
1•PaulHoule•8m ago•0 comments

Image Generation (Experimental)

https://ollama.com/blog/image-generation
1•jakobdabo•11m ago•0 comments

How the Atlas Network is shaping your life, even if you've never heard of it

https://www.abc.net.au/news/2026-01-26/atlas-network-mont-pelerin-society-neoliberal-think-tanks/...
1•MrVandemar•11m ago•0 comments

Screen Time Hurts Kids' Cognitive Development [video]

https://www.youtube.com/watch?v=Fd-_VDYit3U
1•simonebrunozzi•12m ago•0 comments

TikTok Privacy Policy

https://www.tiktok.com/legal/page/us/privacy-policy/en
2•doener•13m ago•0 comments

Show HN: AIs read an article about their structural limits

https://github.com/moketchups/BoundedSystemsTheory
1•BoundedSystems•13m ago•0 comments

Gauzilla Pro: Web-Native Gaussian Splatting for 4D Digital Twins

https://www.webgpu.com/showcase/gauzilla-rust-gaussian-splatting-digital-twins/
1•smusamashah•16m ago•0 comments

Nearly 400Maires and billionaires call for higher taxes on super-rich

https://www.theguardian.com/business/2026/jan/21/millionaires-billionaires-taxes-super-rich-mark-...
2•ohjeez•18m ago•1 comments

Is ChatGPT Your Friend or Enemy: You Decide

https://shielddigitaldesign.com/posts/2026/ai/
1•stn8188•18m ago•1 comments

Show HN: Design constraints from Top Companies as AI agent skills

https://github.com/ihlamury/design-skills
1•ihlamury•21m ago•1 comments

Almost a quarter of UK GPS are seeing obese children aged four and under

https://www.theguardian.com/society/2026/jan/25/uk-gp-obese-children-research
1•paulpauper•21m ago•1 comments

The nostalgia factory that's made millions flipping old Polaroids

https://thehustle.co/originals/the-nostalgia-factory-thats-made-millions-flipping-old-polaroids
1•paulpauper•22m ago•2 comments

Banjo: Recompiled – Native PC Port of N64 Banjo-Kazooie via Static Recompilation

https://github.com/BanjoRecomp/BanjoRecomp
2•sammyteee•24m ago•0 comments

How I Got a Job at DeepMind as a Research Engineer (Without a ML Degree)

https://gordicaleksa.medium.com/how-i-got-a-job-at-deepmind-as-a-research-engineer-without-a-mach...
1•halcdev•26m ago•0 comments

Don't update to HyperOS 3 until you check these settings

https://xiaomitime.com/stop-dont-update-to-hyperos-3-yet-warning-for-fake-rom-users-84416/
1•sdoering•26m ago•0 comments

The one and only codebase I'm ever going to keep working on

https://arjonagelhout.nl/writings/2026-01-25_the_one_and_only_codebase/
2•arjonagelhout•36m ago•0 comments

From Narrative Authority to Verifiable Science

1•dpforesi•37m ago•0 comments

Show HN: A small programming language where everything is a value

https://github.com/Jcparkyn/herd
2•jcparkyn•37m ago•0 comments

Fibre integrated circuits by a multilayered spiral architecture

https://www.nature.com/articles/s41586-025-09974-0
2•teleforce•38m ago•1 comments

Quantum Machine Learning Is Emerging as a Practical Tool for Drug Discovery

https://thequantuminsider.com/2026/01/21/quantum-machine-learning-is-emerging-as-a-practical-tool...
1•brandonb•40m ago•0 comments

Structured methodology for AI-assisted development

https://emanuelcasco.vercel.app/blog/structured-methodology-for-ai
2•gtirloni•41m ago•0 comments

Inna Vishik on X: "Towards room temperature superconductivity" / X

https://twitter.com/InnaVishik/status/2015507327341002857
1•bilsbie•42m ago•0 comments

Show HN: Meru OS – The First Sovereign AI Stack (<2MB, CPU-Native)

1•akulasairohit•42m ago•0 comments

The Professionalization of Cryptology in Sixteenth-Century Venice (2018) [pdf]

https://gwern.net/doc/cs/cryptography/2018-iordanou.pdf
1•simonebrunozzi•43m ago•0 comments

"Sanae Takaichi" 32 times in Unification Church's 3200-page secret document

https://news.yahoo.co.jp/articles/04556a31f6c41b00897854312d6ad1fa46516a13
2•wahnfrieden•44m ago•1 comments

The Future of Programming (2023)

https://signalsandthreads.com/future-of-programming/
1•oumua_don17•44m ago•0 comments

Show HN: I built an app that blocks social media until you read Quran daily

7•kalyfacloud•47m ago•4 comments

Show HN: Simple random access archive format with no compression

https://github.com/sorvi-platform/sra-archive
1•Cloudef•50m ago•1 comments

DDD was a great debugger – what would a modern equivalent look like today?

3•manux81•50m ago•3 comments