Codeimage
A tool to beautify your code screenshots. Built with SolidJS and Fastify.
Install / Use
/learn @riccardoperra/CodeimageREADME

Create elegant code screenshots of your source code.
Introduction
CodeImage is the newest tool to help developers to create beautiful screenshots of their code, providing several features to speed up the process to post in social media.
<a href="https://www.producthunt.com/posts/codeimage?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-codeimage" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=371306&theme=light" alt="CodeImage - A tool to manage and beautify your code screenshots | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
Supported by
<a target='_blank' href="https://jb.gg/OpenSourceSupport"> <img alt='Jetbrains Logo.' src="./assets/jetbrains.svg" width='200'> </a>
🤖 Tech stack
CodeImage architecture consist of a PNPM monorepo, currently subdivided in packages and apps.
Apps
@codeimage/app
The front-end application, entirely built with SolidJS.
It currently also relies on these libraries:
- vanilla-extract: Zero-runtime Stylesheets-in-TypeScript.
- CodeMirror6: Extensible code editor
- StateBuilder: Composable state management
- @codeui/kit: Accessible UI Kit based on Kobalte
- solid-primitives: SolidJS primitives library
@codeimage/api
The REST API layer built with Fastify, Prisma ORM and Auth0.
Packages
- @codeimage/ui: contains the source code of the UI kit of CodeImage front-end application.
Note the UI kit is being moved to @codeui/kit repository
- @codeimage/config: contains the base configurations and interfaces for CodeImage
- @codeimage/highlight: contains the custom editor and highlighting themes for CodeMirror
- @codeimage/dom-export: contains the html-to-image fork which includes several fix for image export
- @codeimage/locale: contains a wrapper of @solid-primitives/i18n which includes strict typing for i18n
- @codeimage/vanilla-extract: contain the Vanilla Extract plugin fork which includes SolidJS and PNPM fixes to work under monorepo.
- @codeimage/prisma-models: contains the Prisma ORM backend models shared across front-end and back-end application.
- @codeimage/atomic-state: contain the source code of a small state manager which includes some utilities helper for RxJS and solid-js/store
🌏 Contributions
Warning Read this before opening any PR!
When contributing, it's better to first discuss the change you wish to make via issue or discussion, or any other method with the owners of this repository before making a change.
See the CONTRIBUTING.md guide for more details.
<p align="left"> <img src="https://user-images.githubusercontent.com/37072694/168666273-22af1fed-6ee5-49a5-be2a-6e0b9da998cf.png" width="600"> </p> <p align="left"> CodeImage is the winner of <a href="https://hack.solidjs.com">SolidHack 2022</a> for the Best Application category! </p>
License
MIT © Riccardo Perra
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
82.5kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
openai-whisper-api
335.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
