u/yaroslavm

Inkmark: a very fast, feature-packed, AI-first Markdown gem for Ruby
▲ 0 r/ruby

Inkmark: a very fast, feature-packed, AI-first Markdown gem for Ruby

Written in Rust. CommonMark+GFM conformant. Features include: strong security by default and host/protocol whitelists for links and images, syntax highlighting, frontmatter, ToC, plain text export, structured extraction of headings/images/links/code, statistics with char/word count and language detection, emoji shortcodes.

AI-friendly features include: two chunking primitives: heading-based with breadcrumbs and per-chunk char/word counts, and sliding-window with overlap for size-bounded chunks; block-aware or word-aware truncation for context-window budgeting; Markdown-to-Markdown pipeline.

yaroslav.io
u/yaroslavm — 3 days ago
▲ 15 r/ruby

Introducing Bundlebun: a gem that packs Bun—the fast all-in-one JavaScript runtime, package manager, and build tool that powers Claude Code—right into your Gemfile, and pins the exact version for everyone. No Docker, `curl|sh`, or Homebrew.

Plus: Rails' history with asset pipelines and JavaScript runtimes, and why #nobuild doesn't solve all your issues most of the time.

u/yaroslavm — 17 days ago