Skip to content

This app generates engaging tweet ideas based on user-provided descriptions, using AI to craft creative and viral content. It offers fast, customizable tweet suggestions tailored to various themes and tones, helping users easily create impactful posts for social media.

Notifications You must be signed in to change notification settings

Heismanish/twitter-post-genai

Repository files navigation

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!

About

This app generates engaging tweet ideas based on user-provided descriptions, using AI to craft creative and viral content. It offers fast, customizable tweet suggestions tailored to various themes and tones, helping users easily create impactful posts for social media.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published