fitguard 0.1.0 → 0.1.1
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/README.md +23 -0
- package/package.json +22 -4
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# fitguard
|
|
2
|
+
|
|
3
|
+
Self-hosted, OpenAI-compatible AI gateway that stops runaway LLM bills
|
|
4
|
+
before they happen. This package is a thin installer: `postinstall`
|
|
5
|
+
downloads the matching prebuilt `fitguard` binary from [GitHub
|
|
6
|
+
Releases](https://github.com/Oluiy/ai-cost-guard/releases) and verifies it
|
|
7
|
+
against the published checksums. No Node dependencies — the binary itself
|
|
8
|
+
is a single Go executable.
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g fitguard
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Use
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
fitguard init # interactive: pick providers, paste real API keys, add budgeted users
|
|
20
|
+
fitguard run # starts the gateway on http://localhost:8787
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Full documentation: https://ai-cost-guard-ruddy.vercel.app/
|
package/package.json
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fitguard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Self-hosted, OpenAI-compatible AI gateway that stops runaway LLM bills before they happen.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"llm",
|
|
8
|
+
"gateway",
|
|
9
|
+
"proxy",
|
|
10
|
+
"openai",
|
|
11
|
+
"anthropic",
|
|
12
|
+
"cost",
|
|
13
|
+
"budget",
|
|
14
|
+
"rate-limit"
|
|
15
|
+
],
|
|
5
16
|
"license": "Apache-2.0",
|
|
6
17
|
"homepage": "https://github.com/Oluiy/ai-cost-guard",
|
|
7
18
|
"repository": {
|
|
8
19
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/Oluiy/ai-cost-guard.git"
|
|
20
|
+
"url": "git+https://github.com/Oluiy/ai-cost-guard.git"
|
|
10
21
|
},
|
|
11
22
|
"bin": {
|
|
12
23
|
"fitguard": "bin/cli.js"
|
|
@@ -18,8 +29,15 @@
|
|
|
18
29
|
"scripts": {
|
|
19
30
|
"postinstall": "node scripts/postinstall.js"
|
|
20
31
|
},
|
|
21
|
-
"os": [
|
|
22
|
-
|
|
32
|
+
"os": [
|
|
33
|
+
"darwin",
|
|
34
|
+
"linux",
|
|
35
|
+
"win32"
|
|
36
|
+
],
|
|
37
|
+
"cpu": [
|
|
38
|
+
"x64",
|
|
39
|
+
"arm64"
|
|
40
|
+
],
|
|
23
41
|
"engines": {
|
|
24
42
|
"node": ">=14"
|
|
25
43
|
}
|