HashStream

HashStream

HashStream

Professional Video Management Platform

Version 1.2.0

Open Source
Overview

HashStream is a comprehensive multi-provider video streaming management platform designed to simplify video content management while reducing operational costs. It provides a unified interface to manage videos across multiple streaming providers including Cloudflare Stream, AWS S3, and compatible S3-compatible storage solutions.

Built for developers, DevOps engineers, and video content managers, HashStream offers powerful features like role-based access control, intelligent S3 offloading for cost optimization, real-time video synchronization, and comprehensive video organization with event-based management.

Key Features (v1.2.0)
Multi-Provider Support

Seamlessly manage videos across Cloudflare Stream, AWS S3, and MinIO/S3-compatible storage. Switch providers or maintain multiple sources from a single dashboard.

S3 Offload Engine

Automatically or manually offload videos from Cloudflare Stream to S3 storage. Reduce CDN costs by up to 70% while maintaining video availability and performance.

Role-Based Access Control (RBAC)

Fine-grained permissions with 5 roles (Admin, Manager, Editor, Viewer, Guest). Define custom permissions for each role to control video access and operations.

Video Organization & Management

Organize videos by events, track views and duration, manage video metadata, and bulk operations. Complete video lifecycle management from upload to archive.

Webhook Integration

Receive real-time notifications for video events (upload, encode, delete). Integrate with external systems for automated workflows.

Real-Time Video Sync

Automatic synchronization with Cloudflare Stream API. Video status, encoding progress, and metadata stay up-to-date across all providers.

Alert System

Monitor video availability, encoding failures, and system events. Real-time alerts keep you informed of important platform activities.

Analytics & Reporting

Track storage usage, CDN costs, video statistics, and user activity. Make data-driven decisions to optimize your video infrastructure.

Ideal For
  • Video SaaS platforms looking to reduce CDN costs
  • Educational platforms managing lecture recordings
  • Event management systems with multi-event video content
  • Enterprise video archives requiring access control
  • Content creators and media production companies
  • Development teams building video features into applications
Technology Stack
Backend
  • FastAPI (Python 3.9+)
  • SQLAlchemy 2.0 ORM
  • PostgreSQL 14+
  • asyncpg (async DB)
  • boto3/botocore (S3)
  • aiohttp (HTTP client)
  • JWT Authentication
  • Fernet Encryption
Frontend
  • React 18
  • Vite (bundler)
  • Bootstrap 5
  • React Router v6
  • Phosphor Icons
  • Modern CSS
  • Responsive Design

Deployment: PM2 process manager | Database: PostgreSQL with async connection pooling | Security: HTTP-only JWT cookies, bcrypt hashing

Core Architecture

Backend Services:

  • VideoSyncService - Syncs videos with Cloudflare Stream API
  • S3OffloadService - Handles download, upload, and cost optimization
  • ProviderConfigService - Manages multi-provider credentials
  • VideoService - Core video CRUD and lifecycle operations
  • UserService - Authentication and user management

Database Schema:

  • 9 core tables (users, videos, events, providers, webhooks, etc.)
  • JSONB support for flexible metadata storage
  • UUID primary keys for distributed systems
  • Comprehensive indexes for query optimization
What's Included

✓ Complete Backend API - 40+ protected endpoints with comprehensive documentation

✓ Modern Frontend Dashboard - React-based UI with video management, sync controls, and analytics

✓ Database Schema - Fully normalized PostgreSQL schema with migrations

✓ Authentication System - JWT-based auth with role-based access control

✓ Configuration Templates - Ready-to-use provider configs for Cloudflare, AWS S3, MinIO

✓ Docker Support - Containerization ready for easy deployment

✓ Comprehensive Documentation - API docs, setup guides, deployment instructions

✓ Open Source License - MIT Licensed, free for commercial use

Quick Start

Backend Setup:

cd backend
pip install -r requirements.txt
python app/main.py

Frontend Setup:

cd frontend
npm install
npm run dev

Full setup documentation available in the GitHub repository with step-by-step guides for Docker, production deployment, and provider configuration.

Future Roadmap (2026)
Phase 1: Q1 2026 - Analytics & Intelligence
  • Advanced analytics dashboard with storage and cost charts
  • Real-time cost analysis and savings reporting
  • Video performance metrics and viewing patterns
Phase 2: Q2 2026 - Automation & AI
  • Automatic S3 offload based on retention policies
  • Bulk operations and batch processing
  • AI-powered video categorization and tagging
Phase 3: Q3 2026 - Enterprise Features
  • Multi-tenancy support for SaaS platforms
  • Team collaboration features
  • Custom branding and white-label options
Phase 4: Q4 2026 - Advanced Media
  • Transcoding and format conversion
  • Global CDN integration
  • Live streaming support
  • Advanced search and filtering
HashStream

Video Management Platform

Unified video management across multiple streaming providers with S3 cost optimization.
  • Version
    1.2.0
  • Category
    Video Management
  • Languages
    Python, JavaScript
  • Stack
    FastAPI + React
  • License
    MIT (Open Source)
  • Status
    Production Ready
Key Stats
  • 40+ API Endpoints
  • 9 Database Tables
  • 5 User Roles
  • Multi-Provider Support
  • Real-Time Sync