<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ritesh Kumar</title>
    <description>The latest articles on DEV Community by Ritesh Kumar (@ritesh_kumar_ad57de7b168b).</description>
    <link>https://dev.to/ritesh_kumar_ad57de7b168b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3952040%2Fdc028b0f-462b-4624-a525-fd29cef42119.jpg</url>
      <title>DEV Community: Ritesh Kumar</title>
      <link>https://dev.to/ritesh_kumar_ad57de7b168b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ritesh_kumar_ad57de7b168b"/>
    <language>en</language>
    <item>
      <title>I built a VS Code extension so you never copy-paste code into Carbon again</title>
      <dc:creator>Ritesh Kumar</dc:creator>
      <pubDate>Sun, 07 Jun 2026 11:01:56 +0000</pubDate>
      <link>https://dev.to/ritesh_kumar_ad57de7b168b/i-built-a-vs-code-extension-so-you-never-copy-paste-code-into-carbon-again-312l</link>
      <guid>https://dev.to/ritesh_kumar_ad57de7b168b/i-built-a-vs-code-extension-so-you-never-copy-paste-code-into-carbon-again-312l</guid>
      <description>&lt;p&gt;If you've ever written a tweet, a README hero, or a LinkedIn post with a code snippet, you've probably done this dance:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select code in your editor&lt;/li&gt;
&lt;li&gt;Copy&lt;/li&gt;
&lt;li&gt;Open Carbon or ray.so&lt;/li&gt;
&lt;li&gt;Paste&lt;/li&gt;
&lt;li&gt;Fix the language and theme&lt;/li&gt;
&lt;li&gt;Export&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It works. But it's friction, especially when you're iterating on a thread or shipping a launch post and want five screenshots in ten minutes.&lt;/p&gt;

&lt;p&gt;So I shipped a VS Code extension for KromaStudio that skips the copy-paste step entirely.&lt;/p&gt;

&lt;p&gt;The workflow: select, shortcut, export&lt;/p&gt;

&lt;p&gt;Select code in VS Code or Cursor (or capture the whole file).&lt;/p&gt;

&lt;p&gt;Press Cmd+Shift+K on macOS or Ctrl+Shift+K on Windows/Linux.&lt;/p&gt;

&lt;p&gt;KromaStudio opens in your browser with language, syntax theme, and background already applied.&lt;/p&gt;

&lt;p&gt;Tweak the padding, frame, and gradient, then export a PNG or an animated .webm.&lt;/p&gt;

&lt;p&gt;That's it. No paste. No re-picking Dracula for the 47th time.&lt;/p&gt;

&lt;p&gt;Before: select code in VS Code &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe1y1u33k3a6287ywphgo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe1y1u33k3a6287ywphgo.png" alt="VS Code editor with a TypeScript code snippet selected, ready to capture with the KromaStudio extension using Cmd+Shift+K." width="800" height="292"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After: styled snippet ready to export in KromaStudio &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F44208haydcggpnnwnmss.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F44208haydcggpnnwnmss.png" alt="KromaStudio browser studio showing the same code snippet styled with syntax highlighting, gradient background, and window frame, ready to export as PNG or animated webm." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Install&lt;/p&gt;

&lt;p&gt;Search "KromaStudio" in the VS Code Extensions panel, or install from the Marketplace:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=KromaStudio.kroma-studio" rel="noopener noreferrer"&gt;https://marketplace.visualstudio.com/items?itemName=KromaStudio.kroma-studio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kw1wqfhxotyetlk1rsy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kw1wqfhxotyetlk1rsy.png" alt="Turn selected code into share-ready screenshots in KromaStudio — syntax highlighting, gradients, mockups. Carbon / ray.so alternative. Cmd+Shift+K to capture." width="800" height="288"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CLI:&lt;/p&gt;

&lt;p&gt;code --install-extension KromaStudio.kroma-studio&lt;/p&gt;

&lt;p&gt;Commands&lt;/p&gt;

&lt;p&gt;KromaStudio: Capture Selection Shortcut: Cmd+Shift+K (macOS) or Ctrl+Shift+K (Windows/Linux)&lt;/p&gt;

&lt;p&gt;KromaStudio: Capture Current File Command Palette&lt;/p&gt;

&lt;p&gt;KromaStudio: Open Studio Command Palette&lt;/p&gt;

&lt;p&gt;You can also right-click in the editor and choose KromaStudio: Capture Selection.&lt;/p&gt;

&lt;p&gt;Why a browser handoff instead of an in-editor export?&lt;/p&gt;

&lt;p&gt;Carbon and ray.so are great screenshot tools. KromaStudio is a broader visual studio: code screenshots, browser mockups, social post templates, and animated exports, all client-side.&lt;/p&gt;

&lt;p&gt;The extension's job is narrow and fast:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Read your selection from the editor&lt;/li&gt;
&lt;li&gt;Map VS Code's language ID to KromaStudio language&lt;/li&gt;
&lt;li&gt;Encode the snippet and open a handoff URL&lt;/li&gt;
&lt;li&gt;Pre-fill theme and background from your settings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The heavy lifting (syntax highlighting, gradients, export) stays in the web app, where it's easier to iterate and where users already style mockups and social cards.&lt;/p&gt;

&lt;p&gt;Settings worth knowing&lt;/p&gt;

&lt;p&gt;kromaStudio.defaultTheme: dracula kromaStudio.defaultBackground: midnight kromaStudio.openMode: external kromaStudio.modeIntent: static&lt;/p&gt;

&lt;p&gt;openMode: system browser vs VS Code Simple Browser modeIntent: set to animated to land with the float animation preset. studioUrl: point at &lt;a href="http://localhost:3000" rel="noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt; if you're self-hosting&lt;/p&gt;

&lt;p&gt;Privacy&lt;/p&gt;

&lt;p&gt;KromaStudio runs 100% client-side in the browser. Your code and images are not uploaded to a server for rendering. The extension just opens a URL, the same idea as opening Carbon, but with your snippet already loaded.&lt;/p&gt;

&lt;p&gt;Carbon/ray.so, or something more?&lt;/p&gt;

&lt;p&gt;If you only need a quick code window, Carbon and ray.so are still excellent.&lt;/p&gt;

&lt;p&gt;KromaStudio makes sense when you want:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Editor-native capture with this extension&lt;/li&gt;
&lt;li&gt;Gradient backgrounds and 15 syntax themes in one place&lt;/li&gt;
&lt;li&gt;Browser mockups for launch posts&lt;/li&gt;
&lt;li&gt;Social templates for tweet, LinkedIn, thread, and more&lt;/li&gt;
&lt;li&gt;Animated .webm loops for demos&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All from one studio, free, no sign-up.&lt;/p&gt;

&lt;p&gt;Open source&lt;/p&gt;

&lt;p&gt;The web app and extension are MIT licensed.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/Ritesh0888/kroma-studio" rel="noopener noreferrer"&gt;https://github.com/Ritesh0888/kroma-studio&lt;/a&gt; Extension source: extensions/vscode/ Live app: &lt;a href="https://www.kromastudio.in" rel="noopener noreferrer"&gt;https://www.kromastudio.in&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try it, I'd love feedback. Issues welcome on GitHub.&lt;/p&gt;

&lt;p&gt;Links&lt;/p&gt;

&lt;p&gt;KromaStudio: &lt;a href="https://www.kromastudio.in" rel="noopener noreferrer"&gt;https://www.kromastudio.in&lt;/a&gt; &lt;br&gt;
VS Code extension: &lt;a href="https://marketplace.visualstudio.com/items?itemName=KromaStudio.kroma-studio" rel="noopener noreferrer"&gt;https://marketplace.visualstudio.com/items?itemName=KromaStudio.kroma-studio&lt;/a&gt; &lt;br&gt;
How it works: &lt;a href="https://www.kromastudio.in/how-it-works" rel="noopener noreferrer"&gt;https://www.kromastudio.in/how-it-works&lt;/a&gt; &lt;br&gt;
Carbon alternative comparison: &lt;a href="https://www.kromastudio.in/carbon-alternative" rel="noopener noreferrer"&gt;https://www.kromastudio.in/carbon-alternative&lt;/a&gt;&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>opensource</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I built a free, client-side code screenshot tool — here's what I learned</title>
      <dc:creator>Ritesh Kumar</dc:creator>
      <pubDate>Mon, 01 Jun 2026 22:20:00 +0000</pubDate>
      <link>https://dev.to/ritesh_kumar_ad57de7b168b/i-built-a-free-client-side-code-screenshot-tool-heres-what-i-learned-3gkc</link>
      <guid>https://dev.to/ritesh_kumar_ad57de7b168b/i-built-a-free-client-side-code-screenshot-tool-heres-what-i-learned-3gkc</guid>
      <description>&lt;p&gt;I have this habit of sharing code snippets online.&lt;/p&gt;

&lt;p&gt;Not tutorials. Not threads. — "Look at this interesting thing I wrote today."&lt;/p&gt;

&lt;p&gt;The problem was that it always looked ugly. So I'd open some tool, fiddle with settings, realize I needed a browser frame too, open another tool, give up, and post the ugly version anyway.&lt;/p&gt;

&lt;p&gt;Eventually, I just built what I actually wanted.&lt;/p&gt;

&lt;p&gt;What I built&lt;br&gt;
KromaStudio — a free, browser-based studio:&lt;/p&gt;

&lt;p&gt;Code screenshots with syntax highlighting (15 themes)&lt;br&gt;
Browser mockup frames (Chrome, Safari, Arc, macOS)&lt;br&gt;
Social postcards (announcement, metrics, tweet-style)&lt;br&gt;
Animated .webm export (float, 3D tilt, scroll)&lt;br&gt;
100% client-side — nothing uploaded, no backend&lt;br&gt;
→ kromastudio.in&lt;/p&gt;

&lt;p&gt;Technical decisions&lt;br&gt;
Why fully client-side?&lt;/p&gt;

&lt;p&gt;I didn't want to run a server just to convert HTML to an image. html-to-image does the job entirely in the browser — faster for users, cheaper for me, and no privacy concerns.&lt;/p&gt;

&lt;p&gt;The hardest part: defaults&lt;/p&gt;

&lt;p&gt;Most users paste code and immediately export. They won't touch settings. So if the defaults look bad, the tool is bad.&lt;/p&gt;

&lt;p&gt;I think I tweaked the default padding alone ~40 times.&lt;/p&gt;

&lt;p&gt;Stack&lt;/p&gt;

&lt;p&gt;Next.js (App Router)&lt;br&gt;
Tailwind CSS&lt;br&gt;
html-to-image for export&lt;br&gt;
Deployed on Vercel&lt;br&gt;
What I'd do differently&lt;br&gt;
Ship faster. I spent too long polishing before anyone had even tried it. The first version should have been uglier.&lt;/p&gt;

&lt;p&gt;Try it&lt;br&gt;
kromastudio.in — free, no sign-up.&lt;/p&gt;

&lt;p&gt;If something feels off or something's missing, open an issue on GitHub or just tell me here &lt;a href="https://github.com/Ritesh0888/kroma-studio" rel="noopener noreferrer"&gt;https://github.com/Ritesh0888/kroma-studio&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>showdev</category>
      <category>tooling</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Stop posting boring black-and-white screenshots of your code. I built a free tool to fix this.</title>
      <dc:creator>Ritesh Kumar</dc:creator>
      <pubDate>Tue, 26 May 2026 07:50:58 +0000</pubDate>
      <link>https://dev.to/ritesh_kumar_ad57de7b168b/stop-posting-boring-black-and-white-screenshots-of-your-code-i-built-a-free-tool-to-fix-this-2gd3</link>
      <guid>https://dev.to/ritesh_kumar_ad57de7b168b/stop-posting-boring-black-and-white-screenshots-of-your-code-i-built-a-free-tool-to-fix-this-2gd3</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;As a frontend developer, I love sharing quick code snippets and learning moments on LinkedIn and Twitter. But every time I wanted to post something, I faced a minor friction point: taking screenshots directly from VS Code looked dull, gray, and completely boring.&lt;/p&gt;

&lt;p&gt;The alternative? Open Figma, create a canvas, add a trendy gradient background, drop the code image, fix the shadows, and then export. Doing this for a 10-second social media post felt like complete over-engineering.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx00vjk5hcyodckm4eez9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx00vjk5hcyodckm4eez9.png" alt=" " width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I just wanted something fast. Like, 5 seconds fast.&lt;/p&gt;

&lt;p&gt;So over the last few days, I built KromaStudio.in.&lt;/p&gt;

&lt;p&gt;It’s a lightweight, no-nonsense web tool designed to instantly beautify your raw code screenshots into premium, aesthetic mockups.&lt;/p&gt;

&lt;p&gt;✨ What it does right now:&lt;br&gt;
Drag &amp;amp; Drop: Just drop your screenshot onto the canvas.&lt;/p&gt;

&lt;p&gt;Premium Gradients: Toggle between beautiful, hand-picked backgrounds.&lt;/p&gt;

&lt;p&gt;Browser Frame: Adds a clean, professional window wrapper around your code.&lt;/p&gt;

&lt;p&gt;No Signup Required: I hate landing pages that force me to sign up just to use a basic utility tool. KromaStudio has zero login screens and zero watermarks. You use it, you export, you're done.&lt;/p&gt;

&lt;p&gt;🛠️ The Tech Stack:&lt;br&gt;
I wanted to keep it extremely fast and responsive, so I built it using:&lt;/p&gt;

&lt;p&gt;Next.js / React (for the frontend)&lt;/p&gt;

&lt;p&gt;Tailwind CSS (for the UI styling)&lt;/p&gt;

&lt;p&gt;Vercel (for lightning-fast hosting and analytics)&lt;/p&gt;

&lt;p&gt;🙌 I need your brutal feedback!&lt;br&gt;
I literally just launched this tool today. Since this community is packed with amazing developers, I’d love to get some honest feedback:&lt;/p&gt;

&lt;p&gt;Is the UI intuitive enough?&lt;/p&gt;

&lt;p&gt;What feature should I build next? (Should I add code syntax highlighting themes directly inside the tool?)&lt;/p&gt;

&lt;p&gt;Check it out here: &lt;a href="https://kromastudio.in" rel="noopener noreferrer"&gt;KromaStudio.in&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you like it, awesome! If you think it needs work, please drop your suggestions in the comments below. I'm actively improving it.&lt;/p&gt;

&lt;p&gt;Cheers! 🚀&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>frontend</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
