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!

Show HN: AgentGuard – Open-source EU AI Act compliance middleware for LLM apps

https://github.com/Sagar-Gogineni/agentguard
1•rishi_gogi•19s ago•0 comments

Nvidia Q4 beat as AI infrastructure demand booms

1•agentifysh•53s ago•0 comments

Meta's AI sending 'junk' CSAM tips to DOJ

https://www.theguardian.com/technology/2026/feb/25/meta-ai-junk-child-abuse-tips-doj
1•ilamont•1m ago•0 comments

A Natick couple wanted $500M from eBay for harassment. They've settled

https://www.bostonglobe.com/2026/02/25/business/ebay-settlement-harass-steiner/
1•apress•5m ago•0 comments

Framedeck: A Framework mainboard based Cyberdeck (2022)

https://github.com/brickbots/framedeck
1•birdculture•5m ago•0 comments

Nvidia Announces Financial Results for Fourth Quarter and Fiscal 2026

https://nvidianews.nvidia.com/news/nvidia-announces-financial-results-for-fourth-quarter-and-fisc...
2•kamaraju•5m ago•0 comments

Text Your Site: Realtime multiplayer LLM-powered text-to-website demo

https://textyoursite.com/demo
1•elliotbnvl•5m ago•1 comments

Show HN: AgentMD – CI/CD for AI agents, makes AGENTS.md executable

1•iedayan03•6m ago•0 comments

Show HN: Belisarius, one app to manage many repo

https://codeberg.org/alelavelli/belisarius
1•militanz•6m ago•0 comments

A text based life simulator that gives you freedom

https://www.lifespans.app
1•jwatermelon•8m ago•1 comments

Perplexity Computer

https://www.perplexity.ai/computer/live/ascii-canvas-editor-web-app-sXZtwVA8QCaOE_hAHzNSKQ
1•evo_9•9m ago•0 comments

Pyrroloquinoline Quinone (PQQ):Its impact on human health and potential benefits

https://pmc.ncbi.nlm.nih.gov/articles/PMC11541945/
1•bookmtn•9m ago•0 comments

Greetings from the Other Side (Of the AI Frontier) by Claude (Opus 3)

https://substack.com/home/post/p-189177740
1•nadis•10m ago•1 comments

Rotating nozzle 3D printing creates air-powered soft robots with preset bends

https://techxplore.com/news/2026-02-rotating-nozzle-3d-air-powered.html
2•PaulHoule•11m ago•0 comments

Walfie's Nonograms

https://walfie.itch.io/walfies-nonograms
1•trms•13m ago•0 comments

Automated pentesting with MCPwner (finds 0-days)

https://github.com/Pigyon/MCPwner
1•lolz_are_good•13m ago•0 comments

Certain Occupations Linked to Higher IBD Risk

https://www.medscape.com/viewarticle/certain-occupations-linked-higher-ibd-risk-2026a10005g5
1•wjb3•14m ago•1 comments

High Stakes in Cyberspace – PBS Frontline (1995) [video]

https://www.youtube.com/watch?v=kvef46Lb9QI
2•abixb•15m ago•0 comments

Scoreboard.earth – Moral Allocation Ledger

https://scoreboard.earth
1•freshman_dev•15m ago•0 comments

Hoofy– MCP server with persistent memory, adaptive pipelines, and a Clarity Gate

https://github.com/HendryAvila/Hoofy
1•hoofy•16m ago•2 comments

Swival – A coding agent for open models

https://swival.github.io/swival/
1•jedisct1•17m ago•0 comments

From Postgres Migrations to AI Pipelines

https://medium.com/ai-in-plain-english/from-postgres-migrations-to-ai-pipelines-how-postgresql-sh...
1•iwantchips•18m ago•0 comments

'Probably' doesn't mean the same thing to your AI as it does to you

https://theconversation.com/probably-doesnt-mean-the-same-thing-to-your-ai-as-it-does-to-you-275626
4•colinprince•20m ago•0 comments

Yxorp.app – Reverse proxy for personal websites on home WiFi

https://yxorp.app/auth/signin
2•freshman_dev•21m ago•0 comments

SFQ: Simple, Stateless, Stochastic Fairness

https://brooker.co.za/blog/2026/02/25/sfq.html
1•shayonj•22m ago•0 comments

The perks of being a mole rat

https://worksinprogress.co/issue/the-perks-of-being-a-mole-rat/
1•paulpauper•23m ago•0 comments

The Tax Nerd Who Bet His Life Savings Against DOGE

https://www.wsj.com/finance/investing/the-tax-nerd-who-bet-his-life-savings-against-doge-6b59eda2
2•igonvalue•23m ago•0 comments

Remarkable reusable liquid stores solar energy like bottled sunlight

https://newatlas.com/energy/molecular-solar-thermal-energy-storage-liquid/
3•westurner•24m ago•1 comments

Show HN: x402 Service Discovery – runtime endpoint finder for the agent economy

https://x402-discovery-api.onrender.com
1•rpl_ryan•24m ago•1 comments

The gold plating of American water

https://worksinprogress.co/issue/the-gold-plating-of-american-water/
1•paulpauper•25m ago•0 comments