This project provides a front-end user interface for creating videos from text input. Users can enter text into an input box at the top of the UI, and the application will process the input to generate a video. The project is designed to offer a seamless and intuitive experience for users looking to convert their ideas into video content.
- Text Input: A simple and user-friendly input box for users to provide the text they want to convert into a video.
- Video Preview: Displays the generated video directly in the UI for easy review.
- Responsive Design: Ensures the application works well on various devices and screen sizes.
- Tooltips: Provides additional information on hover for better usability.
The backend for this project handles the text-to-video conversion logic and is available in a separate repository. You can find it here: Backend Repository: A2V
- Users enter text into the input box at the top of the UI.
- The front-end sends the text to the backend API for processing.
- The backend generates a video based on the input text and returns it to the front-end.
- The generated video is displayed in the UI for the user to view.
To configure the project, you need to set up environment variables in a .env file at the root of the project. Below is an example of the required variables:
REACT_APP_BACKEND_URL=https://your-backend-url.com
REACT_APP_API_KEY=your-api-key
REACT_APP_YOUTUBE_API_KEY=your-youtube-api-key
REACT_APP_YOUTUBE_CHANNEL_ID=your-youtube-channel-id- Create a
.envfile in the root directory of the project. - Add the required variables as shown above.
- Replace
https://your-backend-url.comwith the actual backend URL (e.g., from A2V backend). - Replace
your-api-keywith the API key if required by the backend. - Replace
your-youtube-api-keywith your YouTube Data API key. - Replace
your-youtube-channel-idwith the ID of the YouTube channel where videos will be uploaded.
Note: Do not commit the
.envfile to version control to keep sensitive information secure.
- Node.js and npm installed on your system.
- Access to the backend repository: A2V.
- Clone this repository:
git clone https://github.com/Uddhav-Paudel/T2VClient.git
- Navigate to the project directory:
cd T2VClient - Install dependencies:
npm install
- Start the development server:
npm start
Follow the instructions in the A2V backend repository to set up the backend server.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
This project is licensed under the MIT License. See the LICENSE file for details.
- React for the front-end framework.
- Tailwind CSS for styling.
- Font Awesome for icons.
Happy coding!