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!

Konami Code

https://craigatallahfrost.com/post/2025/12/23/konami-code
1•herbertl•1m ago•0 comments

Laid Off After 25 Years in Tech [video]

https://www.youtube.com/watch?v=VeMA9WGKxOg
1•akhilnchauhan•2m ago•0 comments

Affiliarena Kickstart Challenge – Mehr Verdienen ALS Online Marketer

https://simon-veith.net/jetzt-geht-es-los-mit-der-ki-revolution/affiliarena-kickstart-challenge-m...
1•hellocosmetics•2m ago•0 comments

Chess960v2 – the first championship has officially started

https://chess960v2.com/en
1•lavren1974•2m ago•0 comments

Metastable Failures and Interactions Between Systems

https://charap.co/on-metastable-failures-and-interactions-between-systems/
2•todsacerdoti•4m ago•0 comments

Apple's M-series chip 5 years later

https://www.tomsguide.com/computing/cpus/apples-m-series-chip-gamble-5-years-later-how-ditching-i...
2•AshleysBrain•4m ago•0 comments

Workflow Automation: Letting AI Write Workflow Code

https://blog.codesolvent.com/2025/12/workflow-automation-letting-ai-write.html
1•Edmond•6m ago•0 comments

Show HN: FYI - Product Events Tracking and Notifications for Elixir Phoenix Apps

https://github.com/chrisgreg/fyi
1•bustylasercanon•7m ago•0 comments

AI Village

https://theaidigest.org/village
2•kruipen•8m ago•0 comments

OpenStreetMap QA for Power Grids

https://apps.dynartio.com/mapyourgrid/gridinspector.html
2•protontypes•10m ago•0 comments

Ask HN: What problems do you have building / managing AI in production

1•zarathustra333•10m ago•0 comments

The most friendless place on Earth

https://www.economist.com/christmas-specials/2025/12/18/the-most-friendless-place-on-earth
1•andsoitis•10m ago•1 comments

FFmpeg has issued a DMCA takedown on GitHub

https://twitter.com/FFmpeg/status/2004599109559496984
4•merlindru•11m ago•1 comments

Have Anna's Archive Spotify scrape songs that have been pulled?

1•Tommix11•11m ago•0 comments

Why Your RAG Sucks: The Art and Science of Chunking and Hybrid Search

https://medium.com/beyond-bits/why-your-rag-sucks-the-art-and-science-of-chunking-and-hybrid-sear...
2•laxmansharma•16m ago•0 comments

Are you verifying that products are readable by AI shopping

2•David_0101•17m ago•0 comments

Vector Embeddings: AI Doesn't Understand Words. It Understands Math

https://medium.com/beyond-bits/a-deep-dive-into-vector-embeddings-ai-doesnt-understand-words-it-u...
2•laxmansharma•17m ago•0 comments

ICE's interest in high-tech gear raises new questions: 'What is it for?'

https://www.politico.com/news/2025/12/26/ice-high-tech-surveillance-lower-privacy-guardrails-0070...
15•standardUser•22m ago•3 comments

Show HN: I was tired of link shorteners, so I built Rediredge

https://leotrapani.com/blog/rediredge
2•trapani•24m ago•0 comments

Pg_textsearch: PostgreSQL extension for BM25 relevance-ranked full-text search

https://github.com/timescale/pg_textsearch
4•jascha_eng•26m ago•0 comments

Show HN: Motion controlled party games on the web

https://motionparty.net
3•oliwary•26m ago•0 comments

Debaite: Tool for multiple LLM models to refine ideas by arguing with each other

https://codeberg.org/viraptor/debaite
1•jv22222•28m ago•0 comments

A Proclamation Regarding the Restoration of the Em-Dash

https://blog.nawaz.org/posts/2025/Dec/a-proclamation-regarding-the-restoration-of-the-dash/
2•BeetleB•30m ago•3 comments

Show HN: Talent Scout – job matching and prep with an independent AI assessor

1•stephen-m-lee•30m ago•0 comments

Sooko.ai Launches AI Ecosysystem

https://www.sooko.ai/
1•Femiaguda•33m ago•1 comments

Show HN: QBridge, a clean, modern iOS alternative to Cordova and Capacitor

https://github.com/Qbix/QBridge/blob/main/README.md
1•EGreg•35m ago•1 comments

Paralysed man controls robots using China's BCI tech

https://scienceclock.com/china-brain-computer-interface-paralysed-man-controls-robots-neuralink/
1•ashishgupta2209•37m ago•0 comments

Show HN: Claudereview – Share Claude Code Sessions with PRs and More

https://claudereview.com/
1•eigen-vector•38m ago•1 comments

Pagebound is an independent Goodreads alternative

https://pagebound.co/
2•MajorBee•42m ago•0 comments

Deliberate Deliberation

1•Josf•43m ago•0 comments