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!

Climber on trial for leaving girlfriend to die on Austria's highest mountain

https://www.bbc.com/news/articles/c5yv9plyjgpo
1•tartoran•51s ago•0 comments

Show HN: AFS – filesystem-native memory layer for AI agents

1•thompson0012•55s ago•0 comments

Show HN: Allsee – fast cross-platform file search built with Rust and Tauri

https://github.com/TeodorZlatanov/allsee
1•tzlatanov•1m ago•0 comments

A 5-20x faster experimental Homebrew alternative

https://github.com/lucasgelfond/zerobrew
1•nkjoep•1m ago•0 comments

Software as Wiki, Mutable Software

https://blog.exe.dev/software-as-wiki
1•gmays•1m ago•0 comments

"AI Agent Standards Initiative" for Interoperable and Secure Innovation

https://www.nist.gov/news-events/news/2026/02/announcing-ai-agent-standards-initiative-interopera...
1•ChrisArchitect•2m ago•0 comments

Unity CEO says an upcoming Beta will allow to "prompt full casual games"

https://www.gamingonlinux.com/2026/02/unity-ceo-says-an-upcoming-beta-will-allow-people-to-prompt...
1•dulvui•2m ago•0 comments

Finding a non-square mod p

https://www.johndcook.com/blog/2026/02/14/finding-a-non-square/
1•ibobev•2m ago•0 comments

Finding a square root of -1 mod p

https://www.johndcook.com/blog/2026/02/14/square-root-minus-1-mod-p/
1•ibobev•2m ago•0 comments

Wagon's Algorithm in Python

https://www.johndcook.com/blog/2026/02/14/wagons-algorithm-in-python/
1•ibobev•2m ago•0 comments

Show HN: Mailpeek – Vue.js email preview component (Gmail/Outlook rendering)

https://github.com/mailpeek/mailpeek
1•ashannon•3m ago•0 comments

Google's Lyria 3 AI music model is coming to Gemini today

https://arstechnica.com/google/2026/02/gemini-can-now-generate-ai-music-for-you-no-lyrics-required/
1•AndrewDucker•4m ago•0 comments

Show HN: AgentDX – Open-source linter and LLM benchmark for MCP servers

https://github.com/agentdx/agentdx
1•yamarldfst•4m ago•0 comments

Zero-day CSS: CVE-2026-2441 exists in the wild

https://chromereleases.googleblog.com/2026/02/stable-channel-update-for-desktop_13.html
3•idoxer•4m ago•0 comments

The Scarcity Trap: Why AI Still Feels Like a Metered Utility

https://productics.substack.com/p/the-scarcity-trap-why-ai-still-feels
1•gmays•5m ago•0 comments

Show HN: A Unix environment in a single HTML file (420 KB)

https://shiro.computer/show
3•sagebird•6m ago•1 comments

Show HN: Sher – Instant Preview Environments

https://sher.sh
1•andout_•7m ago•0 comments

Becoming a Research Engineer at a Big LLM Lab: 18 Months of Strategic Career Dev

https://www.maxmynter.com/pages/blog/jobhunt
1•evakhoury•8m ago•0 comments

Token_ledger – Ruby gem for auditable token accounting in Rails

https://github.com/wuliwong/token_ledger
1•wuliwong•8m ago•1 comments

Heaper: Local-first PKM for all filetypes with multi-device sync, tags and links

https://heaper.de/
1•gessha•9m ago•0 comments

WhatsApp Invoice Bot

1•ayoolafelix•9m ago•0 comments

How Does Shazam Know What Song Is Playing?

https://paraschopra.github.io/explainers/fourier-transform/index.html
2•Brajeshwar•9m ago•0 comments

Robot hand approaches human-like dexterity with new visual-tactile training

https://techxplore.com/news/2026-02-robot-approaches-human-dexterity-visual.html
1•Brajeshwar•9m ago•0 comments

Show HN: Axon – Agentic AI with mandatory user approval and audit logging

https://github.com/NeuroVexon/axon-community
1•NeuroVexon•10m ago•1 comments

Hacking Cloudflare's AI Playground

https://kazama.in/ai-playground-xss-to-mcp-takeover/
2•matured_kazama•10m ago•0 comments

I ported Luanti (Minetest) to WASM for a browser-based, FOSS P2P game night

1•kaesual•11m ago•0 comments

Show HN: Polyoracle – Polymarket signal monitor with KL-divergence scoring

https://github.com/rewired-gh/polyoracle
1•y_rewired•11m ago•0 comments

Don't use AI for randomness, use the atmosphere (Since 1998)

https://www.random.org/history/
1•sollewitt•13m ago•0 comments

Coffee-growing countries becoming too hot to cultivate beans, analysis finds

https://www.theguardian.com/environment/2026/feb/18/coffee-growing-countries-too-hot-to-cultivate...
1•debo_•15m ago•0 comments

The origin of DayGlo paint

https://www.smithsonianmag.com/innovation/experiment-basement-photo-lab-brothers-created-paint-ou...
1•bookofjoe•15m ago•0 comments