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!

Raindrop-Powered Generator Using Carbon Fiber Composites

https://en.sedaily.com/technology/2025/12/15/unist-develops-raindrop-powered-generator-using-carbon
1•giuliomagnifico•1m ago•0 comments

My Vibe Coded Projects in 2025

https://blog.nawaz.org/posts/2025/Dec/my-vibe-coded-projects-in-2025/
2•BeetleB•2m ago•0 comments

Trust Wallet Browser Extension v2.68 Incident: An Update to Our Community

https://trustwallet.com/blog/announcements/trust-wallet-browser-extension-v268-incident-community...
1•addams•2m ago•0 comments

'Commuting Is Bad'–Particularly for Women

https://www.theatlantic.com/family/2025/12/commute-gender-wage-gap-mothers/685265/
2•zeroonetwothree•6m ago•0 comments

'This will be a stressful job' Altman offers $555k salary for daunting AI role

https://www.theguardian.com/technology/2025/dec/29/sam-altman-openai-job-search-ai-harms
3•gmays•6m ago•2 comments

Ask HN: Does reading HN make you happy?

3•yakattak•6m ago•0 comments

Local AI Needs to Become the Norm

https://unix.foo/posts/local-ai-needs-to-be-norm/
3•cylo•8m ago•0 comments

Developing an AI Data Center

1•venuur•10m ago•1 comments

Toro: Deploy Applications as Unikernels

https://github.com/torokernel/torokernel
4•ignoramous•11m ago•0 comments

Show HN: Property Profit Scanner – AI analysis for real estate listings

https://propertyprofitscanner.com/
1•todaycompanies•11m ago•0 comments

Building a collaborative real-time content editor

https://timokuehne.com/articles/collaborative-real-time-content-editor
1•tnkuehne•13m ago•0 comments

Django on the Med: A Contributor Sprint Retrospective

https://www.paulox.net/2025/12/30/django-on-the-med-a-contributor-sprint-retrospective/
1•pauloxnet•13m ago•1 comments

Show HN: Solo trader built algo trading platform via AI – no dev experience

https://www.depthsight.pro/
1•DepthSight•13m ago•0 comments

Show HN: Wealth Gap Calculator (Salary vs. Billionaires)

https://wealthgap.lovable.app/
1•ardakaan•13m ago•1 comments

Show HN: Enact – A package manager for AI agent tools

https://enact.tools
1•keithgroves•13m ago•0 comments

I've Never Seen a USB-C Charger This Good [video]

https://www.youtube.com/watch?v=1jAeEPHvDyA
1•ksec•14m ago•0 comments

Growing Up in "404 Not Found" (Part II): The Vanishing Nuclear City

https://substack.com/home/post/p-182824207
1•clacker-o-matic•16m ago•0 comments

Apache Kafka 2025 Wrapped

https://blog.2minutestreaming.com/p/apache-kafka-2025-recap
3•mesto1•17m ago•1 comments

Assessing Public Support for Degrowth

https://www.thelancet.com/journals/lanplh/article/PIIS2542-5196(25)00204-9/fulltext
1•PaulHoule•17m ago•0 comments

Square Face Generator – A Cute Square Face Icon Maker

https://www.squarefacegenerators.com/
1•zittur•17m ago•0 comments

Show HN: Squirreling: a browser-native SQL engine

https://blog.hyperparam.app/squirreling-new-sql-engine-for-web/
1•platypii•17m ago•0 comments

There are broadly two ways people think about AGI and labour

https://twitter.com/sebkrier/status/2005424424254673263
1•cjbarber•18m ago•0 comments

PostNord, Denmark's Main Postal Carrier, Ends Letter Delivery

https://www.nytimes.com/2025/12/30/world/europe/denmark-letter-delivery-postnord-mailboxes.html
2•donohoe•18m ago•1 comments

Show HN: Hacker Book – All the HN Belong to You 2006 – 2025

https://hackerbook.dosaygo.com
1•keepamovin•19m ago•1 comments

SoftBank has completed its $40B investment in OpenAI, CNBC reports

https://www.reuters.com/business/media-telecom/softbank-has-fully-funded-its-40-billion-investmen...
2•ent101•19m ago•0 comments

German Aerospace Engineer Becomes First Wheelchair User to Go to Space

https://mymodernmet.com/first-wheelchairuser-in-space/
1•bookofjoe•20m ago•0 comments

Tamiko Thiel posting a new project emulating ELI5-like Feynman Lectures

https://www.youtube.com/channel/UCZ28Mdx-ewGW1Cvdg3kbs_g
2•killjoywashere•21m ago•2 comments

On Legal AI in 2025

https://theredline.versionstory.com/p/why-cant-43b-in-legal-ai-investment
1•jpbryan•22m ago•0 comments

Meta Buys AI Startup Manus for More Than $2B

https://www.wsj.com/tech/ai/meta-buys-ai-startup-manus-adding-millions-of-paying-users-f1dc7ef8
1•fortran77•24m ago•2 comments

Show HN: Image Gen – 10 AI image providers unified in one Claude Code plugin

https://shipdeckai.github.io/image-gen/
2•merlinrabens•26m ago•1 comments