Codeshot is heavily inspired by Carbon.now.sh — the gold standard for creating beautiful images from your source code.

How is it different from Carbon.now.sh

I use Carbon for sharing code snippets on my Twitter all the time, but there is one thing that bugged me. It is challenging to make my code center aligned. I can adjust padding and use a combination of tab and spacebar to make that work, but it is time-consuming for such a small task. Most of the time, I would let it be and post them.

But I want something like this:

A perfectly center-aligned code. And that is the beginning of Codeshot.

How easy it is

It is easier to see than read how easy and effortless it is to make a perfect social media image. So, here is Codeshot in action.

As you can see, Codeshot lets the image size follow your content, or you can lock it to a ratio — 1:1, 16:9, 9:16 and more — and watch it update in realtime. You can adjust padding and margin as you see fit, sit the snippet on a macOS wallpaper or a gradient, and the exported file is exactly what you see in the app.

Give Codeshot a try, and you are going to love it.