Delete README.md
Browse files
README.md
DELETED
|
@@ -1,72 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: ShowBox Stremio Addon
|
| 3 |
-
emoji: π¬
|
| 4 |
-
colorFrom: purple
|
| 5 |
-
colorTo: indigo
|
| 6 |
-
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
-
---
|
| 9 |
-
|
| 10 |
-
# ShowBox Stremio Addon
|
| 11 |
-
|
| 12 |
-
Direct HTTP streams for Stremio via ShowBox + FebBox.
|
| 13 |
-
|
| 14 |
-
## Deploying to HuggingFace Spaces
|
| 15 |
-
|
| 16 |
-
### Step 1 β Create a Space
|
| 17 |
-
|
| 18 |
-
1. Go to [huggingface.co/new-space](https://huggingface.co/new-space)
|
| 19 |
-
2. Give it a name (e.g. `showbox-stremio`)
|
| 20 |
-
3. Set **SDK** to **Docker**
|
| 21 |
-
4. Set **Visibility** to **Public** (Stremio needs to reach it)
|
| 22 |
-
5. Click **Create Space**
|
| 23 |
-
|
| 24 |
-
### Step 2 β Upload the files
|
| 25 |
-
|
| 26 |
-
Upload all 5 files to your Space (via the web UI or git):
|
| 27 |
-
- `index.js`
|
| 28 |
-
- `showbox.js`
|
| 29 |
-
- `package.json`
|
| 30 |
-
- `Dockerfile`
|
| 31 |
-
- `README.md`
|
| 32 |
-
|
| 33 |
-
**Via git:**
|
| 34 |
-
```bash
|
| 35 |
-
git clone https://huggingface.co/spaces/YOUR_USERNAME/YOUR_SPACE_NAME
|
| 36 |
-
cd YOUR_SPACE_NAME
|
| 37 |
-
# copy all addon files here
|
| 38 |
-
git add .
|
| 39 |
-
git commit -m "deploy showbox addon"
|
| 40 |
-
git push
|
| 41 |
-
```
|
| 42 |
-
|
| 43 |
-
### Step 3 β Add your FebBox cookie as a Secret
|
| 44 |
-
|
| 45 |
-
1. In your Space β **Settings** β **Repository secrets**
|
| 46 |
-
2. Add a secret named `FEBBOX_UI_COOKIE`
|
| 47 |
-
3. Value = your FebBox `ui` cookie
|
| 48 |
-
|
| 49 |
-
**How to get it:**
|
| 50 |
-
- Go to [febbox.com](https://www.febbox.com) β log in with Google
|
| 51 |
-
- Press `F12` β Application tab β Cookies β `febbox.com`
|
| 52 |
-
- Copy the value of the cookie named `ui`
|
| 53 |
-
|
| 54 |
-
### Step 4 β Install in Stremio
|
| 55 |
-
|
| 56 |
-
Once the Space is running, your addon URL will be:
|
| 57 |
-
```
|
| 58 |
-
https://YOUR_USERNAME-YOUR_SPACE_NAME.hf.space/manifest.json
|
| 59 |
-
```
|
| 60 |
-
|
| 61 |
-
Add that URL in Stremio β **Add addon**.
|
| 62 |
-
|
| 63 |
-
---
|
| 64 |
-
|
| 65 |
-
## Environment variables
|
| 66 |
-
|
| 67 |
-
| Variable | Required | Description |
|
| 68 |
-
|---|---|---|
|
| 69 |
-
| `FEBBOX_UI_COOKIE` | β
Yes | Your FebBox `ui` cookie value |
|
| 70 |
-
| `SHOWBOX_PROXY_URL` | Optional | Proxy ending in `?destination=` for ShowBox |
|
| 71 |
-
| `FEBBOX_PROXY_URL` | Optional | Proxy ending in `?destination=` for FebBox |
|
| 72 |
-
| `PORT` | Auto | Set to 7860 by default for HuggingFace |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|