Transcribe videos and generate efficient texts and scripts
Demo
Report Bug
Table of Contents
Light Desktop | Dark Desktop |
---|---|
Light Mobile | Dark Mobile |
Project built during NLW AI, consists of an application for transcribing videos. The application flow is to receive an mp4 as input, which will be converted into mp3 to obtain the transcription of this audio and later the user can choose one of the pre-configured Prompts and optionally insert some keywords mentioned in the video, then they can execute it to allow AI to generate the response
Technologies used in the project.
- Fastify Fast and low overhead web framework, for Node.js.
-
TypeScript A strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
-
Prisma Next-generation Node.js and TypeScript ORM.
- Zod TypeScript-first schema validation with static type inference.
- Create an OpenAI account in this link:
https://platform.openai.com/signup?launch
- Access the following link and generate your apiKey
https://platform.openai.com/account/api-keys
- After cloning the repo, rename
.env.example
to.env
and paste your apiKey value
# .env file
DATABASE_URL="file:./dev.db" # paste the address of your bank inside the quotation marks if it is not local
OPENAI_KEY="" # paste your apiKey inside the quotes
- Clone the repo
git clone https://github.com/SilasRodrigues19/NLW-IA-API.git
- Install dependencies (you can use npm, pnpm, yarn or anything else)
pnpm install
- In the project directory, you can run with the following
pnpm start
- Open the link below to view the app it in your browser.
http://localhost:3333/
- To run database seed
pnpm prisma db seed
- Initialize the prism, generate and run the migrations
pnpm prisma init && pnpm prisma generate && pnpm prisma migrate dev
- To run prisma studio and view the database
pnpm prisma studio
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Silas Rodrigues - @jinuye1 - [email protected]
Project Link: https://github.com/SilasRodrigues19/NLW-IA
🔼 Back to top