Git Product home page Git Product logo

nextlevelweek13's Introduction




๐Ÿ“Š About

An application that enables users to upload videos and, through AI, automatically generate attention-grabbing titles and well-indexed descriptions.

๐Ÿ’ป WEB

For the front-end development of the application, features of ReactJS were leveraged, such as componentization, properties, and common hooks like useEffect, useMemo, and useState. Additionally, Shadcn UI library components were integrated. Video-to-audio conversion was achieved using the FFmpeg library. For styling, Tailwind CSS was employed, offering the benefit of rapid and consistent UI development. Furthermore, the backend API was seamlessly accessed using Axios, enhancing the application's functionality.

Technologies and libs:
Features
  • Select a video and display a video preview.
  • Video transcription prompt.
  • Video-to-audio conversion.
  • Status update during video-to-audio conversion and
    audio-to-transcription process.
  • Customize AI response creativity.
  • Automatic generation of detailed AI prompts.
  • Display AI-generated responses on the screen.

how to run the project:

#  Clone this repository.
$ git clone https://github.com/KRochaS/NextLevelWeek13

# Navigate to the project folder in the terminal/cmd.
$ cd web/

# Install the dependencies.
$ npm i ou yarn install

# Run the project
$ npm run dev

# http://localhost:5173/

๐Ÿ‘ฉโ€๐Ÿ’ป Server

Technologies and libs:

For the back-end development of the application with NodeJS were created the routes using some of Node's built-in features in conjunction with the Fastify framework. For database integration, Prisma and Sqlite was utilized. Additionally, OpenAI and streaming resources were used to generate responses through transcription.

Features
  • Creation of a GET route to fetch pre-registered prompts.
  • Creation of a POST route for video uploads.
  • Creation of a POST route to obtain audio transcription
    by sending the prompt as the request body.
  • Creation of a POST route that returns the AI-generated response.

how to run the project:

#  Clone this repository.
$ git clone https://github.com/KRochaS/NextLevelWeek13

# Configure Database in .env file
# DATABASE_URL="file:./dev.db"

# Configure OPENAI KEY in .env file
# OPENAI_KEY="KEY"
# To obtain an OpenAI API key, you need to create an account on the website and 
# generate a key by providing your email and phone number for verification.

# Navigate to the project folder in the terminal/cmd.
$ cd server/

# Install the dependencies.
$ npm i ou yarn install

# Run the project
$ npm run dev

# HTTP server running on http://localhost:3333

nextlevelweek13's People

Contributors

krochas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.