Vercel OG 𝕏 Image Generator

This project uses @vercel/og to dynamically generate images from posts on 𝕏. Given a post's ID, this tool creates an image of that post, the parent post or quote post.

Features

User Profiles

Post Content

Limitations

Todo List

Usage

This project is designed to generate images by taking the ID of a post on X and rendering it as a picture. This can be useful for sharing or archiving content in a visually appealing format.

Getting Started

  1. Clone the repository:

    git clone https://github.com/robinmonsere/x-post-image-generation.git
    cd x-post-image-generation
    
  2. Install the dependencies:

     npm install
    
  3. Run the development server:

     npm run dev
    
  4. Use the API:

    http://localhost:3000/api/generate?id={post_id}
    

Contributing

Contributions are welcome! If you have suggestions for new features, feel free to open an issue or submit a pull request.

Author