frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•10mo 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!

Tax credits for solar panels are available, but the catch is you can't own them

https://www.npr.org/2026/02/20/nx-s1-5649474/solar-panel-tax-credit
1•toomuchtodo•53s ago•0 comments

Show HN: ShouldISwap – Compare crypto pair rates against historical averages

https://shouldiswap.com/
1•Herbyg•59s ago•0 comments

We Are the One and Only You

https://onefoottsunami.com/2026/02/25/we-are-the-one-and-only-you/
1•zdw•1m ago•0 comments

Dwitter Beta – Creative coding in 140 characters

https://korben.info/dwitter-beta-creative-coding-javascript.html
1•KilledByAPixel•1m ago•0 comments

Ghostly UV sparks light up forests as thunderstorms pass overhead

https://www.scientificamerican.com/article/ghostly-uv-sparks-light-up-forests-as-thunderstorms-pa...
1•mudil•2m ago•0 comments

Tell HN: I launched a focus app on Kickstarter – what I learned about friction

1•artzev_•3m ago•0 comments

CHERIoT Rust: Status update #0

https://rust.cheriot.org/2026/02/15/status-update.html
1•remexre•5m ago•0 comments

The CHIPS Act Spends $52.7B on Fabs but $0 on Defending Them from Ransomware

https://thehgtech.com/articles/semiconductor-ransomware-chips-act-2026.html
1•thehgtech•6m ago•0 comments

Show HN: Dance of Tal V2 – Dependency injection and lockfiles for AI agents

https://github.com/dance-of-tal/dance-of-tal
1•monarchjuno•6m ago•1 comments

Trump made tax day more complicated. ChatGPT and Claude can make it easier

https://www.vox.com/life/480317/trump-taxes-chatgpt-claude-turbotax
1•speckx•6m ago•0 comments

Turning a 2 ton robot into a 3D printer [video]

https://www.youtube.com/watch?v=peY_KK_nGc8
1•rmast•6m ago•0 comments

Show HN: Nosh – Fast native shell with built-in AI (natural language commands)

https://github.com/TryNosh/nosh
1•pouya-eghbali•7m ago•0 comments

"A file is an app" – Selfware, a unified file format for the Agent eramory)

https://github.com/floatboatai/selfware.md
2•floatboat•7m ago•1 comments

Show HN: Read the Room, a FOSS human bioindicator

1•soudk•8m ago•0 comments

Who will regulate Elon Musk and China's data centers in space?

https://restofworld.org/2026/orbital-data-centers-ai-sovereignty/
1•vinhnx•8m ago•0 comments

AncestorTree – Open-source genealogy for Vietnamese families

1•dttai•8m ago•0 comments

Retool silently removes self-hosted plans

https://community.retool.com/t/self-hosted-docs-now-state-enterprise-only/64586
2•assumptions•9m ago•0 comments

Was software a scarce commodity all along?

https://harmonique.one/posts/was-software-a-scarce-commodity-all-along
1•futurecat•9m ago•0 comments

Online Accusations in Guthrie Abduction Leave One Family 'Scared Numb'

https://www.nytimes.com/2026/02/25/us/nancy-guthrie-true-crime-accusations.html
1•duxup•11m ago•0 comments

AI Dev Tool Stack for 2026

https://qa.tech/blog/ai-dev-tool-stack-for-2026
2•Liriel•12m ago•1 comments

Show HN: Memograph CLI- A tool to diagnose 'memory failures' in AI agents

1•memograph•12m ago•1 comments

Show HN: Dola Seed 2.0 – AI video generator with multi-shot narrative control

https://dolaseed.site
1•yuni_aigc•12m ago•1 comments

Show HN: SeeVideo – Access Seedance 2.0 and Kling 3.0 without a subscription

https://seevideo.dance/
1•naxtsass•12m ago•0 comments

Jesse Jackson Paved the Way for a New US Left

https://jacobin.com/2026/02/jesse-jackson-death-left-sanders/
2•PaulHoule•13m ago•0 comments

We run 20M models in parallel on Ray

https://mixpeek.com/blog/ray-distributed-ml-pipeline-architecture
1•Beefin•13m ago•1 comments

HTP

1•MiachelC•13m ago•0 comments

Ask HN: What if your LLM violates a patent?

1•VikingCoder•13m ago•0 comments

When access to knowledge is no longer the limitation

https://idiallo.com/blog/access-to-knowledge-is-no-longer-a-limitation
1•Brajeshwar•14m ago•0 comments

The Absolute Insider Mess of Prediction Markets

https://philippdubach.com/posts/the-absolute-insider-mess-of-prediction-markets/
1•Brajeshwar•14m ago•1 comments

Show HN: Tracking my bin (trash can)

https://timang.us/2026-02-16-bin-tracker/
1•tim_angus•14m ago•0 comments