Skip to content

Create beautiful OG images, Twitter/X Header images & more for free, in simple clicks.

License

Notifications You must be signed in to change notification settings

weijunext/ogimage-click

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ogimage.click

A free and open source tool for generating beautiful Open Graph images, Twitter/X headers, and blog covers - no signup required.

🌟 Features

  • 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

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm

Installation

  1. Clone the repository:
git clone https://github.com/weijunext/ogimage-click.git
cd ogimage.click
  1. Install dependencies:
pnpm install
  1. 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=
  1. Start the development server:
pnpm dev

🛠️ Tech Stack

📖 Usage

  1. Choose a template type (OG Image, Twitter Header, or Blog Cover)
  2. Customize your content (text, colors, images)
  3. Preview in real-time
  4. Export in your preferred format
  5. Use the generated meta tags in your project

Example Meta Tags

<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" />

🤝 Contributing

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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🌐 Links


Built by Jude Wei

This project is inspired by and built upon imgsrc-app

About

Create beautiful OG images, Twitter/X Header images & more for free, in simple clicks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.1%
  • CSS 5.1%
  • MDX 4.3%
  • JavaScript 0.5%