docs: rename to 'Built to Handle Pressure', remove alternative framing

swadhinbiswas committed 3 months ago
cc32b97
1 parent 72910da
commit cc32b97
2 files changed
+41 -47
▼docs_site/astro.config.mjs
+8-8
9
9
trailingSlash: 'always',
10
10
integrations: [
11
11
starlight({
12
- title: 'JustAPI — FastAPI Alternative | Rust-Powered Python Web Framework',
13
- description: 'Rust-powered Python web framework — a drop-in replacement for FastAPI with 20x performance, zero-GIL execution, and 700k+ RPS. The fastest FastAPI alternative for production Python APIs.',
12
+ title: 'JustAPI — Built to Handle Pressure',
13
+ description: 'Python web framework powered by Rust. Handles 700k+ requests per second without breaking a sweat.',
14
14
logo: {
15
15
src: './src/assets/logo.svg',
16
16
replacesTitle: false,
28
28
{ tag: 'meta', attrs: { name: 'viewport', content: 'width=device-width, initial-scale=1' } },
29
29
{ tag: 'meta', attrs: { name: 'generator', content: 'Astro v7 + Starlight' } },
30
30
{ tag: 'meta', attrs: { name: 'robots', content: 'index, follow, max-snippet:-1, max-image-preview:large' } },
31
- { tag: 'meta', attrs: { name: 'keywords', content: 'JustAPI, FastAPI alternative, FastAPI replacement, Python web framework, Rust web framework, high performance Python, async Python, zero-GIL, 700k RPS, API framework, FastAPI vs JustAPI, Python API server, Rust Python, PyO3, ASGI alternative, uvicorn alternative, web framework comparison, Python REST API, production Python API' } },
31
+ { tag: 'meta', attrs: { name: 'keywords', content: 'JustAPI, Python, Rust, web framework, API, async, high performance' } },
32
32
{ tag: 'link', attrs: { rel: 'canonical', href: site } },
33
33
{ tag: 'meta', attrs: { property: 'og:type', content: 'website' } },
34
34
{ tag: 'meta', attrs: { property: 'og:url', content: site } },
35
35
{ tag: 'meta', attrs: { property: 'og:site_name', content: 'JustAPI' } },
36
- { tag: 'meta', attrs: { property: 'og:title', content: 'JustAPI — Rust-Powered Python Web Framework | FastAPI Alternative' } },
37
- { tag: 'meta', attrs: { property: 'og:description', content: 'The fastest FastAPI alternative. Drop-in replacement for FastAPI with Rust-native performance — 700k+ RPS, zero-GIL execution, automatic OpenAPI docs. Switch from FastAPI with one import change.' } },
36
+ { tag: 'meta', attrs: { property: 'og:title', content: 'JustAPI — Built to Handle Pressure' } },
37
+ { tag: 'meta', attrs: { property: 'og:description', content: 'Python web framework powered by Rust. Handles 700k+ requests per second without breaking a sweat.' } },
38
38
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://justapi.dev/og-image.png' } },
39
39
{ tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } },
40
40
{ tag: 'meta', attrs: { property: 'og:image:height', content: '630' } },
41
- { tag: 'meta', attrs: { property: 'og:image:alt', content: 'JustAPI — Rust-Powered Python Web Framework, the fastest FastAPI alternative' } },
41
+ { tag: 'meta', attrs: { property: 'og:image:alt', content: 'JustAPI — Python web framework powered by Rust' } },
42
42
{ tag: 'meta', attrs: { property: 'og:locale', content: 'en_US' } },
43
43
{ tag: 'meta', attrs: { name: 'twitter:card', content: 'summary_large_image' } },
44
- { tag: 'meta', attrs: { name: 'twitter:title', content: 'JustAPI — The Fastest FastAPI Alternative | Rust-Powered Python Framework' } },
45
- { tag: 'meta', attrs: { name: 'twitter:description', content: 'Drop-in replacement for FastAPI with 20x throughput. Rust-native, zero-GIL, 700k+ RPS. Switch with one import change.' } },
44
+ { tag: 'meta', attrs: { name: 'twitter:title', content: 'JustAPI — Built to Handle Pressure' } },
45
+ { tag: 'meta', attrs: { name: 'twitter:description', content: 'Python web framework powered by Rust. 700k+ requests per second.' } },
46
46
{ tag: 'meta', attrs: { name: 'twitter:image', content: 'https://justapi.dev/og-image.png' } },
47
47
{
48
48
tag: 'script',
49
49
▼docs_site/src/content/docs/index.mdx
+33-39
1
1
---
2
-title: JustAPI — FastAPI Alternative | Rust-Powered Python Web Framework
3
-description: JustAPI — a Rust-powered Python web framework. Drop-in FastAPI replacement with 700k+ RPS, zero-GIL execution, and automatic OpenAPI docs.
2
+title: JustAPI — Built to Handle Pressure
3
+description: Python web framework powered by Rust. Handles 700k+ requests per second without breaking a sweat.
4
4
template: splash
5
5
hero:
6
- tagline: Python web framework powered by Rust. Drop-in FastAPI replacement with 20× performance.
6
+ tagline: Python web framework powered by Rust. Built to handle real traffic.
7
7
image:
8
8
file: ../../assets/logo.svg
9
9
actions:
34
34
35
35
*Same decorators. Same Pydantic models. Same dependency injection. 20× faster.*
36
36
37
-## Features
38
-
39
-<CardGrid>
40
- <Card title="FastAPI-Compatible" icon="star">
41
- Same `@app.get()`, `@app.post()`, Pydantic v2, `Depends()`. Migrate with one import change.
42
- </Card>
43
- <Card title="Rust-Native" icon="rocket">
44
- Networking, TLS, routing, serialization — all in Rust. No Python overhead on the hot path.
45
- </Card>
46
- <Card title="Zero-GIL" icon="shield">
47
- GIL released during I/O. Supports free-threaded Python 3.13t/3.14t.
48
- </Card>
49
- <Card title="Production-Ready" icon="lock">
50
- JWT auth, rate limiting, circuit breakers, OpenTelemetry, health checks — built in.
51
- </Card>
52
- <Card title="Auto OpenAPI Docs" icon="document">
53
- Swagger UI, ReDoc, and Scalar. Automatic from your code.
54
- </Card>
55
- <Card title="Multi-Protocol" icon="globe">
56
- REST, GraphQL, gRPC, JSON-RPC 2.0 — all in one app.
57
- </Card>
58
-</CardGrid>
37
+## What It Does
59
38
60
-## Quick Start
39
+JustAPI runs your Python application logic on top of a Rust networking stack. Routing, TLS, serialization, compression — all handled in Rust before your code even runs.
61
40
62
41
```python
63
42
from justapi import JustAPIApp
75
54
# → http://127.0.0.1:8000/docs
76
55
```
77
56
57
+Open the `/docs` endpoint and you get Swagger UI, ReDoc, and the full OpenAPI schema — generated automatically from your code.
58
+
59
+## Features
60
+
61
+<CardGrid>
62
+ <Card title="FastAPI-Compatible" icon="star">
63
+ Same decorators, Pydantic models, dependency injection. Switch with one import.
64
+ </Card>
65
+ <Card title="Rust Under the Hood" icon="rocket">
66
+ Networking, TLS, routing, serialization run in Rust. Python does the rest.
67
+ </Card>
68
+ <Card title="Zero GIL" icon="shield">
69
+ GIL released during I/O. Works with free-threaded Python 3.13t/3.14t.
70
+ </Card>
71
+ <Card title="Production-Ready" icon="lock">
72
+ JWT auth, rate limiting, circuit breakers, OpenTelemetry, health checks.
73
+ </Card>
74
+ <Card title="Multi-Protocol" icon="globe">
75
+ REST, GraphQL, gRPC, JSON-RPC 2.0 — all in one app.
76
+ </Card>
77
+ <Card title="Auto Docs" icon="document">
78
+ Swagger UI, ReDoc, Scalar. Generated from your code.
79
+ </Card>
80
+</CardGrid>
81
+
78
82
## Install
79
83
80
84
```bash
83
87
uvx justapi create my_app # scaffold without installing
84
88
```
85
89
86
-## Migration
87
-
88
-```python
89
-# FastAPI # JustAPI
90
-from fastapi import FastAPI → from justapi import JustAPIApp
91
-app = FastAPI() → app = JustAPIApp()
92
-```
93
-
94
-Everything else — decorators, Pydantic, DI, OpenAPI — stays the same.
95
-
96
-## Documentation
90
+## Learn
97
91
98
92
<CardGrid>
99
93
<Card title="Tutorial" icon="pencil">
100
- [36-step learning path from basics to production →](/tutorials/python-types/)
94
+ [36-step learning path →](/tutorials/python-types/)
101
95
</Card>
102
96
<Card title="Advanced" icon="rocket">
103
97
[Rust internals, zero-GIL, native fast path →](/advanced/zero-gil-architecture/)
104
98
</Card>
105
99
<Card title="API Reference" icon="document">
106
- [Every class, function, and parameter →](/api-reference/)
100
+ [Every class and function →](/api-reference/)
107
101
</Card>
108
102
<Card title="Deployment" icon="setting">
109
103
[Docker, Kubernetes, cloud providers →](/deployment/docker/)
110
104