frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Meta ran ads for an app promising to nudify female politicians

https://arstechnica.com/ai/2026/08/meta-ran-ads-for-an-app-promising-to-nudify-female-politicians/
1•madihaa•1m ago•0 comments

Show HN: HRAG – Hybrid RAG on €116/month of Hetzner, officially benchmarked

https://hrag.app/
1•victor_edka•1m ago•0 comments

Show HN: Wholly.to helps you send people money with no/low fees

https://wholly.to/
1•8by3•1m ago•0 comments

The 6-Stage AI Infra Journey: Navigating the Three FinOps and Hardware Crises

https://acefleet.dev/blog/the-6-stage-ai-infrastructure-journey
1•flyingfishisme•1m ago•0 comments

Moderna shares surge as melanoma vaccine with Merck succeeds in large trial

https://www.cnn.com/2026/08/19/health/moderna-merck-mrna-melanoma-vaccine
1•jamarna•1m ago•0 comments

Data breach at shipping giant Ceva Logistics

https://techcrunch.com/2026/08/10/a-data-breach-at-shipping-giant-ceva-logistics-is-rippling-acro...
1•awalGarg•3m ago•1 comments

How Claude's Watermark Works

https://instavm.io/blog/how-claudes-watermark-works
1•mkagenius•4m ago•0 comments

OpenRouter Is Joining Stripe

https://openrouter.ai/blog/announcements/openrouter-is-joining-stripe/
1•rvz•4m ago•0 comments

$Tripe, the Singualrity Has Begun

https://www.axios.com/2026/08/19/stripe-payments-openrouter-singularity
1•Taikhoom10•6m ago•0 comments

Mana Hempcrete Walls

https://tasteofselfsufficiency.co.uk/2026/08/17/mana-hempcrete-walls/
1•speckx•8m ago•0 comments

Expired credit cards revived by researchers to make unauthorized payments

https://www.theregister.com/security/2026/08/18/expired-credit-cards-revived-by-researchers-to-ma...
2•joebuckwilliams•9m ago•0 comments

Show HN: Virtual Panoramas of the Cambrian

https://flyingspringrol.github.io/BloomEducation/palezoic/
1•aronowb14•10m ago•0 comments

The Intrinsic Valuation of Biodiversity Loss [pdf]

https://static1.squarespace.com/static/5b4b997eda02bc592b5131cd/t/6a6d97b71fab6c1175baf018/178556...
1•marojejian•10m ago•1 comments

Stripe Agrees to Acquire OpenRouter

https://stripe.com/newsroom/news/stripe-agrees-to-acquire-openrouter
4•mmcclure•11m ago•1 comments

The Open Source Maintenance Fee for Polly

https://thepollyproject.org/2026/07/14/polly-osmf-announcement.html
2•ngetchell•11m ago•0 comments

Show HN: Headless Terminal: skill for agents to use interactive TUI/CLI programs

https://www.skills.sh/montanaflynn/headless-terminal/headless-terminal
2•anonfunction•12m ago•0 comments

MX Records: The Untold Story of Email

https://blog.lacnic.net/en/story-of-email/
2•alvis•14m ago•0 comments

Analysis of 3,602 ChatGPT ads: advertisers appeared in answers 8% of the time

https://nile.app/blog/chatgpt-ads-paid-vs-recommended/
1•zhaoAI•15m ago•0 comments

The Archive in Between: Dreamer's Dale [video]

https://www.youtube.com/shorts/6ZeHnAbFdcs
2•akkartik•16m ago•0 comments

Maths Puzzle Endurance World Record [video]

https://www.youtube.com/watch?v=1L3JTmWRvsk
2•marvinborner•17m ago•0 comments

Show HN: Flocker.md – Portable identity and shared state for agents

https://flocker.md/
3•hcjmartin•17m ago•0 comments

Stealing Reasoning Traces from Proprietary LLM APIs

https://arxiv.org/abs/2608.09867
2•amai•17m ago•1 comments

Best Buy 'Repaired' a 64GB Laptop by Making It 32GB

https://www.extremetech.com/computing/best-buy-repaired-a-64gb-laptop-by-making-it-32gb
2•speckx•19m ago•0 comments

S1-mini, Superwhisper's first open-weights language model

https://huggingface.co/superwhisper/s1-mini
3•Softmaximalist•19m ago•0 comments

What Is Reasoning

https://lucumr.pocoo.org/2026/8/19/what-is-reasoning/
2•tosh•19m ago•0 comments

"Why should you ever log into Salesforce again?"

https://www.fuse.is/blog/never-log-into-salesforce-again
2•rkovashikawa•21m ago•0 comments

Go 1.27 Released

https://go.dev/doc/devel/release
2•fero14041•22m ago•1 comments

A Lawyer for AI Agents

https://artificialauthority.ai/p/a-lawyer-for-ai-agents
1•speckx•22m ago•0 comments

Psychopathic Sims: Testing the Cheater-Hawk Hypothesis in a Video Game

https://link.springer.com/article/10.1007/s40806-020-00231-3
1•jambalaya8•23m ago•0 comments

Show HN: terminal-code – VS Code inside the terminal

https://terminal-code.com
1•robpruzan•24m ago•0 comments