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!

GraphCore

https://en.wikipedia.org/wiki/Graphcore
1•ogogmad•19s ago•0 comments

Strongest battery paves way for light, energy-efficient vehicles

https://www.chalmers.se/en/current/news/ims-world-s-strongest-battery-paves-way-for-light-energy-...
1•mullsork•1m ago•0 comments

Ask HN: Is anyone using ChatGPT or an equivalent with their family?

1•asim•2m ago•0 comments

India–New Zealand FTA: A People-First Pact for a New Era of Trade

https://www.fairobserver.com/region/asia_pacific/india-new-zealand-fta-a-people-first-pact-for-a-...
1•koolhead17•2m ago•0 comments

Variable Width Font Rendering

https://bonaroo.nl/2026/01/19/variable-width-text.html
1•puuush•5m ago•0 comments

Show HN: Axiom SQL-Reflex – Execution-aware multi-agent Text-to-SQL system

https://github.com/dspraneeth07/Axiom-SQL-Reflex-v4
1•dspraneeth•5m ago•0 comments

Show HN: AxumKit – Production-ready Rust/Axum web API template

https://github.com/levish0/AxumKit
2•levish•6m ago•0 comments

Anthropic Just Built a Competitor to Meta's $2B Acquisition in 10 Days

https://medium.com/activated-thinker/anthropic-just-built-a-competitor-to-metas-2b-acquisition-in...
2•onurkanbkrc•6m ago•0 comments

Why B2B Companies Fail at LinkedIn (and How to Fix It)

https://aiforcontentmarketing.ai/why-b2b-companies-fail-at-linkedin-and-how-to-fix-it/
1•pakostina•9m ago•0 comments

Firefox and Linux in 2025

https://mastransky.wordpress.com/2026/01/23/firefox-linux-in-2025/
1•Vinnl•10m ago•0 comments

Ask HN: Is there a good open-source alternative to Adobe Acrobat?

1•sebastian_z•11m ago•0 comments

The Secret Society of People Who Know the Formula for WD-40

https://www.wsj.com/business/the-secret-society-of-people-who-know-the-formula-for-wd-40-e9c0ff54
1•impish9208•11m ago•2 comments

Show HN: Vayu – A local-first API client with a C++ load-testing engine

1•athrvk•12m ago•0 comments

Claude skill that researches any topic across Reddit and X from the last 30 days

https://github.com/mvanhorn/last30days-skill
1•7777777phil•12m ago•0 comments

Tell HN: Thoughtfully https://claude.md redirects to Claude Code docs

1•alentred•12m ago•0 comments

Study: Many Developers Face Ethical Pressure to Ship Products Conflicting With

https://www.tandfonline.com/doi/full/10.1080/1369118X.2025.2566814
1•birdculture•13m ago•0 comments

Show HN: Notemap – Local-first mind mapping for Mac

https://notemap.com/
1•kamranahmedse•15m ago•0 comments

Show HN: Robust image-to-video pipeline for pets and dance (Kling wrapper)

https://aibabydance.com
1•JustinXie•17m ago•1 comments

Agent Safety Is a Box

https://brooker.co.za/blog/2026/01/12/agent-box.html
1•hasheddan•20m ago•0 comments

Show HN: A simple invoice tool I built instead of full accounting software

https://invoxzero.com
1•ramnete•24m ago•0 comments

Ada Palmer: Inventing the Renaissance

https://www.250bpm.com/p/ada-palmer-inventing-the-renaissance
1•msustrik•25m ago•0 comments

Zoye – The First AI Native Workspace for All Your Business Tools

https://zoye.io/
1•anizeu•26m ago•0 comments

Trump as Europe's Blessing, Non-Aligned Movement 2.0, and Other Davos Outcomes

https://milosmaricic.substack.com/p/trump-as-europes-blessing-non-aligned
2•yvander_loa•27m ago•0 comments

40 years after Challenger: Lingering guilt and lessons learned

https://text.npr.org/g-s1-106940
1•BostonFern•28m ago•0 comments

Implementing the Transcendental Functions in Ivy

https://commandcenter.blogspot.com/2026/01/implementing-transcendental-functions.html
1•chmaynard•31m ago•0 comments

China's Top General Accused of Giving Nuclear Secrets to U.S.

https://www.wsj.com/world/china/chinas-top-general-accused-of-giving-nuclear-secrets-to-u-s-b8f59dae
2•cebert•33m ago•0 comments

Show HN: SheetSage – A Linter for the Most Dangerous Programming Language

https://sheetsage.co/
1•CherishRoby•33m ago•2 comments

Catclock for Wayland

https://github.com/mcpcpc/wlcatclock
2•mcpcpc•33m ago•0 comments

Show HN: Alprina – Intent matching for co-founders and investors

https://www.alprina.com
1•Othrya•34m ago•0 comments

Fresh Fruits Magazine (2005 edition)

https://archive.org/details/fresh-fruits
1•keepamovin•35m ago•0 comments