@@ -20,73 +20,125 @@ export const ignition = () => {
2020 <title>version-vault</title>
2121 <style>
2222 :root {
23- color-scheme: light dark ;
24- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI ", sans-serif ;
23+ color-scheme: light;
24+ font-family: "Courier New ", Courier, monospace ;
2525 }
2626 body {
27- max-width: 760px ;
27+ max-width: 920px ;
2828 margin: 0 auto;
29- padding: 48px 24px;
30- line-height: 1.6;
29+ padding: 40px 24px 72px;
30+ color: #222;
31+ background: #fff;
32+ line-height: 1.5;
33+ }
34+ h1 {
35+ margin: 0 0 8px;
36+ font-size: clamp(40px, 8vw, 84px);
37+ line-height: 1;
38+ letter-spacing: -0.08em;
39+ }
40+ h1 span {
41+ letter-spacing: 0;
3142 }
32- code, input {
33- font: inherit;
43+ .tagline {
44+ margin: 0 0 44px;
45+ font-size: 22px;
46+ text-align: center;
47+ }
48+ h2 {
49+ margin: 36px 0 10px;
50+ font-size: 28px;
51+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
52+ text-transform: uppercase;
3453 }
35- code {
36- border-radius: 6px;
37- padding: 2px 6px;
38- background: color-mix(in srgb, CanvasText 10%, Canvas);
54+ a {
55+ color: inherit;
3956 }
40- form {
41- display: grid;
42- gap: 12px;
43- margin: 24px 0;
44- padding: 20px;
45- border: 1px solid color-mix(in srgb, CanvasText 20%, Canvas);
46- border-radius: 12px;
57+ .endpoint {
58+ margin: 0 0 34px 64px;
4759 }
48- label {
49- display: grid;
50- gap: 4px;
60+ .curl {
61+ margin: 0 0 12px;
62+ color: #000;
63+ font-size: clamp(20px, 3vw, 30px);
64+ font-weight: 700;
65+ white-space: pre-wrap;
66+ word-break: break-word;
5167 }
52- input, button {
53- border: 1px solid color-mix(in srgb, CanvasText 25%, Canvas);
54- border-radius: 8px;
55- padding: 8px 10px;
68+ pre {
69+ margin: 0 0 26px 88px;
70+ color: #444;
71+ font-size: clamp(16px, 2.5vw, 26px);
72+ line-height: 1.45;
73+ white-space: pre-wrap;
5674 }
57- button {
58- cursor: pointer;
75+ .links {
76+ margin-top: 44px;
77+ font-size: 18px;
78+ }
79+ @media (max-width: 640px) {
80+ body {
81+ padding: 32px 18px 56px;
82+ }
83+ .tagline {
84+ text-align: left;
85+ }
86+ .endpoint {
87+ margin-left: 0;
88+ }
89+ pre {
90+ margin-left: 24px;
91+ }
5992 }
6093 </style>
6194 </head>
6295 <body>
6396 <main>
64- <h1>version-vault</h1>
65- <p>Version metadata service for vfox SDK plugins.</p>
66- <p><a href="${ repositoryUrl } ">View this project on GitHub</a></p>
97+ <h1>version<span>-</span>vault</h1>
98+ <p class="tagline">Version metadata responses are JSON-encoded.</p>
99+
100+ <h2>Examples</h2>
101+ <section class="endpoint" aria-label="pyenv Python versions">
102+ <p class="curl">$ curl https://vault.vfox.dev/python/pyenv</p>
103+ <pre>{
104+ "items": [
105+ {
106+ "version": "3.13.3",
107+ "url": "https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz"
108+ }
109+ ]
110+ }</pre>
111+ </section>
112+
113+ <section class="endpoint" aria-label="Python Build Standalone assets">
114+ <p class="curl">$ curl https://vault.vfox.dev/python/uv-build</p>
115+ <pre>{
116+ "items": [
117+ {
118+ "display_version": "3.13.3",
119+ "platform": {
120+ "os": "linux",
121+ "arch": "x86_64",
122+ "libc": "gnu"
123+ }
124+ }
125+ ]
126+ }</pre>
127+ </section>
67128
68- <h2>Endpoints</h2>
69- <ul>
70- <li><a href="/python/pyenv"><code>/python/pyenv</code></a> - pyenv Python versions</li>
71- <li><a href="/python/uv-build"><code>/python/uv-build</code></a> - Python Build Standalone assets</li>
72- </ul>
129+ <section class="endpoint" aria-label="Filtered Python Build Standalone assets">
130+ <p class="curl">$ curl "https://vault.vfox.dev/python/uv-build?os=linux&arch=aarch64&libc=gnu"</p>
131+ <pre>{
132+ "items": [
133+ {
134+ "display_version": "3.13.3",
135+ "filename": "cpython-3.13.3+20260501-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz"
136+ }
137+ ]
138+ }</pre>
139+ </section>
73140
74- <h2>Try uv-build filters</h2>
75- <form action="/python/uv-build" method="get">
76- <label>
77- OS
78- <input name="os" placeholder="linux, darwin, windows">
79- </label>
80- <label>
81- Architecture
82- <input name="arch" placeholder="x86_64, aarch64, armv7">
83- </label>
84- <label>
85- libc
86- <input name="libc" placeholder="gnu, musl, gnueabihf">
87- </label>
88- <button type="submit">Fetch versions</button>
89- </form>
141+ <p class="links"><a href="/python/pyenv">/python/pyenv</a> · <a href="/python/uv-build">/python/uv-build</a> · <a href="${ repositoryUrl } ">GitHub</a></p>
90142 </main>
91143 </body>
92144</html>` ) ;
0 commit comments