Swiftube is an innovative project that utilizes OpenAI and Remotion to transform content in text format, into polished explainer videos. It uses Google's text-to-speech feature to provide the voice for the video.
This project is the Express backend. Also checkout the (frontend).
To get started, follow these steps:
- Clone the repository to your local machine.
- Install dependencies using
npm install
. - Add a
.env
file to the root of the project and include the necessary environment variables. - Run the development server using
npm run start:dev
. - Congratulations! Your server is now running on http://localhost:5000.
Swiftube works by taking text input (prompt) from the user and utilizing OpenAI's APIs to generate talking points for the video. The script is then passed to Remotion, which generates the actual video with the help of Google's text-to-speech feature. The resulting video is then displayed to the user.
Contributions are welcome and encouraged. If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with a descriptive message.
- Push your changes to your fork.
- Open a pull request to the main repository.
The source code in this repository is licensed under the MIT license. Remotion, a dependency of the frontend of this project, uses the Remotion license. Note that for some entities a company license is needed. Read the terms here.