github-actions[bot] commited on
Commit ·
be68e2c
0
Parent(s):
chore: deploy bundle to hf-space (9bf644d219c11c27af37ae03d4c16c34d9349ec3)
Browse files- .dockerignore +4 -0
- D3adlyRocket.js +0 -0
- Dockerfile +6 -0
- README.md +28 -0
.dockerignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
node_modules
|
| 2 |
+
npm-debug.log
|
| 3 |
+
.git
|
| 4 |
+
.gitignore
|
D3adlyRocket.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Dockerfile
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM oven/bun:1-slim
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY D3adlyRocket.js ./D3adlyRocket.js
|
| 4 |
+
ENV PORT=7860
|
| 5 |
+
EXPOSE 7860
|
| 6 |
+
CMD ["bun", "D3adlyRocket.js"]
|
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: D3adlyRocket-API
|
| 3 |
+
emoji: 🚀
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: gray
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# D3adlyRocket-API
|
| 11 |
+
|
| 12 |
+
Multi-provider streaming aggregator. SSE endpoint for TMDB ID lookup, embedded proxy with M3U8/MPD rewriting.
|
| 13 |
+
|
| 14 |
+
## Endpoints
|
| 15 |
+
|
| 16 |
+
| Route | Description |
|
| 17 |
+
|-------|-------------|
|
| 18 |
+
| `GET /?id={tmdb_id}` | SSE stream of provider sources (movie) |
|
| 19 |
+
| `GET /?id={tmdb_id}&s={season}&e={episode}` | SSE stream of provider sources (TV) |
|
| 20 |
+
| `GET /api?url={target}` | Embedded proxy — M3U8/MPD rewrite, byte-range passthrough |
|
| 21 |
+
|
| 22 |
+
## Run
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
PORT=7861 node server.js
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
Port defaults to `7861`. Set via `PORT` env.
|