Turn your code into a shareable masterpiece.
Create beautiful, high-fidelity screenshots of your GitHub repositories for social media, portfolios, and presentations.
- Beautiful Themes: Choose from 16+ gradient themes including sleek dark modes and clean light modes.
- Responsive Layouts: Fully responsive design with specific layouts for:
- Horizontal (16:9) - Perfect for Twitter/X & Presentations
- Square (1:1) - Ideal for Instagram Feed
- Vertical (9:16) - Optimized for Instagram Stories & TikTok
- Open Graph (1.91:1) - Best for Link Previews
- Editable Stats: Manually customize Stars, Forks, and Watchers counts to showcase your project's potential.
- Smart Preview:
- Live File Explorer view
- Rendered Markdown README preview
- Auto-detected language colors
- Fast & Client-Side: Generates images instantly in browser using
html-to-image. - Adaptive UI: Interface automatically adapts text and border colors based on the selected theme (Light/Dark).
Try it out locally or deploy to your favorite static host!
- Enter a GitHub repository URL (e.g.,
github.com/dexccv/project-name) - Click Generate
- Customize themes, layout, and toggles
- Click Download Masterpiece
- Frontend: HTML5, Vanilla JavaScript (ES6+)
- Styling: CSS3 (Variables, Flexbox, Grid)
- Tooling: Vite
- Libraries:
html-to-image: High-quality DOM to Image conversionmarked: Fast Markdown parsingcanvas-confetti: Fun visual effectsvscode-material-icon-theme: Professional file icons
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/dexccv/gitsnap.git cd gitsnap -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open in browser via
http://localhost:5173
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
- Icons by Feather Icons and VSCode Material Icon Theme
- Fonts: Outfit and JetBrains Mono via Google Fonts
Made by dexccv