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!

Trump Administration Announces That We Don't Know Where the Sun Goes at Night

https://www.theatlantic.com/newsletters/2026/02/trump-administration-science-climate-change/686008/
1•KnuthIsGod•40s ago•0 comments

Border social media searches and English: Australian conservative migration plan

https://www.smh.com.au/politics/federal/social-media-searches-at-the-border-and-english-language-...
1•KnuthIsGod•4m ago•0 comments

Fake job recruiters hide malware in developer coding challenges

https://www.bleepingcomputer.com/news/security/fake-job-recruiters-hide-malware-in-developer-codi...
1•Gaishan•12m ago•0 comments

Drink Whole Milk, Eat Red Meat, and Use ChatGPT

https://www.theatlantic.com/technology/2026/02/rfk-jr-hhs-ai-chatbots/686007/
2•voxadam•12m ago•2 comments

Show HN: Evolved x86 AVX-512 kernels for NF4 LLM inference

https://github.com/Anuar81/genesis-kernel
1•Anuar81•13m ago•0 comments

DHS has reportedly sent out subpoenas to identify ICE critics online

https://www.engadget.com/big-tech/homeland-security-has-reportedly-sent-out-hundreds-of-subpoenas...
4•ggm•13m ago•1 comments

Show HN: Wapuubot, an open source AI agent in your WordPress admin

https://github.com/MattPearce/wapuubot
1•MattPearce•15m ago•0 comments

'Dark matter, not a black hole, could power Milky Way's heart'

https://ras.ac.uk/news-and-press/research-highlights/dark-matter-not-black-hole-could-power-milky...
2•pavel_lishin•17m ago•0 comments

Ancient Robots

https://code.chuanqisun.com/ancient-robots/
1•stackdiver•19m ago•0 comments

Codex CLI might silently re-route your GPT-5.3 traffic to GPT-5.2 instead

https://twitter.com/banteg/status/2023112622950813824
3•behnamoh•19m ago•0 comments

Show HN: JeffTube

https://jmail.world/jefftube
2•dvrp•19m ago•0 comments

You Should Make Your Own OpenClaw

https://blog.alexboden.ca/occam-claw/
4•alexboden•21m ago•1 comments

Zephyr Real Time Operating System from the Linux Foundation

https://www.zephyrproject.org/learn-about/
4•wewewedxfgdf•25m ago•2 comments

China Floating Turbine Passes Testing and Completes a Grid-Connected Flight

https://cleantechnica.com/2026/02/13/china-floating-turbine-passes-testing-completes-a-grid-conne...
1•tempestn•29m ago•0 comments

Windows 11 update KB5077181 causes boot loops and network issues for some users

https://www.neowin.net/news/windows-11-update-kb5077181-is-causing-critical-boot-loops-for-some-u...
2•exploraz•29m ago•0 comments

GitHub - New repository settings for configuring pull request access

https://github.blog/changelog/2026-02-13-new-repository-settings-for-configuring-pull-request-acc...
2•pabs3•30m ago•1 comments

Show HN: ContextSubstrate – Capture, diff, replay AI agent runs (Git agent work)

https://github.com/scalefirstai/ContextSubstrate
1•scalefirst•30m ago•1 comments

Interzone Magazine Collection Archive

https://archive.org/details/interzone-1982
1•notepad0x90•31m ago•0 comments

Chinese Cars are coming to the US

https://www.bloomberg.com/opinion/articles/2026-02-09/chinese-cars-are-coming-to-the-us-like-it-o...
4•andsoitis•31m ago•0 comments

A Defector Explains the Remote-Work Scam Helping North Korea Pay for Nukes

https://www.wsj.com/world/asia/a-defector-explains-the-remote-work-scam-helping-north-korea-pay-f...
2•sam345•34m ago•1 comments

Top non-ad google result for "polymarket" in Australia is a crypto scam

1•rtrgrd•37m ago•0 comments

Show HN: I gave my AI agent $50 and let it trade on Kalshi

https://twitter.com/JackDavis720/status/2023243630492746062
2•JackDavis720•37m ago•0 comments

The heavy reality of Venezuela's oil

https://www.reuters.com/graphics/USA-VENEZUELA/OIL-RESERVES/mypmqearlpr/
8•gmays•46m ago•1 comments

Minnesota Bathrobe Lady Sam Stroozas of MPR News

https://www.mpr.org/stories/2026/02/13/meet-bathrobe-lady-sam-stroozas-mpr-news
3•jmward01•46m ago•1 comments

We are in the "gentleman scientist" era of AI research

https://www.seangoedecke.com/ai-and-informal-science/
1•gfysfm•48m ago•0 comments

I got tired of babysitting Claude,so I built AI agent that run on my laptop 24/7

3•bagula_ai•48m ago•0 comments

Terry Tao – Machine assistance and the future of research mathematics [video]

https://www.youtube.com/watch?v=zJvuaRVc8Bg
1•breve•49m ago•0 comments

Your pet's microchip may now be useless after chip company goes out of business

https://local12.com/news/local/cincinnati-animal-care-shelter-warns-microchips-may-fail-after-maj...
8•cpeterso•50m ago•1 comments

The great software stock meltdown

https://www.ft.com/content/9e5742e4-adae-4178-9951-7372adeb7ffc
1•petethomas•51m ago•1 comments

Intermittent fasting no better than dieting, study finds

https://www.ft.com/content/788e6852-8acc-44df-acbc-ecff3afe6459
3•petethomas•53m ago•1 comments