Sign inSign up

imvickykumar999/allinone-app

By imvickykumar999

•Updated 3 months ago

https://github.com/imvickykumar999/All-in-One-Stream-Dashboard

Image
0

332

imvickykumar999/allinone-app repository overview

⁠Stream Dashboard

A comprehensive streaming application that supports multiple platforms including Twitch, Kick, YouTube, Instagram, and Telegram integration.

⁠Features

  • Multi-Platform Streaming: Stream to Twitch, Kick, YouTube, and Instagram simultaneously
  • Telegram Integration: Send stream notifications and updates via Telegram
  • Video Upload: Support for multiple video formats (mp4, mov, mkv, avi, webm)
  • Real-time Logging: Stream logs with up to 400 lines of history
  • FFmpeg Integration: Advanced video encoding with customizable bitrate settings
  • Web Interface: Flask-based UI for easy configuration and control
  • Docker Support: Complete containerization for easy deployment

⁠Prerequisites

  • Python 3.11+
  • FFmpeg
  • Docker & Docker Hub account (for containerized deployment)

⁠Installation

⁠Local Setup
  1. Clone the repository:
git clone <repository-url>
cd AllinOne
  1. Create virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create configuration file at uploads/.stream_config.json:
{
  "video_path": "/path/to/video.mp4",
  "filename": "video.mp4",
  "settings": {
    "maxrate": "3000k",
    "bufsize": "6000k",
    "audioBitrate": "160k",
    "twitchKey": "your_twitch_key",
    "youtubeKey": "your_youtube_key",
    "instaUrl": "your_instagram_rtmp_url",
    "instaKey": "your_instagram_key",
    "kickUrl": "your_kick_rtmp_url",
    "kickKey": "your_kick_key",
    "telegramKey": "your_telegram_bot_token",
    "telegramChatId": "your_telegram_chat_id"
  }
}
  1. Run the application:
python app.py

Access the application at http://localhost:5000

⁠Docker Deployment

⁠Build the Image
docker build -t allinone-app .
⁠Run as Service
docker run -d -p 5000:5000 --name allinone-service allinone-app
⁠Access the Service

Open your browser and navigate to http://localhost:5000

⁠Configuration

⁠Streaming Keys Required

Update uploads/.stream_config.json with your platform credentials:

  • Twitch: Stream key (format: live_...)
  • YouTube: Stream key
  • Kick: RTMP URL and stream key
  • Instagram: RTMP URL and stream key
  • Telegram: Bot token and chat ID
⁠Video Settings

Configure encoding parameters in the settings section:

  • maxrate: Maximum bitrate (default: 3000k)
  • bufsize: Buffer size (default: 6000k)
  • audioBitrate: Audio bitrate (default: 160k)

⁠API Endpoints

  • GET / - Main dashboard
  • GET /logs - Stream logs
  • POST /upload - Upload video file
  • POST /stream/start - Start streaming
  • POST /stream/stop - Stop streaming
  • GET /stream/status - Check stream status

⁠Platform-Specific Notes

⁠Twitch
  • Obtain stream key from Creator Dashboard → Settings → Stream Key
⁠YouTube
  • Enable YouTube Live in account settings
  • Get stream key from YouTube Studio → Go Live
⁠Kick
  • Get RTMP URL and stream key from dashboard
⁠Instagram
  • Must use Instagram Business Account
  • Get RTMP credentials from settings
⁠Telegram
  • Create bot using BotFather on Telegram
  • Get bot token and your chat ID

⁠Troubleshooting

⁠Video Not Uploading
  • Ensure file size is within 2GB limit
  • Check file format is supported (.mp4, .mov, .mkv, .avi, .webm)
⁠Stream Not Starting
  • Verify all streaming keys are correct
  • Check FFmpeg is installed: ffmpeg -version
  • Review logs for specific error messages
⁠Docker Issues
  • Ensure Docker daemon is running
  • Check container logs: docker logs allinone-service
  • Verify port 5000 is not in use

⁠Performance Notes

  • Max file size: 2GB
  • Supported video formats: mp4, mov, mkv, avi, webm
  • Bitrate recommendations: 3000k-5000k for 1080p 30fps

⁠License

This project is open source.

⁠Support

For issues and feature requests, please open an issue on the repository.

Tag summary

Content type

Image

Digest

sha256:61e5c876c…

Size

288.4 MB

Last updated

3 months ago

docker pull imvickykumar999/allinone-app