frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Can Humans Smell Rain Better Than Sharks Smell Blood?

https://www.safewaters.ai/posts/humans-smell-rain-better-than-sharks-smell-blood
1•thunderbong•1m ago•0 comments

Learn Japanese alphabet fast in 3 minutes [video]

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

Show HN: AI-Powered Virtual Haircut Simulator with 360° View

https://shorthairstyles.app/
1•txttosrt•2m ago•0 comments

Show HN: Spine – Verifiable audit logs with BLAKE3 and Ed25519

https://github.com/EulBite/spine-oss
1•mattiaaleo•3m ago•0 comments

Anna's Archive perd son domaine en .org mais reste debout

https://korben.info/annas-archive-domaine-org-suspendu.html
1•frunkp•8m ago•0 comments

Show HN: FlowWatch – Decorator-first file watcher for Python workflows

https://github.com/MichielMe/flowwatch
1•michielme•8m ago•0 comments

Anthropic writes Constitution for Claude it thinks will soon be proven misguided

https://www.theregister.com/2026/01/22/anthropic_claude_constitution/
1•beardyw•8m ago•0 comments

The Data Box; Why "Smarter" AI Feels Dumber

https://blog.nimbial.com/pages/the_data_box
2•ajayarama•10m ago•1 comments

Erdős Problem #347 Solved (AI assisted math)

https://www.erdosproblems.com/forum/thread/347
1•tzury•12m ago•0 comments

Designing an Authentication System: A Dialogue in Four Scenes (1997)

https://web.mit.edu/kerberos/www/dialogue.html
1•vismit2000•20m ago•0 comments

Oldest cave painting could rewrite human creativity timeline

https://www.bbc.com/news/articles/czx1pnlzer5o
1•griffzhowl•25m ago•0 comments

Anthropic's new Claude 'constitution': be helpful, and don't destroy humanity

https://www.theverge.com/ai-artificial-intelligence/865185/anthropic-claude-constitution-soul-doc
1•xparadigm•26m ago•0 comments

Starlink in Iran: How the regime jams the service and what helps against it

https://www.heise.de/en/background/Starlink-in-Iran-How-the-regime-jams-the-service-and-what-help...
3•DeathArrow•34m ago•0 comments

Semantica: Open-source semantic layers, knowledge graphs, and GraphRAG

https://github.com/Hawksight-AI/semantica
2•kaifahmad1•39m ago•1 comments

New Security Vulnerability Database Launches in the EU

https://www.forbes.com/sites/kateoflahertyuk/2026/01/20/new-security-vulnerability-database-launc...
2•cedricbonhomme•41m ago•1 comments

Why Greenland Looks (It's Not) [video]

https://www.youtube.com/watch?v=tK7yTJ8Mk7A
1•handfuloflight•45m ago•0 comments

Graph of All Human Languages

https://dr.eamer.dev/datavis/poems/language/network.html
3•samwho•45m ago•0 comments

Mixing incentives and penalties found key to cutting carbon emissions long term

https://phys.org/news/2025-12-incentives-penalties-key-carbon-emissions.html
1•PaulHoule•45m ago•0 comments

With this tool, you can enjoy NAS functionality even without a NAS

https://quicksend.chat/
1•foodhome•47m ago•0 comments

The Tighter Weave: On Editing and Not Editing

https://hedgehogreview.com/issues/place-and-revolution/articles/the-tighter-weave
1•samclemens•48m ago•0 comments

OpenSkills – Stop bloating your LLM context with unused agent instructions

1•twwch•49m ago•0 comments

Rare Data Hunters [video]

https://www.youtube.com/watch?v=IU4ByUbDKNc
1•DiscourseFan•52m ago•0 comments

Video for ROS2

https://github.com/stryngs/rosVid
1•stryngs42•55m ago•1 comments

We are updating Dokploy's Open Source license

https://dokploy.com/blog/we-are-updating-dokploys-open-source-license
1•raybb•1h ago•1 comments

Show HN: Scribefully is a portfolio/HN-style community for academics & pros

https://scribefully.com/
1•hoag•1h ago•0 comments

CAP theorem: Why Pick Two Misses the Point

https://www.blog.ahmazin.dev/p/cap-theorem-explained
1•artmonk•1h ago•0 comments

US science after a year of Trump

https://www.nature.com/immersive/d41586-026-00088-9/index.html
6•newman314•1h ago•0 comments

Blue4est Paper – BPA-Free Thermal Print Camera Compendium

https://thermalprintcameras.wordpress.com/blue4est-paper/
1•walterbell•1h ago•0 comments

Ask HN: Why does Google Maps still use mercator projection?

2•hbarka•1h ago•1 comments

Show HN: Aident, agentic automations as plain-English playbooks

https://aident.ai/
4•ljhskyso7•1h ago•0 comments