Codesplay is a simple site that lets developers instantly turn raw code into clean, shareable snippets. Paste your code, pick a language, and get an image or embed code in your site.
Why use Codesplay?
- Works on pure HTML, CSS, JS.
- No APIs …
Codesplay is a simple site that lets developers instantly turn raw code into clean, shareable snippets. Paste your code, pick a language, and get an image or embed code in your site.
Why use Codesplay?
- Works on pure HTML, CSS, JS.
- No APIs is required.
- Completely free to use, no sign ups like other sites.
- Generates beautiful image snippets of your code at any dimension.
How was it optimized?
- Loading=“lazy” in the embed code of the snippet.
- Basically telling the browser to wait until the users have scrolled to a data.
- Uses base64 encoding for self contained data URI.
- So there won’t be any need for extra backend and site’s domain dependency.
- Uses SVG is mutiple places.
- SVG has much smaller file size and faster loading.
Claude used for JS library integrations and debugging.
Kilo Code used coding a base64 encoding for the embed.