swadhinbiswas feat(website): add project landing page with benchmarks and examples · 7/10/2026
9e5d1f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JustAPI - High-Performance Python Web Framework</title>
<meta name="description" content="A drop-in replacement for FastAPI backed by Rust. Achieve up to 324k RPS effortlessly.">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="background-elements">
<div class="blob purple-blob"></div>
<div class="blob blue-blob"></div>
</div>
<header class="glass-nav">
<div class="container nav-content">
<div class="logo">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: middle; margin-right: 8px;"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg>
JustAPI
</div>
<nav>
<a href="#features">Features</a>
<a href="#benchmarks">Benchmarks</a>
<a href="https://justapi.dev/docs" class="btn btn-secondary">Documentation</a>
<a href="https://github.com/justapi/justapi" class="btn btn-primary">GitHub</a>
</nav>
</div>
</header>
<main>
<section class="hero container">
<div class="hero-text">
<h1 class="animate-up">The speed of <span class="text-gradient">Rust</span>.<br>The elegance of <span class="text-gradient">Python</span>.</h1>
<p class="subtitle animate-up delay-1">JustAPI is a drop-in replacement for FastAPI engineered for extreme throughput. Achieve up to 9x the throughput and 22x lower tail latency.</p>
<div class="cta-group animate-up delay-2">
<a href="https://justapi.dev/docs/getting_started" class="btn btn-primary btn-lg">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 8px; vertical-align: middle;"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
Get Started
</a>
<a href="#benchmarks" class="btn btn-secondary btn-lg">View Benchmarks</a>
</div>
</div>
<div class="hero-visual animate-up delay-3">
<div class="code-window glass-card">
<div class="window-header">
<span class="dot red"></span>
<span class="dot yellow"></span>
<span class="dot green"></span>
<span class="filename">main.py</span>
</div>
<pre><code><span class="keyword">from</span> justapi <span class="keyword">import</span> JustAPIApp
app = JustAPIApp()
<span class="decorator">@app.get</span>(<span class="string">"/"</span>)
<span class="keyword">async def</span> <span class="function">hello</span>():
<span class="keyword">return</span> {<span class="string">"message"</span>: <span class="string">"324k RPS, easily."</span>}
<span class="keyword">if</span> __name__ == <span class="string">"__main__"</span>:
app.run(<span class="string">"127.0.0.1:8000"</span>)</code></pre>
</div>
</div>
</section>
<section id="features" class="container section">
<h2 class="section-title text-center">Why JustAPI?</h2>
<div class="features-grid">
<div class="feature-card glass-card hover-lift">
<div class="feature-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="url(#gradient-primary)" stroke-width="1.5"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
</div>
<h3>Rust Core</h3>
<p>The entire HTTP server, routing, and protocol parsing is written in Rust using Tokio and Hyper.</p>
</div>
<div class="feature-card glass-card hover-lift">
<div class="feature-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="url(#gradient-primary)" stroke-width="1.5"><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"/><polyline points="14 2 14 8 20 8"/><path d="M9 15l2 2 4-4"/></svg>
</div>
<h3>Python Ergonomics</h3>
<p>Write standard Python using familiar concepts. It's designed as a drop-in replacement for FastAPI.</p>
</div>
<div class="feature-card glass-card hover-lift">
<div class="feature-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="url(#gradient-primary)" stroke-width="1.5"><polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/></svg>
</div>
<h3>Zero-Copy</h3>
<p>Avoids unnecessary allocations between Rust and Python, making it incredibly memory-efficient.</p>
</div>
<div class="feature-card glass-card hover-lift">
<div class="feature-icon">
<svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="url(#gradient-primary)" stroke-width="1.5"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
</div>
<h3>100% Async</h3>
<p>Exposes native Python asyncio boundaries tightly integrated with the underlying Rust event loop.</p>
</div>
</div>
</section>
<section id="benchmarks" class="container section">
<h2 class="section-title text-center">Performance Matrix</h2>
<p class="text-center subtitle" style="margin: 0 auto 3rem;">JustAPI crushes traditional frameworks under load. Measured on an Intel Core i5-13600K.</p>
<div class="matrix-container glass-card">
<table class="benchmark-table">
<thead>
<tr>
<th>Metric / Workload</th>
<th>Uvicorn + FastAPI</th>
<th>JustAPI (Native Python)</th>
<th>Improvement</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Hello-World (GET)</strong> - Throughput</td>
<td>36,189 req/sec</td>
<td class="highlight">324,130 req/sec</td>
<td class="success">~9.0x Faster</td>
</tr>
<tr>
<td><strong>Hello-World (GET)</strong> - p99 Latency</td>
<td>24.63 ms</td>
<td class="highlight">1.10 ms</td>
<td class="success">~22.4x Lower</td>
</tr>
<tr>
<td><strong>JSON-Echo (POST)</strong> - Throughput</td>
<td>26,000 req/sec</td>
<td class="highlight">267,846 req/sec</td>
<td class="success">~10.3x Faster</td>
</tr>
<tr>
<td><strong>JSON-Echo (POST)</strong> - p99 Latency</td>
<td>14.50 ms</td>
<td class="highlight">1.64 ms</td>
<td class="success">~8.8x Lower</td>
</tr>
</tbody>
</table>
</div>
</section>
<svg style="width:0;height:0;position:absolute;" aria-hidden="true" focusable="false">
<linearGradient id="gradient-primary" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#c77dff" />
<stop offset="100%" stop-color="#4361ee" />
</linearGradient>
</svg>
</main>
<footer>
<div class="container text-center">
<p>© 2026 JustAPI Contributors. Released under the MIT License.</p>
</div>
</footer>
<script src="js/main.js"></script>
</body>
</html>