julik

julik / roughrb

Public

A port of rough.js to pure Ruby. @radanskoric made me do it 😂

11
0
100% credibility
Found Apr 27, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Ruby
AI Summary

Roughrb is a Ruby library that generates SVG graphics mimicking a hand-drawn, sketchy style.

How It Works

1
🔍 Discover Roughrb

You find a fun Ruby tool that turns regular drawings into charming, hand-sketched artwork.

2
📦 Add to Your Project

Simply add it to your Ruby setup with one easy line, and it's ready to use.

3
🖼️ Start a New Canvas

Create a blank digital canvas where all your sketches will come together.

4
✏️ Draw Sketchy Shapes

Draw lines, circles, rectangles, and curves that wiggle like they're drawn by hand, feeling playful and artistic.

5
🎨 Add Fills and Styles

Fill your shapes with hatching, dots, or zigzags to make them pop with texture and personality.

6
🧩 Combine Everything

Layer multiple shapes into a complete picture, watching your ideas come alive on the canvas.

😊 Save and Share Your Art

Save your hand-drawn creation as a simple image file to print, share, or use anywhere you like.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is roughrb?

Roughrb is a pure Ruby port of rough.js, letting you generate sketchy, hand-drawn-style SVGs directly in Ruby code. It provides primitives for lines, circles, ellipses, polygons, curves, arcs, and full SVG paths, with fills like hachure, zigzag, or dots, all output as ready-to-use XML fragments you concatenate and embed in SVG docs. No runtime dependencies, just drop it in your Gemfile for reproducible sketches via seed values.

Why is it gaining traction?

This GitHub port stands out by bringing rough.js's browser-only magic to server-side Ruby, perfect if you're dodging JS interop or github port 22 connection refused errors in hybrid setups. @radanskoric made the author port it, hooking devs with zero-fluff options like roughness, bowing, and fill styles that match the original exactly, minus any port github integration hassles. Early stars at 11 show niche appeal for pure Ruby graphics without npm drama.

Who should use this?

Ruby backend devs crafting dynamic SVGs for reports, diagrams, or PDFs need this for quick hand-drawn charts without frontend dependencies. Visualization scripters generating sketchy maps or infographics in Rails or Sinatra will dig the block-based document builder. Avoid if you're deep in JS ecosystems or need canvas output.

Verdict

Grab it for Ruby SVG sketches—docs and examples are solid, covering all primitives with visuals. At 11 stars and 1.0% credibility, it's an immature port but faithful and dependency-free; test thoroughly before production.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.