sni-cli 1.2.4__tar.gz → 1.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sni_cli-1.2.4 → sni_cli-1.2.5}/PKG-INFO +1 -1
- {sni_cli-1.2.4 → sni_cli-1.2.5}/pyproject.toml +1 -1
- sni_cli-1.2.5/sni/__init__.py +1 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/worker/README.md +20 -7
- sni_cli-1.2.4/sni/__init__.py +0 -1
- {sni_cli-1.2.4 → sni_cli-1.2.5}/.gitignore +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/LICENSE +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/README.md +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/install.ps1 +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/install.sh +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/__main__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/cli.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/config.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/exceptions.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/logger.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/player.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/__init__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/allanime.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/base.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/cache.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/extractors/__init__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/extractors/megacloud.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/extractors/vixcloud.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/providers/registry.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/__init__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/app.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/bridge.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/screens/__init__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/screens/help.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/screens/history.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/screens/home.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/screens/player.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/widgets/__init__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/widgets/ascii_art.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/tui/widgets/info_box.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/ui.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/watch_history.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/sni/wizard.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/__init__.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/conftest.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/test_allanime_captcha.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/test_cache.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/test_config.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/test_exceptions.py +0 -0
- {sni_cli-1.2.4 → sni_cli-1.2.5}/tests/test_providers.py +0 -0
|
@@ -9,7 +9,7 @@ build-backend = "hatchling.build"
|
|
|
9
9
|
# just `sni` (defined below in [project.scripts]), so users run `sni play`,
|
|
10
10
|
# `sni tui`, etc. — only `pip install sni-cli` differs from the bare name.
|
|
11
11
|
name = "sni-cli"
|
|
12
|
-
version = "1.2.
|
|
12
|
+
version = "1.2.5"
|
|
13
13
|
description = "Stream Ninja Interface — terminal-based anime streaming CLI + TUI"
|
|
14
14
|
readme = "README.md"
|
|
15
15
|
requires-python = ">=3.10"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.5"
|
|
@@ -28,20 +28,33 @@ Pick **one**. All three run the same JavaScript code (slightly different entry-p
|
|
|
28
28
|
|
|
29
29
|
## Option 1: Deno Deploy (recommended — most reliable)
|
|
30
30
|
|
|
31
|
+
**Easiest method — Playground (no GitHub repo needed):**
|
|
32
|
+
|
|
31
33
|
1. Go to https://dash.deno.com → Sign in with GitHub
|
|
32
34
|
2. Click **"New Project"**
|
|
33
|
-
3. Click **"Playground"** (top-right
|
|
34
|
-
4. Delete the default code
|
|
35
|
-
5.
|
|
36
|
-
6.
|
|
37
|
-
7.
|
|
38
|
-
8.
|
|
35
|
+
3. Click **"Playground"** (top-right corner — IMPORTANT: don't pick "Import from GitHub" or you'll hit the `/tmp/build/src/main.ts` not found error)
|
|
36
|
+
4. Delete the default code in the editor
|
|
37
|
+
5. Paste the entire contents of [`main.ts`](./main.ts) from this directory
|
|
38
|
+
6. Click **"Save & Deploy"**
|
|
39
|
+
7. You'll get a URL like `https://your-project.deno.dev` — copy it
|
|
40
|
+
8. Test it in your browser: visit `https://your-project.deno.dev/` — you should see `{"ok":true,"service":"sni-stream-proxy",...}`
|
|
41
|
+
9. Save it to SNI:
|
|
39
42
|
|
|
40
43
|
```bash
|
|
41
44
|
sni config --update allanime_cf_worker_url='https://your-project.deno.dev'
|
|
42
45
|
```
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
10. Try SNI: `sni play "one piece"`
|
|
48
|
+
|
|
49
|
+
**Alternative method — GitHub repo (if Playground doesn't work for you):**
|
|
50
|
+
|
|
51
|
+
1. Fork the SNI repo on GitHub
|
|
52
|
+
2. Go to https://dash.deno.com → "New Project" → pick your fork
|
|
53
|
+
3. Deno Deploy auto-detects `main.ts` (or `deno.json`'s `entrypoint` field) as the entrypoint
|
|
54
|
+
4. Click "Link" → "Deploy"
|
|
55
|
+
5. Copy the URL, save to SNI as above
|
|
56
|
+
|
|
57
|
+
**If you see "Entrypoint at '/tmp/build/src/main.ts' not found":** This means you picked "New Project" but Deno Deploy can't find the entrypoint. Fix by either using the Playground (above) or pushing `main.ts` to the root of your GitHub repo (not inside `src/`).
|
|
45
58
|
|
|
46
59
|
---
|
|
47
60
|
|
sni_cli-1.2.4/sni/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.4"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|