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: Creating a website with client-side SQLite as back end (Zig and WASM)

https://github.com/chung-leong/zigar/wiki/Creating-website-backed-by-a-client-side-database
1•chungleong•2m ago•0 comments

Benchmark algorithms for resolving node overlaps in a flow

https://github.com/xyflow/node-collision-algorithms
1•moklick•2m ago•0 comments

Show HN: Free credit card eligibility checker for Indian – no login/PAN needed

https://creditplanner.in/eligibility-checker
1•rudrapratap2802•4m ago•0 comments

Fear is not AI advocacy

https://antonz.org/ai-advocacy/
1•blenderob•4m ago•0 comments

Cloud outages 2025: how global businesses survived blackouts

https://restofworld.org/2026/cloud-outages-2025-global-business-impact/
1•donohoe•5m ago•0 comments

Show HN: A tiny tool that creates short business snapshots

https://zippy-liger-ceaf10.netlify.app/
1•RafalPilla•5m ago•0 comments

The new weapons of European sovereignty (2025)

https://institutdelors.eu/en/publications/the-new-weapons-of-european-sovereignty/
1•robtherobber•5m ago•0 comments

Global Value of Music Copyright Hits New All-Time High

https://pivotaleconomics.com/undercurrents/music-copyright-2025
1•gHeadphone•6m ago•0 comments

Show HN: I built an app to understand what the news means

https://newsopia.streamlit.app
1•gahanlal•7m ago•0 comments

Xreal updates its entry-level personal cinema glasses at CES

https://www.engadget.com/wearables/xreal-updates-its-entry-level-personal-cinema-glasses-at-ces-1...
1•gardenerik•9m ago•0 comments

Show HN: DTAP Testing Protocol

1•melezhik•9m ago•0 comments

David Rosen, co-founder of Sega, has died

https://www.timeextension.com/news/2026/01/sega-co-founder-david-rosen-has-passed-away
1•carra•9m ago•0 comments

Didascal

https://didascal.com
1•zmiju•10m ago•0 comments

A modern guide to SQL JOINs

https://kb.databasedesignbook.com/posts/sql-joins/
1•birdculture•10m ago•0 comments

Journal-guardian: JournalCTL Watcher with local LLM explanations for errors

https://github.com/delirehberi/journal-guardian
1•todsacerdoti•12m ago•0 comments

AI and the Human Condition

https://stratechery.com/2026/ai-and-the-human-condition/
1•mertbio•12m ago•0 comments

Rate Limiting Bursty Workloads

https://jean-lopes.github.io/blog/rate-limiting-bursty-workloads.html
1•todsacerdoti•13m ago•0 comments

How I Taught My Neighbor to Keep the Volume Down

https://idiallo.com/blog/teaching-my-neighbor-to-keep-the-volume-down
1•jnord•14m ago•0 comments

Sneaking Metadata into Mako Templates

https://bobrubbens.nl/post/sneaking-metadata-into-mako-templates/
1•todsacerdoti•15m ago•0 comments

Samsung to double AI mobile devices to 800M units this year

https://www.reuters.com/world/china/samsung-double-mobile-devices-powered-by-googles-gemini-800-m...
1•gardenerik•16m ago•0 comments

Show HN: Reverse engineering and porting a C64 game with AI

https://github.com/s-macke/weltendaemmerung
1•s-macke•16m ago•0 comments

Working with Intelligent Motors in Robotics with FPGA

https://www.hackster.io/adam-taylor/intelligent-motor-control-15a332
1•signalhound•16m ago•0 comments

Show HN: Stb_XML – A 6KB XML parser that's 193× faster than libxml2

1•DenisDolya•16m ago•0 comments

The Simulation Gambit: A Game-Theoretic Argument for ASI Alignment

https://darayat.substack.com/p/why-asis-might-self-align-a-gambit
1•mentalmaths•18m ago•1 comments

Japanese Team Built a Precise Sensor. Might Help to Track Dark Matter

https://dailygalaxy.com/2026/01/precise-sensor-found-way-track-dark-matter/
1•thunderbong•19m ago•0 comments

FastHTML – Modern web applications in pure Python

https://www.fastht.ml/
1•tosh•20m ago•0 comments

'Fish Mouth' Filter Removes 99% of Microplastics from Laundry Waste

https://www.sciencealert.com/fish-mouth-filter-removes-99-of-microplastics-from-laundry-waste
1•smurda•20m ago•0 comments

Why Didn't AI "Join the Workforce" in 2025?

https://calnewport.com/why-didnt-ai-join-the-workforce-in-2025/
4•ingve•20m ago•0 comments

Proposed Space Station Could Be Deployed in a Single Launch

https://gizmodo.com/proposed-space-station-could-be-deployed-in-a-single-launch-2000701443
1•bookmtn•21m ago•0 comments

Show HN: I wrote 270-page guide on migrating from XLS to Python/SQL for analysts

https://spreadsheetsolver.com/ebook/
1•dataarchitect•23m ago•1 comments