Skip to content

Commit 54fe4e2

Browse files
authored
⬆️ v0.1.2
2 parents f499be5 + cc9e387 commit 54fe4e2

File tree

6 files changed

+20
-8
lines changed

6 files changed

+20
-8
lines changed

docs/api/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ GET /health
347347
Response:
348348
{
349349
"status": "healthy",
350-
"version": "0.1.1b",
350+
"version": "0.1.2",
351351
"timestamp": "2024-01-01T00:00:00Z",
352352
"checks": {
353353
"database": "ok",

docs/contributing/code-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Project metadata and dependencies:
348348
```toml
349349
[project]
350350
name = "routstr"
351-
version = "0.1.1b"
351+
version = "0.1.2"
352352
dependencies = [
353353
"fastapi[standard]>=0.115",
354354
"sqlmodel>=0.0.24",

docs/getting-started/quickstart.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,27 @@ docker run -d \
2828
For a full setup with Tor support:
2929

3030
1. Clone the repository:
31+
3132
```bash
3233
git clone https://github.com/routstr/routstr-core.git
3334
cd routstr-core
3435
```
3536

3637
2. Create environment file:
38+
3739
```bash
3840
cp .env.example .env
3941
# Edit .env with your settings
4042
```
4143

4244
3. Start the services:
45+
4346
```bash
4447
docker compose up -d
4548
```
4649

4750
This will start:
51+
4852
- Routstr proxy on port 8000
4953
- Tor hidden service (optional)
5054
- Automatic database migrations
@@ -58,11 +62,12 @@ curl http://localhost:8000/v1/info
5862
```
5963

6064
You should see:
65+
6166
```json
6267
{
6368
"name": "ARoutstrNode",
6469
"description": "A Routstr Node",
65-
"version": "0.1.1b",
70+
"version": "0.1.2",
6671
"npub": "",
6772
"mints": ["https://mint.minibits.cash/Bitcoin"],
6873
"models": {...}
@@ -74,18 +79,21 @@ You should see:
7479
### Install Dependencies
7580

7681
1. Install [uv](https://github.com/astral-sh/uv) package manager:
82+
7783
```bash
7884
curl -LsSf https://astral.sh/uv/install.sh | sh
7985
```
8086

8187
2. Clone and setup:
88+
8289
```bash
8390
git clone https://github.com/routstr/routstr-core.git
8491
cd routstr-core
8592
uv sync
8693
```
8794

8895
3. Configure environment:
96+
8997
```bash
9098
cp .env.example .env
9199
# Edit .env with your settings
@@ -120,6 +128,7 @@ curl -X POST http://localhost:8000/v1/wallet/create \
120128
```
121129

122130
Response:
131+
123132
```json
124133
{
125134
"api_key": "rUvK7...",
@@ -156,6 +165,7 @@ CASHU_TOKEN="your-token" python example.py
156165
```
157166

158167
This demonstrates:
168+
159169
- Creating an API key from a token
160170
- Making streaming chat requests
161171
- Automatic balance deduction
@@ -170,18 +180,20 @@ curl http://localhost:8000/v1/models
170180

171181
### View Admin Dashboard
172182

173-
Open http://localhost:8000/admin/ in your browser.
183+
Open <http://localhost:8000/admin/> in your browser.
174184

175185
Default password is set in `ADMIN_PASSWORD` environment variable.
176186

177187
### Monitor Logs
178188

179189
Docker:
190+
180191
```bash
181192
docker compose logs -f routstr
182193
```
183194

184195
Local:
196+
185197
```bash
186198
# Logs are in ./logs/ directory
187199
tail -f logs/routstr.log
@@ -211,4 +223,4 @@ tail -f logs/routstr.log
211223

212224
- [Configuration Guide](configuration.md) - Customize settings
213225
- [Docker Setup](docker.md) - Production deployment
214-
- [User Guide](../user-guide/introduction.md) - Detailed usage
226+
- [User Guide](../user-guide/introduction.md) - Detailed usage

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "routstr"
3-
version = "0.1.1b"
3+
version = "0.1.2"
44
description = "Payment proxy for your LLM endpoint using cashu and nostr."
55
readme = "README.md"
66
requires-python = ">=3.11"

routstr/core/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
setup_logging()
2525
logger = get_logger(__name__)
2626

27-
__version__ = "0.1.1b"
27+
__version__ = "0.1.2"
2828

2929

3030
@asynccontextmanager

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)