Nexlogo

NEXOS CREATION

Thumbline Generator - Serverless OG Image Generator

Create dynamic Open Graph images with Nuxt 3 for social media optimization. Perfect for generating custom thumbnails for your links!

๐ŸŒ Thumbline Generator

GitHub PagesGitHub ReleaseGitHub LicenseGitHub code size

๐Ÿ“ธ Create dynamic OG images with ease using Thumbline Generator, powered by Nuxt 3! Ideal for social media optimization and generating professional thumbnails for your links.

Features

  • ๐ŸŽจ Customizable Titles: Add custom titles to your OG images.
  • ๐Ÿ–ผ๏ธ Background & Text Color Customization: Personalize your images with different background and text colors.
  • ๐Ÿ–‹๏ธ Logo Integration: Add logos to the top left of your images.
  • ๐Ÿ“ฆ Serverless Architecture: Built with Nuxt 3 for fast, efficient performance.
  • ๐Ÿ“„ PNG Output: Generate images in PNG format for easy sharing.

๐Ÿš€ API Usage

Endpoint

GET /api/og-image

Query Parameters

ParameterTypeRequiredDescriptionExample
titlestringYesThe main title text to display on the image.My Awesome Blog Post
bgColorstringNoHex code for the background color of the image.#1e293b
textColorstringNoHex code for the color of the text.#ffffff
logoUrlstringNoURL of the logo image to display in the top left corner.https://example.com/logo.png

Example Request

GET http://localhost:3000/api/og-image?title=My%20Awesome%20Blog%20Post&bgColor=%231e293b&textColor=%23ffffff&logoUrl=https://example.com/logo.png

Example Response

The above request will return an Open Graph image with the specified parameters, which can be used for social sharing.

Error Responses

If the title parameter is missing, the API will return the following error:

{
  "error": "Title is required"
}

๐Ÿค Contributing

We welcome contributions! To contribute:

  1. ๐Ÿด Fork the repository.
  2. ๐ŸŒฟ Create a new branch (git checkout -b feature-branch).
  3. ๐Ÿ’พ Commit your changes (git commit -m 'Add new feature').
  4. ๐Ÿš€ Push to the branch (git push origin feature-branch).
  5. ๐Ÿ”ƒ Open a pull request.

๐Ÿ“„ License

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


Created with โค๏ธ by [Nexos Creation](https://github.com/nexoscreation)