
I built an open-source alternative to carbon.now.sh
carbon.now.sh hasn't had a commit since December 2024. 35.9K stars, zero activity. If you depend on it for code screenshots, that's not great. I built Ray as a replacement. What Ray does Free, open-source code screenshots. Paste code, pick a theme, export. Same idea as Carbon, different execution: 500+ themes (Carbon has ~29) Free API: 60 req/min, no auth PNG, SVG, or straight to clipboard Works with Claude Code and Cursor: npx skills add Railly/tinte The API Carbon doesn't have one. Ray does. curl -X POST https://ray.tinte.dev/api/v1/screenshot \ -H "Content-Type: application/json" \ -d '{ "code": "const hello = \"world\";", "language": "javascript", "theme": "one-dark-pro", "format": "png" }' Returns base64 or binary depending on your Accept header. No API key needed. const response = await fetch ( ' https://ray.tinte.dev/api/v1/screenshot ' , { method : ' POST ' , headers : { ' Content-Type ' : ' application/json ' }, body : JSON . stringify ({ code : ' function add(a, b) { return a
Continue reading on Dev.to JavaScript
Opens in a new tab




