Skip to content

🌟 Full-stack app for real-time avatar streaming with HeyGen & Gemini AI. Built with React, TypeScript, Express, and Tailwind during a hackathon by Team "Bit by Bit"

Notifications You must be signed in to change notification settings

Explore13/Streaming-Avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Streaming Avatar FullStack Application

A modern full-stack application that combines a React frontend with an Express backend to create an interactive avatar streaming experience. This project was developed as part of a hackathon by Team "Bit by Bit".

πŸ‘₯ Team "Bit by Bit"

Our team consists of talented developers working on different aspects of our hackathon project:

  • Abarna Dutta (Team Leader) - Custom avatar generation and voice cloning
  • Debraj Roy - Meeting automation and scheduling system
  • Soham Pal - Custom avatar generation and voice cloning
  • Surya Ghosh - Streaming Avatar (this project) - Full-stack development of the avatar streaming platform, including:
    • Frontend development with React and TypeScript
    • Backend API development with Express.js
    • HeyGen integration for avatar streaming
    • Gemini AI integration for chat functionality
    • Persona management system

οΏ½οΏ½ Features

  • Modern React frontend built with Vite
  • Express.js backend server
  • Real-time avatar streaming capabilities
  • Responsive UI with Tailwind CSS
  • TypeScript support for type safety
  • Modern UI components with shadcn/ui

πŸ“‹ Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v18 or higher)
  • npm (v9 or higher)
  • Git

πŸ› οΈ Installation

  1. Clone the repository:
git clone <your-repo-url>
cd Streaming_Avatar_FullStack
  1. Install frontend dependencies:
cd react-avatar-app
npm install
  1. Install backend dependencies:
cd ../server
npm install

πŸš€ Running the Application

Development Mode

  1. Start the backend server:
cd server
npm run dev
  1. Start the frontend development server:
cd react-avatar-app
npm run dev

The application will be available at:

Production Build

  1. Build the frontend:
cd react-avatar-app
npm run build
  1. Start the production server:
cd server
npm start

πŸ“ Project Structure

Streaming_Avatar_FullStack/
β”œβ”€β”€ react-avatar-app/     # Frontend React application
β”‚   β”œβ”€β”€ src/             # Source files
β”‚   β”œβ”€β”€ public/          # Static assets
β”‚   └── package.json     # Frontend dependencies
└── server/              # Backend Express server
    β”œβ”€β”€ server.js        # Main server file
    └── package.json     # Backend dependencies

πŸ› οΈ Tech Stack

Frontend

  • React 19
  • TypeScript
  • Vite
  • Tailwind CSS
  • shadcn/ui
  • ESLint & Prettier

Backend

  • Express.js
  • Node.js
  • CORS
  • dotenv

πŸ“ Scripts

Frontend

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run lint - Run ESLint
  • npm run preview - Preview production build

Backend

  • npm run dev - Start development server with nodemon
  • npm start - Start production server
  • npm run lint - Run ESLint
  • npm run format - Format code with Prettier

πŸ”’ Environment Variables

Create a .env file in the server directory with the following variables:

PORT=3000
# Add other environment variables as needed

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the ISC License.

πŸ‘₯ Authors

  • Surya Ghosh - Initial work

πŸ™ Acknowledgments

  • Thanks to all contributors who have helped shape this project

About

🌟 Full-stack app for real-time avatar streaming with HeyGen & Gemini AI. Built with React, TypeScript, Express, and Tailwind during a hackathon by Team "Bit by Bit"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published