api / README.md
jamelloverz-sketch
PopCorn API v3.5 - Media metadata, people, images, open CORS
c18e004
|
Raw
History Blame Contribute Delete
1.97 kB
metadata
title: Unified API
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false

PopCorn Unified API

Single API space for the PopCorn Mini App β€” combines all features:

  • Archive β€” orchestrate archiver spaces, track progress, check duplicates, stats
  • Stream β€” per-account proxied streaming with account-specific datasets
  • Movies / Series β€” TMDB-powered browse, search, genres, trending
  • Auth β€” Telegram Mini App login
  • User β€” profiles, watch history, lists
  • Social β€” friends, chat, watch parties
  • Store β€” products, assets, purchases (stars/kernels)
  • Comments β€” ratings, reviews, likes

Architecture

upload-bot β†’ /api/v1/archive/file β†’ api β†’ user[N]/archiver/receive β†’ git push β†’ HF dataset
                                          ↓
                                   /api/v1/archive/progress/update ← archiver reports
                                          ↓
                                   frontend polls /api/v1/archive/progress

frontend β†’ /api/v1/stream/movie/{id} β†’ api β†’ user[N]/proxy/stream/{dataset}|{file}

Accounts

Key Name Dataset Proxy Archiver
user1 Mshary multimedia-cryptography-benchmarks/archive ...-benchmarks-proxy.hf.space ...-benchmarks-archiver.hf.space
user2 Abdullah rayig/archive rayig-proxy.hf.space rayig-archiver.hf.space
user3 Abdulaziz ToolKit-backend/archive toolkit-backend-proxy.hf.space toolkit-backend-archiver.hf.space
user4 Tariq Dgntsn.../archive ...-proxy.hf.space ...-archiver.hf.space