spectyra-proxy 1.0.0 → 1.0.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 +1 -25
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Local proxy server that provides an OpenAI-compatible endpoint, routing requests
|
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
|
-
###
|
|
16
|
+
### Install via npm (Recommended)
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
19
|
npm install -g spectyra-proxy
|
|
@@ -30,23 +30,6 @@ spectyra-proxy
|
|
|
30
30
|
|
|
31
31
|
If you need to modify the code or the npm package isn't available:
|
|
32
32
|
|
|
33
|
-
```bash
|
|
34
|
-
# Clone the repository
|
|
35
|
-
git clone https://github.com/your-username/spectyra.git
|
|
36
|
-
cd spectyra/tools/proxy
|
|
37
|
-
|
|
38
|
-
# Install dependencies
|
|
39
|
-
npm install
|
|
40
|
-
# or
|
|
41
|
-
pnpm install
|
|
42
|
-
|
|
43
|
-
# Build (compiles TypeScript to JavaScript)
|
|
44
|
-
npm run build
|
|
45
|
-
|
|
46
|
-
# Start
|
|
47
|
-
npm start
|
|
48
|
-
```
|
|
49
|
-
|
|
50
33
|
## Quick Start
|
|
51
34
|
|
|
52
35
|
1. **Start the proxy:**
|
|
@@ -56,13 +39,6 @@ npm start
|
|
|
56
39
|
spectyra-proxy
|
|
57
40
|
```
|
|
58
41
|
|
|
59
|
-
**If installed from source:**
|
|
60
|
-
```bash
|
|
61
|
-
npm start
|
|
62
|
-
# or
|
|
63
|
-
pnpm start
|
|
64
|
-
```
|
|
65
|
-
|
|
66
42
|
2. **Configure via dashboard:**
|
|
67
43
|
- Open http://localhost:3002 in your browser
|
|
68
44
|
- Enter your Spectyra API key
|
package/package.json
CHANGED