frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Swift on Nvidia Jetson

https://mihaichiorean.com/blog/hard-part-of-swift-on-jetson/
1•mihaichiorean•1m ago•0 comments

Musk Testifies OpenAI Was Created as Nonprofit to Counter Google

https://www.cnbc.com/2026/04/28/openai-trial-elon-musk-sam-altman-live-updates.html
2•m463•7m ago•0 comments

Voxels in R3forth

https://www.reddit.com/r/Forth/s/wf7M7hV779
1•rickcarlino•8m ago•0 comments

State Dept. Finalizing Plan to Put Trump Picture on U.S. Passports

https://www.thebulwark.com/p/exclusive-state-dept-finalizing-plan
3•mikhael•9m ago•0 comments

Warp is now open-source

https://twitter.com/zachlloydtweets/status/2049154460039979268
1•dsr12•9m ago•1 comments

Personal Loan EMI Calculator – Check EMI Online – SMFG India Credit

https://www.smfgindiacredit.com/personal-loan-emi-calculator.aspx
1•saumyaraut11•19m ago•0 comments

AI Sandboxes with Memory

1•ajaysheoran2323•20m ago•0 comments

Google co-founder Sergey Brin says he fled socialism, rips billionaire tax

https://nypost.com/2026/04/27/us-news/google-co-founder-sergey-brin-says-he-fled-socialism-in-sta...
3•1vuio0pswjnm7•21m ago•3 comments

Omeka S: a platform for digital cultural heritage collections and resources

https://omeka.org/s/
1•the-mitr•21m ago•0 comments

Artificial Inteligence that works (maybe)

https://github.com/thepoorsatitagain/Artificial-Inteligence-that-works-maybe-./blob/main/README.md
1•thepoors•23m ago•0 comments

icloud-backup: The iCloud backup tool I always wanted

https://github.com/evantahler/icloud-backup
3•evantahler•24m ago•1 comments

Affinity gatekeeps MCP server; only available for Claude

https://www.affinity.studio/help/ai-connector-setup/
2•nik5•28m ago•2 comments

ChatGPT/Gemini can now draw on your screen to help you navigate complex software

https://sketchvlm.github.io/
4•septisum•30m ago•1 comments

Show HN: Plonk.world – Daily Geography Game

https://plonk.world/
1•plonk-er•34m ago•1 comments

Website is your first agent

https://nedkarlovich.com/writing/your-website-is-your-first-agent
1•birdwhistler•36m ago•0 comments

Ask HN: Google Account Is Being Deleted

2•14•39m ago•0 comments

Built a small side project to solve a tiny daily pain point

1•bbsclub•39m ago•0 comments

GitHub uses eBPF to improve deployment safety

https://github.blog/engineering/infrastructure/how-github-uses-ebpf-to-improve-deployment-safety/
1•geoffbp•39m ago•0 comments

Why AI Startup Offices in NYC Are Flashy but Mostly Empty

https://www.wsj.com/real-estate/commercial/why-ai-startup-offices-in-nyc-are-flashy-but-mostly-em...
1•petethomas•41m ago•0 comments

Full List of Cars with Soy-Based Wiring (2026 Update)

https://www.box-kat.com/blogs/box-kat-blog/full-list-of-cars-with-soy-based-wiring-2025-update
2•thunderbong•44m ago•0 comments

The versioned filesystem for AI agents

https://coregit.dev
2•AlenzhanJ•46m ago•1 comments

Show HN: Docktor – I put live window previews and widgets on the macOS 26 Dock

https://petercsauer.github.io/docktor-releases/
1•petercsauer•46m ago•0 comments

After the AI Crash: A Proposal, from the Vanderbilt Policy Accelerator

https://vanderbiltpolicyaccelerator.substack.com/p/after-the-ai-crash
1•adityaathalye•49m ago•0 comments

Crystal Sapphire Pokemon: Claude Code (Opus 4-7) vs. Codex (GPT 5.5)

https://www.twitch.tv/pokemon_race
1•oelmgren•49m ago•0 comments

Why Capitalism Can't Survive AI

https://www.newconsensus.com/blog/series/why-capitalism-cant-survive-ai
4•kjohnston71•55m ago•0 comments

Instacart co-founder launches hedge fund backing AI agents

https://www.privatebankerinternational.com/news/instacart-co-founder-launches-hedge-fund-backing-...
1•nlpnerd•1h ago•0 comments

Temperature Trends in India

https://www.dataforindia.com/temperature-trends-in-india/
2•neehao•1h ago•0 comments

AdaExplore: Search for Efficient Kernel Generation

https://stiglidu.github.io/AdaExplore/
1•matt_d•1h ago•0 comments

Sparkit: A Research Agent in an API

https://sparkit.science
2•JLSteenwyk•1h ago•0 comments

Britain Has a Tiny-Window Epidemic, and Old Ladies Are to Blame

https://www.wsj.com/world/britain-has-a-tiny-window-epidemic-and-old-ladies-are-to-blame-9ece9791
3•cwwc•1h ago•0 comments