Skip to content
Projects

About

A high-performance, modern full-stack system for aggregating media from multiple sources, built to create a personal media library. Supports Tvbox and the native Ecohub app.

Other Projects

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+6
in 15 days
+10
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

docs/en/README.md

Original
EcoHub

EcoHub

Release Go Next.js Docker License

Self-hosted multi-source media aggregation system for public sites and private deployments, bundling the web UI, Go API, and subscription endpoints in a single image

中文 | English

Live demo · Admin demo · Deploy guide · FAQ · Release notes · Community

[!WARNING] v3 is incompatible with v2 databases and provides no migration. Do not update directly over an existing ./data/mysql or use "立即升级" in v2. See Upgrading from v2 to v3.

Live demo

Entry URL Account
Site https://eco.fe-spark.cn No sign-in required
Admin https://eco.fe-spark.cn/manage Username guest, password guest

Recommendations

Kind Provider Notes Link
Server CloudCone Hosts the demo; unthrottled disk I/O Visit
Network LiangXinYun From ¥2/mo Register
Network PeiQian From ¥1.5/mo Register
Network QingYu Reliable backup network service Register

Main features

  • Multi-source collect: JSON / XML APIs with scheduled full and incremental collects, collect record tracking, and failed-page retries.
  • Main source and search: explicit global main source and independent poster source, in-memory pinyin/word search, and TMDB scraping.
  • Viewing site: homepage banners and chart recommendations, multi-filter browsing, watch history, Artplayer with danmaku, and private access control.
  • Admin panel: library and category rules, homepage management, analytics, outbound network proxy, backup/restore, and Telegram notifications.
  • Subscription endpoints: exposes unified APIs for multiple clients:
    • /api/provide/app: EcoHub native clients
    • /api/provide/tvbox: TVBox / 影视仓
    • /api/provide/vod: MacCMS

Companion clients

Two standalone native mobile clients are included as git submodules. Enter the site root URL or /api/provide/app in the app to sync the library and play, with multi-source switching and private access key (?key=) support:

Client Platform & stack Submodule path Downloads
EcoHub for Android Android (Flutter 3.x) app-for-android/ Download APK
EcoHub for OHOS HarmonyOS / OpenHarmony (API 13+) app-for-ohos/ Download HAP

Quick start

Requirements: Docker 20+ and Docker Compose, with 2 CPU cores and 2 GB RAM or more recommended (running with MySQL 8 and Redis 7).

curl -fsSL https://raw.githubusercontent.com/fe-spark/EcoHub/main/scripts/install-release.sh \
  | ECOHUB_IMAGE=ghcr.io/fe-spark/ecohub:v3.2.15 sh

After installation, the terminal prints the URLs, initial credentials, and subscription endpoints. The default web port is 3000, the install directory is ~/ecohub, and day-to-day maintenance uses the ecohub command.

Admin sign-in

Open http://<server-ip>:3000/manage. An unauthenticated visit opens /login.

The first startup creates only the super user admin. The password is the value of ECOHUB_ADMIN_PASSWORD at that time. When the variable is unset, the password is admin.

  1. Set the password before the first startup: place ECOHUB_ADMIN_PASSWORD='use-a-strong-password' before sh in the install command. The install script writes that value into .env in the install directory.
  2. Change the password after the account exists: open "系统运维" (System operations) → "账号管理" (Accounts), click "编辑" (Edit) for admin, enter the new password, and click "保存" (Save). Changing ECOHUB_ADMIN_PASSWORD and restarting after that does not update the existing password.

[!WARNING] Change the default password admin before public exposure.

For 1Panel, manual deployment, reverse proxies, and the remaining environment variables, see the Deploy guide and Operations.

Documentation

Document Contents
Deploy guide Install script, 1Panel, manual docker run, URLs, reverse proxy
Operations and configuration ecohub CLI, password/port reload rules, overrides, external DB, env vars
Upgrading from v2 to v3 Removing old containers, fresh install with empty DB, full collect
FAQ Empty site, main source, banners/recommendations, proxy, danmaku, private access
Developer & architecture docs Local setup, Core mechanics, Task conflicts, Server, and Web
Full docs index Complete index of user, operations, and developer docs
Repository layout (click to expand)
EcoHub/
├── server/              # Go backend API (Go 1.27+)
├── web/                 # Next.js frontend (Next.js 16)
├── app-for-android/     # Android client (git submodule)
├── app-for-ohos/        # OHOS client (git submodule)
├── deploy/release/      # Release compose file (compose.yml)
├── scripts/             # Install and CLI script install-release.sh (ecohub)
├── docs/                # Project documentation (guide/, dev/, en/)
├── .github/workflows/   # GitHub Release and Docker image workflows
├── Dockerfile           # All-in-One release image
├── docker-compose.yml   # Local development compose
└── supervisord.conf     # Process manager config inside the release image

[!NOTE] EcoHub provides and stores no media files. All metadata comes from collect APIs configured by the operator.

Contributing and license

Maintained in spare time; Issues and Pull Requests are welcome (documentation updates follow the Style guide (Chinese)).

Licensed under the PolyForm Noncommercial License 1.0.0 for noncommercial use only. Comply with local laws and the terms of use of each collect source.

Explore related projects

Loading…