Turn Code Snippets into Aesthetic Images
Generate gorgeous, high-resolution visuals for Twitter, LinkedIn, blog posts, and documentation. Add tactile macOS frames, syntax highlighting, and custom Authoring gradients.
1import { createAgent } from '@easysociable/agent'
2
3// Turn markdown notes into viral LinkedIn carousels
4export async function generateCarousel(prompt: string) {
5 const agent = createAgent({ model: 'claude-3-7-sonnet' })
6
7 const deck = await agent.createDeck({
8 prompt,
9 formula: 'F-tip-list-hook-pointx4-cta',
10 tone: 'contrarian-insight'
11 })
12
13 return deck.exportRetinaImages({ dpi: 300 })
14}Why Developers Choose EasySociable over Carbon & Ray.so
Built from first principles for engineers, technical writers, and social creators who need flawless code presentation without the bloat.
2x Retina Clarity
Export ultra-crisp 300 DPI Retina PNGs that stay sharp on 4K monitors, Twitter feeds, and LinkedIn mobile cards without blur or rasterization artifacts.
Instant Clipboard Copy
No need to save and search through your downloads folder. Click "Copy Image" and paste directly into Slack, Discord, Twitter / X, or your documentation.
Zero Watermark Guarantee
Your code belongs to you. EasySociable never watermarks your generated graphics. Add your own custom brand handle or keep it completely unbranded.
How to Turn Code Snippets into Social Graphics in 3 Steps
Paste or Edit Your Code
Paste any snippet into the editor. Select your language from the dropdown to automatically enable syntax highlighting and set the filename.
Style with Authoring Themes
Pick from developer favorites like VS Code Dark, Dracula, or SynthWave. Customize the background gradient, padding, and tactile macOS traffic lights.
Copy or Export 2x PNG
Hit "Copy Image" to instantly paste into your social client, or download a 2x Retina PNG for blog posts, documentation, or slides.
Explore EasySociable's Free Visual Suite
Complement your code snippets with our full lineup of zero-watermark creator utilities:
Frequently Asked Questions
What makes EasySociable a superior alternative to Carbon and Ray.so?
Unlike older web tools that lag on long code files or produce pixelated raster graphics, EasySociable generates 2x Retina PNGs directly inside your browser. We also provide seamless clipboard copy, tactile macOS traffic light styling, and Authoring Studio gradient presets that harmonize with your social media brand kits.
Is there any forced watermark on exported code images?
No. We believe your code and content belong to you. We never inject an EasySociable logo or watermark. You can optionally add your own personal watermark (like your Twitter handle or website URL) or leave it completely blank.
Which syntax themes and programming languages are supported?
We support over 15 popular programming languages including TypeScript, JavaScript, Python, Rust, Go, SQL, HTML/CSS, Bash, and YAML. For themes, you can select from VS Code Dark, Dracula, Night Owl, One Dark, Nord, SynthWave 84, Monokai, and VS Code Light.
Is my code sent to a remote server?
No. 100% of code parsing, syntax highlighting, and image rendering occurs locally inside your web browser. None of your source code or sensitive tokens are ever transmitted to or stored on EasySociable servers.