Skip to content

aadeshkulkarni/sanchay-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sanchay AI (A Generative AI app)

Upload your video and SanchayAI will generate key elements (video transcription, video subtitles, and video chapters) in an organized and easily accessible manner.

Project Status and Contribution Potential

This project is in its infancy and has just been scaffolded with a new architecture. It's at a crucial stage where contributions can significantly shape its future and scalability. With the right environment and collaborative effort, it has the potential to evolve into something truly remarkable.

System (In a nutshell)

System

Requirements:

  • MongoDB
  • RabbitMQ
  • Localstack

There are 2 apps:

  1. web-app
  • This is a fullstack NextJS app.
  • The project depends on 3 services:
    • RabbitMQ
    • Localstack
    • MongoDB
  1. worker
  • This is a Python based RabbitMQ worker that listens to request from web-app and processes them in the background.
  • The project also depends on 3 services:
    • RabbitMQ
    • Localstack
    • MongoDB

Setup

Before setting up the codebase, it's important to setup the services the codebase depends on.

Setup RabbitMQ locally

  • If you have docker installed on your system, you can setup RabbitMQ using the command
    • docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13-management
    • This will spinup RabbitMQ on localhost:15672 (default username/password = guest/guest)

OR

  • If you don't want to setup using docker, you can setup RabbitMQ by following steps here

Setup MongoDB

Localstack

Once the above services are up, clone the sanchay-ai repository

Worker setup

  • cd into apps/worker folder
  • follow readme instructions
  • pip install
  • python consumer.py

Web-app setup

  • cd into apps/web-app folder
  • follow readme instructions
  • npm install
  • npm run dev

If all is working well,

  • Your Web-app should be listening on localhost:3000
  • Your Rabbit-MQ should be working on http://localhost:15672/
  • Your localstack should be working on http://localhost:4566 (nothing to display on chrome here)

You can run the app and upload a test video which is available in the codebase here - ./docs/video.mp4

Home Videos

About

Takes your video and generates video title, description, hashtags, transcription, subtitles and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published