frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

React2Shell Exploit Analysis with POCs (RCE in Next.js)

https://github.com/freeqaz/react2shell
1•freeqaz•43s ago•1 comments

Microsoft steers native port of TypeScript to early 2026 release

https://www.infoworld.com/article/4100582/microsoft-steers-native-port-of-typescript-to-early-202...
1•maxloh•1m ago•0 comments

Show HN: Daily Logic Grid Puzzles

https://www.puzzleship.com/logic/logic-puzzles
1•slig•2m ago•0 comments

Commission fines X €120M under the Digital Services Act

https://ec.europa.eu/commission/presscorner/detail/en/ip_25_2934
1•nabla9•2m ago•1 comments

Show HN: Potato – AI meeting assistant that does useful stuff

https://meetpotato.com/
1•rsdza•3m ago•1 comments

ARM's Barrel Shifting Tricks

https://xania.org/202512/05-barrel-shifting-with-arm
1•hasheddan•3m ago•0 comments

Anthropic's Development Practices: A Customer's Technical Analysis

1•AnonHere•7m ago•0 comments

Zelensky's Government Sabotaged Oversight, Allowing Corruption to Fester

https://www.nytimes.com/2025/12/05/world/europe/ukraine-corruption-zelensky.html
1•koolba•8m ago•2 comments

Island: Linux sandboxing tool powered by Landlock

https://github.com/landlock-lsm/island
1•l0kod•8m ago•1 comments

Anthropic Interviewer

https://www.anthropic.com/research/anthropic-interviewer
1•ta_u•8m ago•0 comments

2025 USA National Security Strategy [pdf]

https://www.whitehouse.gov/wp-content/uploads/2025/12/2025-National-Security-Strategy.pdf
1•Epa095•10m ago•1 comments

Cary-Hiroyuki Tagawa, 75, passed away

https://apnews.com/article/cary-hiroyuki-tagawa-died-2a5ac471aa2dd5d7218205ff8b654b08
2•nobodyandproud•14m ago•1 comments

"Why I Hate Frameworks"

https://minds.md/benji/frameworks
1•samixg•16m ago•0 comments

Most prediction market users aren't trading–they're gambling

1•Miramaps•21m ago•1 comments

How I use Git worktrees

https://matklad.github.io/2024/07/25/git-worktrees.html
1•lemonwaterlime•21m ago•0 comments

UK pushes ahead with facial recognition expansion despite backlash

https://www.theregister.com/2025/12/05/uk_cops_facial_recognition/
2•SanjayMehta•22m ago•0 comments

Productivity Tool for Neurodivergent Individuals

https://dashzz.com
1•razvanbord•22m ago•0 comments

Boosting Sox9 allows astrocytes to clear Alzheimer's plaques in mice

https://www.psypost.org/boosting-a-regulatory-protein-allows-brain-cells-to-clear-alzheimers-plaq...
1•ashishgupta2209•24m ago•0 comments

Ask HN: How do I make LLM write long code for my tasks?

1•DenisDolya•26m ago•0 comments

Elon Musk's Grok AI Is Doxxing Home Addresses of Everyday People

https://futurism.com/artificial-intelligence/grok-doxxing
2•ceejayoz•29m ago•0 comments

I Built a Distributed AI Search Engine to Kill SEO. Turn Your Website into Agent

https://www.aipetris.com/post/12
1•yaruchyk•29m ago•0 comments

Elon Musk at Montana Jobs Summit (2013) [video]

https://www.youtube.com/watch?v=fWCCcgVwNJ0
1•nomilk•32m ago•0 comments

Show HN: Memory System for Claude Code and Other CLIs

https://github.com/RLabs-Inc/memory
1•RustyNail96•33m ago•1 comments

Russia blocks Snapchat, along with Roblox and FaceTime

https://meduza.io/en/news/2025/12/04/russia-blocks-snapchat-along-with-roblox-and-facetime
2•cnr•36m ago•0 comments

Show HN: We've Built First AI Agent for Mobile Apps

https://kuralit.com/
1•_karthikeyans_•37m ago•0 comments

Residential IP RDP – Real ISP Home Network Access – Rdpextra

1•EVAN1098•40m ago•0 comments

Have Top Chinese AI Researchers Stayed in the United States?

https://carnegieendowment.org/emissary/2025/12/china-ai-researchers-us-talent-pool?lang=en
1•hunglee2•40m ago•0 comments

Show HN: Meeting notes and transcripts straight into Obsidian

https://obsidian.md/plugins?search=granola
2•tomelliot•41m ago•0 comments

TinyLife6502. GOL in 114 Bytes

https://www.lemon64.com/forum/viewtopic.php?t=88104
1•orac81•42m ago•1 comments

Original PoCs for React2Shell CVE-2025-55182

https://github.com/lachlan2k/React2Shell-CVE-2025-55182-original-poc
1•dbushell•44m ago•0 comments