Skip to content

TubeTitles is a Next.js, TypeScript & Tailwind CSS application that uses the OpenAI API to generate captivating YouTube titles. Just follow the 9 steps to generate optimized, attention-grabbing titles to enhance your video's reach.

Notifications You must be signed in to change notification settings

JPerez00/ai-youtube-title-generator

Repository files navigation

Introducing TubeTitles.AI

Image

Your AI-Powered Solution For Generating Unique & Captivating YouTube Titles.

TubeTitles.AI is a Next.js, TypeScript & Tailwind CSS application that uses the OpenAI API to generate captivating YouTube titles. Just follow the 9 steps to generate optimized, attention-grabbing titles to enhance your video's reach.

Live Demo:

https://tube-titles-ai.vercel.app/

Main Features:

  • AI Model Selection (OpenAI API).
  • User-friendly Interface.
  • Customizable Inputs.
  • Skeleton Loading Animation.
  • Clipboard Functionality.
  • Dialog Notification, Buttons & Dropdows from Headless UI
  • Next-Themes Light & Dark Modes With Toggle.

OpenAI API:

This project requires an OpenAI API key. If you don't already have one, head over to OpenAI and create an API key.

Clone & Run Locally

First, execute create-next-app with npx to bootstrap the example:

npx create-next-app --example https://github.com/JPerez00/ai-youtube-title-generator your-project-name-here

Create a .env.local file in the root directory of your project and add your OpenAI API key:

OPENAI_API_KEY=your-openai-api-key-here

Then run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Clone & Deploy

When deploying the project to Vercel, add the same environment variable to your Vercel project.

Navigate to your Vercel dashboard, select your project, go to the "Settings" tab, and then to "Environment Variables."

Add OPENAI_API_KEY as the key and your OpenAI API key as the value. This ensures the API key is securely accessible both locally and in the deployed environment.

OPENAI_API_KEY=your-openai-api-key-here

Start Editing

  • Edit the Main HomePage by modifying app/page.tsx.
  • Edit all the dropdown menus by modifiying app/components/....tsx,
  • Edit the API route for OpenAI by modifiying app/api/generate-titles/route.ts

For more details on how I built this, check the blog post on my website

Font

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

TubeTitles is a Next.js, TypeScript & Tailwind CSS application that uses the OpenAI API to generate captivating YouTube titles. Just follow the 9 steps to generate optimized, attention-grabbing titles to enhance your video's reach.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published