A free and open source tool for generating beautiful Open Graph images, Twitter/X headers, and blog covers - no signup required.
-
Multiple Template Types
- Open Graph Images
- Twitter/X Headers
- Blog Cover Images
- Custom Templates
-
Rich Customization
- Custom backgrounds (solid colors & gradients)
- Grid and noise overlays
- Logo upload support
- Professional typography
- Multiple export formats (PNG, JPEG, WebP)
-
Developer Experience
- Ready-to-use HTML meta tags
- Next.js App Router integration
- Real-time preview
- No authentication required
- Free and open source
- Node.js 18+
- pnpm (recommended) or npm
- Clone the repository:
git clone https://github.com/weijunext/ogimage-click.git
cd ogimage.click
- Install dependencies:
pnpm install
- Set up environment variables in
.env.local
:
NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_API_URL=http://localhost:3000/api
NEXT_PUBLIC_GOOGLE_ID=
NEXT_PUBLIC_GOOGLE_ADSENSE_ID=
- Start the development server:
pnpm dev
- Choose a template type (OG Image, Twitter Header, or Blog Cover)
- Customize your content (text, colors, images)
- Preview in real-time
- Export in your preferred format
- Use the generated meta tags in your project
<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Your page description" />
<meta property="og:image" content="https://yourdomain.com/og.png" />
<meta property="og:url" content="https://yourdomain.com" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://yourdomain.com/og.png" />
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
Built by Jude Wei
This project is inspired by and built upon imgsrc-app