frontpage.
newsnewestaskshowjobs

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!

Safety in an Unsafe World

https://joshlf.com/posts/safety-unsafe-world/
1•aw1621107•32s ago•1 comments

Russia issues international wanted notice against Telegram founder Pavel Durov

https://www.france24.com/en/europe/20260729-russia-issues-international-wanted-notice-against-tel...
1•28304283409234•3m ago•0 comments

Did you know Mastodon has 2 different logos for their server profiles?

https://www.reddit.com/r/Mastodon/comments/1v9q9pf/did_you_know_mastodon_has_2_different_logos_for/
1•doener•4m ago•0 comments

Show HN: Vimgolf.ai – Learn Vim by playing through a map of levels

https://vimgolf.ai
2•nickandbro•5m ago•0 comments

Im 14 and I want to create AI for students

1•grgnend•10m ago•0 comments

Can a 2.8T Model Run on a Single Node of Nvidia B300 X8?

https://blog.us.fixstars.com/deploying-kimi-k3-on-day-0-can-a-2-8t-model-run-on-a-single-node-of-...
1•ai2027•10m ago•0 comments

Triton Control – an open-source control plane for Nvidia Triton on Kubernetes

https://github.com/ai-lab-tech/triton-control
1•ai-lab-tech•11m ago•0 comments

College lab class ends with 32 people on antibiotics for deadly germ exposure

https://arstechnica.com/health/2026/07/college-lab-class-ends-with-32-people-on-antibiotics-for-d...
1•Tomte•11m ago•0 comments

Ross Douthat joins revamped 60 minutes

https://www.washingtonpost.com/business/2026/07/28/ross-douthat-leaves-new-york-times-bari-weisss...
2•_tk_•11m ago•1 comments

Brain Can Rewire Itself to Allow True Multitasking

https://www.sciencealert.com/your-brain-really-can-learn-to-multitask-and-scientists-just-reveale...
1•TMWNN•12m ago•0 comments

US bans humanoid robots from China, citing 'unacceptable risks'

https://www.theguardian.com/us-news/2026/jul/28/fcc-ban-humanoid-robots-china
1•beardyw•16m ago•1 comments

Show HN: Skewrun – fix Kerberos clock skew per-process, no root (open source)

https://github.com/JVBotelho/skewrun
1•jvbotelho•18m ago•1 comments

Global Infrastructure. Israeli Partner. One Invoice. Local Currency

https://www.medone.co.il/digital-realty-data-centers-israel
1•MedOneLtd•19m ago•0 comments

Fed up with Big Tech, communities turn to data collectives for control

https://restofworld.org/2026/ai-data-collectives-mozilla/
2•thm•19m ago•0 comments

Can the New York Times Save Journalism from Our AI Overlords?

https://www.wired.com/story/the-big-interview-podcast-a-g-sulzberger-new-york-times/
2•thm•22m ago•0 comments

A 2024 Plea for Lean Software (with running code)

https://berthub.eu/articles/posts/a-2024-plea-for-lean-software/
1•tosh•25m ago•0 comments

Note-taking medium, laptop vs. longhand, doesn't affect immediate learning

https://twitter.com/MichaelPauleen/status/2082089059095380106
1•mm_mm•28m ago•1 comments

ChatGPT claims rogue AI attacked more companies

https://www.bbc.co.uk/news/articles/c2el319vzr3o
4•osrec•28m ago•0 comments

Japan's Genki Robotics to launch first product this year, says CEO

https://asia.nikkei.com/editor-s-picks/interview/japan-s-genki-robotics-to-launch-first-product-t...
1•akg_67•30m ago•1 comments

Adding IndieWeb support to my static Hugo blog

https://blog.kulman.sk/adding-indieweb-to-hugo-blog/
2•ig0r0•30m ago•0 comments

How Nuclear-Powered Submarines Work [video]

https://www.youtube.com/watch?v=NTCNwRvUcuo
1•simonebrunozzi•31m ago•0 comments

Krei.se – 4D Butterfly – Custom WebGPU Engine, Geometric Algebra [video]

https://www.youtube.com/watch?v=0ueU6nnKDQE
1•Krei-se•31m ago•0 comments

How Profitable Is LLM Inference? Doing the Math on Kimi K3

https://cefboud.com/posts/ai-inference-costs-profit/
2•theanonymousone•32m ago•0 comments

Subaru reduced 30GB container pulls from three hours to three minutes

https://www.cncf.io/announcements/2026/07/28/subaru-wins-cncf-end-user-case-study-contest-for-acc...
1•rotariuvladimir•32m ago•0 comments

From a Research Report to a Validated Factor with AI

https://medium.com/@DolphinDB_Inc/from-research-report-to-validated-alpha-let-ai-build-debug-and-...
1•yiweileng•33m ago•0 comments

An Empirical Study of Model Context Protocol Applications

https://arxiv.org/abs/2607.25635
1•cwbuilds•34m ago•0 comments

Servo now passes 100% of WPT tests for the WebCrypto API

https://floss.social/@servo/117002165161738219
2•Vinnl•35m ago•0 comments

CodeCrucible: A blueprint for LLM-driven SAST

https://engineering.block.xyz/blog/codecrucible-a-blueprint-for-llm-driven-sast
1•handfuloflight•38m ago•0 comments

The Shape of Data (2022)

https://www.scattered-thoughts.net/writing/the-shape-of-data/
2•tosh•38m ago•0 comments

Russia charges Telegram founder Durov with facilitating terrorism

https://www.reuters.com/world/russias-fsb-charges-telegram-founder-durov-with-facilitating-terror...
7•ai2027•43m ago•0 comments