RepositoryTypeScriptITItaly
riccardoperra

riccardoperra/codeimage

A tool to beautify your code screenshots. Built with SolidJS and Fastify.

2.1kstars
138forks
3issues
0views

🎨 Create Beautiful Code Screenshots with CodeImage

CodeImage helps developers turn source code into elegant screenshots ready for social media.

CodeImage is an open-source tool built by Riccardo Perra that lets you generate polished screenshots of your code. It combines a reactive SolidJS front-end with a Fastify-based REST API, providing a smooth workflow for capturing and sharing snippets. The project is organized as a PNPM monorepo, with separate packages for UI, theming, and state management.

✨ Highlights

  • SolidJS Frontend: UI built entirely with SolidJS for high-performance reactivity.
  • Fastify API: REST API layer implemented with Fastify and Prisma ORM.
  • CodeMirror6 Editor: Extensible code editor powered by CodeMirror6 for editing snippets.
  • Vanilla Extract: Zero-runtime Stylesheets-in-TypeScript for type-safe styling.
  • Auth0 Integration: Secure authentication via Auth0.
  • html-to-image Fork: Custom fork of html-to-image for reliable screenshot export.

💡 Why it matters

What makes CodeImage different is its focus on a monorepo architecture that separates concerns, allowing easy extension of UI, theming, and state management. The use of SolidJS provides a reactive UI with minimal overhead, while the Fastify backend offers a lightweight API for sharing snippets. This combination makes it well-suited for developers who want to create attractive code screenshots quickly, especially for social media platforms.


#OpenSource #CodeImage #SolidJS #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
carbon-app/carbon

:black_heart: Create and share beautiful images of your source code

36.1k
Nov 5, 2026
RepositoryTypeScript
pdfslick/pdfslick

View and Interact with PDFs in React, SolidJS, Svelte and JavaScript apps

1.1k
Oct 9, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.6k
Nov 18, 2026
RepositoryHTML
producthunt/ShareMeow

:heart_eyes_cat: text shots service

184
Feb 1, 2023
RepositoryTypeScript
OpenCut-app/OpenCut

The open-source CapCut alternative

99.0k
Sep 24, 2026
RepositoryTypeScript
toeverything/AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

76.1k
Nov 21, 2026
RepositoryTypeScript
pingdotgg/t3code

The best way to control Claude Code, Codex and more from any computer or phone

69.1k
Nov 21, 2026
RepositoryTypeScript
marktext/marktext

📝A simple and elegant markdown editor, available for Linux, macOS and Windows.

64.2k
Nov 17, 2026
RepositoryTypeScript
mifi/lossless-cut

The swiss army knife of lossless video/audio editing

46.2k
Nov 14, 2026