-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
147 lines (130 loc) · 4.04 KB
/
index.html
File metadata and controls
147 lines (130 loc) · 4.04 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Lens</title>
<link rel="icon" href="/favicon.ico" />
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #fff;
color: #000;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px;
}
.container {
max-width: 700px;
width: 100%;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
h1 {
font-size: 48px;
font-weight: 700;
letter-spacing: -1px;
margin: 0;
}
.header-links {
display: flex;
gap: 16px;
}
.header-links a {
font-size: 14px;
color: #666;
text-decoration: none;
}
.header-links a:hover {
color: #000;
text-decoration: underline;
}
p {
font-size: 16px;
line-height: 1.6;
color: #666;
margin-bottom: 32px;
}
.links {
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid #eee;
}
.links a {
display: block;
font-family: "Monaco", "Menlo", monospace;
font-size: 13px;
color: #000;
text-decoration: none;
margin-bottom: 8px;
}
.links a:hover {
text-decoration: underline;
}
.links strong {
display: block;
margin-top: 16px;
margin-bottom: 8px;
font-size: 16px;
color: #333;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>Lens</h1>
<div class="header-links">
<a href="https://github.com/bysages/lens">GitHub</a>
<a href="https://www.bysages.com/">Website</a>
</div>
</div>
<p>
High-performance image proxy and web services toolkit with IPX, screenshot capture, font
serving, OG image generation, and Gravatar proxy.
</p>
<div class="links">
<strong>Images</strong>
<a href="/img/w_300/https://placehold.co/600x400/png">/img/w_300/{image_url}</a>
<a href="/img/s_200x200,q_80/https://placehold.co/600x400/png"
>/img/s_200x200,q_80/{image_url}</a
>
<a href="/screenshot?url=https://example.com">/screenshot?url=https://example.com</a>
<a href="/og?title=Hello&theme=blue">/og?title=Hello&theme=blue</a>
<strong>Fonts</strong>
<a href="/css?family=Roboto:wght@400;700&display=swap">/css?family=Roboto:wght@400;700</a>
<a href="/css?family=Roboto:wght@400;700|Open+Sans:wght@300;400;600&display=swap"
>/css?family=Roboto:wght@400;700|Open+Sans:wght@300;400;600</a
>
<a href="/css2?family=Inter:wght@400;700&family=Roboto:wght@300;400&display=swap"
>/css2?family=Inter:wght@400;700&family=Roboto:wght@300;400</a
>
<a href="/webfonts?sort=popularity">/webfonts?sort=popularity</a>
<strong>Web Services</strong>
<a href="/reader?url=https://github.com/bysages/lens&format=markdown"
>/reader?url=https://github.com/bysages/lens&format=markdown</a
>
<a href="/favicon?url=github.com">/favicon?url=github.com</a>
<a href="/gravatar?email=test@example.com&size=200"
>/gravatar?email=test@example.com&size=200</a
>
<a href="/mcp">/mcp (MCP Server - JSON-RPC 2.0)</a>
<strong>API Documentation</strong>
<a href="/_docs/scalar">/_docs/scalar (Scalar UI - Interactive API docs)</a>
<a href="/_docs/swagger">/_docs/swagger (Swagger UI)</a>
<a href="/_docs/openapi.json">/_docs/openapi.json (OpenAPI specification)</a>
</div>
</div>
</body>
</html>