@rip-lang/server 0.8.3 → 1.0.0

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.
Files changed (2) hide show
  1. package/README.md +21 -17
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -2,28 +2,32 @@
2
2
 
3
3
  # Rip Server - @rip-lang/server
4
4
 
5
- > **Pure Rip application server multi-worker, hot reload, HTTPS, mDNS**
5
+ > **A production-grade application server with multi-worker processes, hot reload, HTTPS, and mDNS — written entirely in Rip**
6
6
 
7
- ## Overview
7
+ Rip Server is a self-contained application server that turns any
8
+ [@rip-lang/api](https://github.com/shreeve/rip-lang/tree/main/packages/api)
9
+ app into a production-ready service. It handles multi-worker process management,
10
+ rolling restarts, automatic TLS certificates, mDNS service discovery, and
11
+ request load balancing — all in a single 1,200-line file with zero external
12
+ dependencies.
8
13
 
9
- `@rip-lang/server` is a production-grade application server written entirely in Rip. It provides multi-worker process management, hot reloading, automatic HTTPS, and mDNS service discovery — all in a single ~1,200 line file.
14
+ ## Features
10
15
 
11
- - **`server.rip`** (~1,200 lines) Complete server: CLI, workers, load balancing, TLS, mDNS
12
-
13
- **Core Philosophy**: Application servers should be simple, fast, and reliable. No complex configuration files. No dependency on external process managers. Just run your app.
14
-
15
- ### Key Features
16
-
17
- - **Multi-Worker Architecture** — Automatic worker spawning based on CPU cores
18
- - **Hot Module Reloading** — File-watch based reloading in development
19
- - **Directory Watching** — Watch all `.rip` files with `-w` flag for instant reload
20
- - **Rolling Restarts** — Zero-downtime deployments
16
+ - **Multi-worker architecture**Automatic worker spawning based on CPU cores
17
+ - **Hot module reloading** — File-watch based reloading with `-w` flag
18
+ - **Rolling restarts** Zero-downtime deployments
21
19
  - **Automatic HTTPS** — TLS with mkcert or self-signed certificates
22
- - **mDNS Discovery** — `.local` hostname advertisement
23
- - **Request Queue** — Built-in request buffering and load balancing
24
- - **CLI Interface** — Simple command-line operation
20
+ - **mDNS discovery** — `.local` hostname advertisement
21
+ - **Request queue** — Built-in request buffering and load balancing
22
+ - **Built-in dashboard** — Server status UI at `rip.local`
23
+ - **Powered by @rip-lang/api** — Runs any Rip API app
24
+
25
+ | File | Lines | Role |
26
+ |------|-------|------|
27
+ | `server.rip` | ~1,210 | Complete server: CLI, workers, load balancing, TLS, mDNS |
28
+ | `server.html` | ~420 | Built-in dashboard UI |
25
29
 
26
- > **See Also**: For the API framework, see [@rip-lang/api](../api/README.md).
30
+ > **See Also**: For the API framework, see [@rip-lang/api](../api/README.md). For the DuckDB server, see [@rip-lang/db](../db/README.md).
27
31
 
28
32
  ## Quick Start
29
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/server",
3
- "version": "0.8.3",
3
+ "version": "1.0.0",
4
4
  "description": "Pure Rip application server — multi-worker, hot reload, HTTPS, mDNS",
5
5
  "type": "module",
6
6
  "main": "server.rip",
@@ -37,6 +37,10 @@
37
37
  },
38
38
  "author": "Steve Shreeve <steve.shreeve@gmail.com>",
39
39
  "license": "MIT",
40
+ "dependencies": {
41
+ "rip-lang": "^2.9.0",
42
+ "@rip-lang/api": "workspace:*"
43
+ },
40
44
  "files": [
41
45
  "bin/",
42
46
  "server.rip",