frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•8mo 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: The Friend Zone, a curated list of web games to play with friends

https://friendzone.games/
1•johnsillings•2m ago•1 comments

BAML is a domain-specific language to generate structured outputs from LLMs

https://docs.boundaryml.com/home
2•tosh•4m ago•0 comments

Earth is warming faster. Scientists are closing in on why

https://www.economist.com/science-and-technology/2024/12/16/earth-is-warming-faster-scientists-ar...
2•andsoitis•7m ago•0 comments

It's ridiculously fun to evolve flies to find food

https://claude.ai/public/artifacts/8f39482c-b2c7-4bd6-8d47-41bc7b678b7e
1•logicallee•10m ago•1 comments

Something Happens When You Straighten the Cursor [video]

https://www.youtube.com/watch?v=8cjLa5aOmsM
1•vinhnx•12m ago•0 comments

For me, Hacker News is probably the best community on the internet

6•DenisDolya•14m ago•0 comments

Aionui – Unified desktop workspace for multiple CLI AI agents

https://github.com/iOfficeAI/AionUi
1•testycool•16m ago•0 comments

Show HN: MindFry – A database engine that implements biological memory decay

1•laphilosophia•16m ago•0 comments

Second and Third Order Effects of Vibe Coding

https://www.enterprisevibecode.com/p/second-and-third-order-effects-of-vibe-coding
1•mlady•17m ago•1 comments

Show HN: Differentiable Quantum Chemistry

https://github.com/lowdanie/hartree-fock-solver
1•lowdanie•19m ago•0 comments

Trump's 'Free Speech' Presidency Has Racked Up 200 Censorship Attempts

https://www.techdirt.com/2026/01/16/trumps-free-speech-presidency-racked-up-200-censorship-attemp...
5•HotGarbage•19m ago•1 comments

Writers and Their Day Jobs

https://lithub.com/the-work-behind-the-writing-on-writers-and-their-day-jobs/
1•keiferski•20m ago•0 comments

OpenAI will start testing ads in ChatGPT free and Go tiers

https://twitter.com/OpenAI/status/2012223373489614951
2•jcfrei•21m ago•0 comments

Show HN: HORenderer3: A C++ software renderer implementing OpenGL 3.3 pipeline

https://github.com/Hobanghann/HORenderer3
2•zghdls•21m ago•0 comments

Dutch parcel deliverers (PostNL, DHL) shamed online raises privacy concerns

https://nltimes.nl/2026/01/16/dutch-parcel-deliverers-publicly-shamed-online-raising-privacy-conc...
3•giuliomagnifico•21m ago•0 comments

Looking for cofounder(s) in next‑gen memory (theory-driven and materials)

1•feynman_quantum•22m ago•0 comments

The Cruel, Conceited Follies of Trump's Foreign Policy: 2026 Edition

https://notesonliberty.com/2026/01/15/the-cruel-conceited-follies-of-trumps-foreign-policy-2026-e...
4•brandonlc•23m ago•0 comments

I'm building the finviz of prediction markers

https://www.polyviz.io/
1•mattmerrick•24m ago•0 comments

Show HN: What if your menu bar was a keyboard-controlled command center?

https://extrabar.app/
7•pugdogdev•24m ago•0 comments

Ask HN: Feedback on an open cognitive framework (design and structure)

1•DELTA-X•24m ago•0 comments

Independent fellowships for post‑PhD next‑gen memory research

1•feynman_quantum•25m ago•0 comments

I Stopped Reading Fiction and How I Found It Again

https://leroy.works/articles/why-i-stopped-reading-fiction-and-how-i-found-it-again/
1•leroy-is-here•25m ago•0 comments

2025 was the third hottest year on record

https://www.economist.com/science-and-technology/2026/01/14/2025-was-the-third-hottest-year-on-re...
11•andsoitis•26m ago•2 comments

Bethesda's former Elder Scrolls loremaster on why he left

https://www.pcgamer.com/games/the-elder-scrolls/bethesdas-former-elder-scrolls-loremaster-on-why-...
2•cainxinth•27m ago•0 comments

Show HN: Open-source AI workflows for high converting social media videos

https://github.com/gptmarket/ai-workflows
1•tadasg•29m ago•0 comments

NATO members face tariffs increasing to 25% until Greenland purchase deal struck

https://www.cnbc.com/2026/01/17/trump-greenland-tariffs-nato.html
11•pseudolus•30m ago•1 comments

Dagwood Sandwich

https://en.wikipedia.org/wiki/Dagwood_sandwich
1•thunderbong•31m ago•0 comments

Claude Growing a Tomato Plant

https://autoncorp.com/biodome/
1•moebrowne•36m ago•0 comments

We Were Never Good Programmers

https://idiallo.com/blog/we-were-never-good-programmers
2•Brajeshwar•36m ago•0 comments

How to make a Blockbuster VHS sleeve for any movie

https://www.popsci.com/technology/how-to-make-blockbuster-sleeve/
2•Brajeshwar•36m ago•0 comments