Skip to content

Latest commit

 

History

History
82 lines (54 loc) · 1.79 KB

README.md

File metadata and controls

82 lines (54 loc) · 1.79 KB

AI-Powered Tweet Generator

An AI-driven tool that generates creative and engaging tweet ideas based on user-provided descriptions. This app leverages Google's generative AI model to quickly craft impactful tweets for various themes and tones. With a focus on speed and ease of use, it helps users create viral content effortlessly for social media platforms.

Features

  • 📝 Generate engaging tweets instantly.
  • 🤖 Powered by advanced generative AI.
  • ⏱️ Fast tweet suggestions in seconds.
  • 🎨 Customizable tweet tone options.
  • 🔒 Secure and private user data.
  • 🚀 Built-in rate limiting for fair use.
  • 🛠️ Easy integration via REST API.

Tech Stack

Client: NextJS, Typescript, TailwindCSS

Server: NextJS, Typecript, Redis, Gemini

API Reference

Generate tweet

  POST /api/submit
Parameter Type Description
description string Specify your requirements for the tweet.

Run Locally

  1. Clone the project
  git clone https://github.com/Heismanish/twitter-post-genai
  1. Go to the project directory
  cd twitter-post-genai
  1. Install dependencies
  npm install
  1. Start the server
  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

GEMINI_AI_API_KEY = "Your gemini api key"
REDIS_PORT =
REDIS_HOST =
REDIS_PASSWORD =
NEXT_PUBLIC_BASE_URL = "Enter base url of you deployment"

Screenshots

App Home App Working

Authors

Contributing

Contributions are always welcome!