kentutai-app 1.0.1 → 1.0.2

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.
package/cli/LICENSE ADDED
@@ -0,0 +1,42 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 9Router Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
package/cli/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # 9Router - FREE AI Router & Token Saver
2
+
3
+ **Never stop coding. Save 20-40% tokens with RTK + auto-fallback to FREE & cheap AI models.**
4
+
5
+ **Connect All AI Code Tools (Claude Code, Cursor, Antigravity, Copilot, Codex, Gemini, OpenCode, Cline, OpenClaw...) to 40+ AI Providers & 100+ Models.**
6
+
7
+ [![npm](https://img.shields.io/npm/v/9router.svg)](https://www.npmjs.com/package/9router)
8
+ [![Downloads](https://img.shields.io/npm/dm/9router.svg)](https://www.npmjs.com/package/9router)
9
+ [![Docker Pulls](https://img.shields.io/docker/pulls/decolua/9router.svg?logo=docker&label=Docker%20pulls)](https://hub.docker.com/r/decolua/9router)
10
+ [![GHCR](https://img.shields.io/badge/GHCR-decolua%2F9router-blue?logo=github)](https://github.com/decolua/9router/pkgs/container/9router)
11
+ [![License](https://img.shields.io/npm/l/9router.svg)](https://github.com/decolua/9router/blob/main/LICENSE)
12
+
13
+ <a href="https://trendshift.io/repositories/22628" target="_blank"><img src="https://trendshift.io/api/badge/repositories/22628" alt="decolua%2F9router | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
14
+
15
+ [🌐 Website](https://9router.com) • [📖 Full Docs](https://github.com/decolua/9router)
16
+
17
+ ---
18
+
19
+ ## 🤔 Why 9Router?
20
+
21
+ **Stop wasting money, tokens and hitting limits:**
22
+
23
+ - ❌ Subscription quota expires unused every month
24
+ - ❌ Rate limits stop you mid-coding
25
+ - ❌ Tool outputs (git diff, grep, ls...) burn tokens fast
26
+ - ❌ Expensive APIs ($20-50/month per provider)
27
+
28
+ **9Router solves this:**
29
+
30
+ - ✅ **RTK Token Saver** - Auto-compress tool_result, save 20-40% tokens
31
+ - ✅ **Maximize subscriptions** - Track quota, use every bit before reset
32
+ - ✅ **Auto fallback** - Subscription → Cheap → Free, zero downtime
33
+ - ✅ **Multi-account** - Round-robin between accounts per provider
34
+ - ✅ **Universal** - Works with any OpenAI/Claude-compatible CLI
35
+
36
+ ---
37
+
38
+ ## ⚡ Quick Start
39
+
40
+ **Option 1 — npm (recommended for desktop):**
41
+
42
+ ```bash
43
+ npm install -g 9router
44
+ 9router
45
+
46
+ # Or run directly with npx
47
+ npx 9router
48
+ ```
49
+
50
+ **Option 2 — Docker (server/VPS):**
51
+
52
+ ```bash
53
+ docker run -d --name 9router -p 20128:20128 \
54
+ -v "$HOME/.9router:/app/data" -e DATA_DIR=/app/data \
55
+ decolua/9router:latest
56
+ ```
57
+
58
+ Published images: [Docker Hub](https://hub.docker.com/r/decolua/9router) • [GHCR](https://github.com/decolua/9router/pkgs/container/9router) (multi-platform amd64/arm64).
59
+
60
+ 🎉 Dashboard opens at `http://localhost:20128`
61
+
62
+ **2. Connect a FREE provider (no signup needed):**
63
+
64
+ Dashboard → Providers → Connect **Kiro AI** (free Claude unlimited) or **OpenCode Free** (no auth) → Done!
65
+
66
+ **3. Use in your CLI tool:**
67
+
68
+ ```
69
+ Claude Code/Codex/OpenClaw/Cursor/Cline Settings:
70
+ Endpoint: http://localhost:20128/v1
71
+ API Key: [copy from dashboard]
72
+ Model: kr/claude-sonnet-4.5
73
+ ```
74
+
75
+ That's it! Start coding with FREE AI models.
76
+
77
+ ---
78
+
79
+ ## 🚀 CLI Options
80
+
81
+ ```bash
82
+ 9router # Start with default settings
83
+ 9router --port 8080 # Custom port
84
+ 9router --no-browser # Don't open browser
85
+ 9router --skip-update # Skip auto-update check
86
+ 9router --help # Show all options
87
+ ```
88
+
89
+ **Dashboard**: `http://localhost:20128/dashboard`
90
+
91
+ ---
92
+
93
+ ## 🛠️ Supported CLI Tools
94
+
95
+ Claude-Code • OpenClaw • Codex • OpenCode • Cursor • Antigravity • Cline • Continue • Droid • Roo • Copilot • Kilo Code • Gemini CLI • Qwen Code • iFlow • Crush • Crusher • Aider
96
+
97
+ Any tool supporting OpenAI/Claude-compatible API works.
98
+
99
+ ---
100
+
101
+ ## 💾 Data Location
102
+
103
+ - **macOS/Linux**: `~/.9router/db/data.sqlite`
104
+ - **Windows**: `%APPDATA%/9router/db/data.sqlite`
105
+ - **Docker**: `/app/data/db/data.sqlite` (mount `$HOME/.9router` to persist)
106
+
107
+ ---
108
+
109
+ ## 📚 Documentation
110
+
111
+ Full docs, advanced setup, video tutorials & development guide:
112
+
113
+ - **GitHub**: https://github.com/decolua/9router
114
+ - **Full README**: https://github.com/decolua/9router/blob/main/app/README.md
115
+ - **Website**: https://9router.com
116
+
117
+ ---
118
+
119
+ ## 🙏 Acknowledgments
120
+
121
+ - **[CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)** - Original Go implementation
122
+
123
+ ## 📄 License
124
+
125
+ MIT License - see [LICENSE](LICENSE) for details.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 decolua and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.