-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (95 loc) · 2.54 KB
/
Copy pathindex.html
File metadata and controls
95 lines (95 loc) · 2.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{SITE_DOMAIN}}</title>
<link rel="icon" href="/favicon.ico">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #0a0a0a;
color: #aaa;
font-family: "Courier New", Courier, monospace;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.terminal {
max-width: 640px;
padding: 2rem;
}
.ascii {
color: #fff;
font-size: 0.7rem;
line-height: 1.2;
white-space: pre;
margin-bottom: 2rem;
}
@media (max-width: 480px) {
.ascii { font-size: 0.45rem; }
}
.desc {
font-size: 0.9rem;
line-height: 1.7;
margin-bottom: 1.5rem;
}
.desc strong { color: #fff; }
.prompt {
color: #666;
font-size: 0.8rem;
line-height: 1.8;
}
.prompt span { color: #888; }
a { color: #888; }
a:hover { color: #fff; }
.nav {
margin-bottom: 1.5rem;
font-size: 0.8rem;
display: flex;
gap: 1.5rem;
}
.nav a { color: #666; text-decoration: none; }
.nav a:hover { color: #fff; }
.blink {
display: inline-block;
width: 0.55em;
height: 1em;
background: #aaa;
vertical-align: text-bottom;
animation: blink 1s step-end infinite;
}
@keyframes blink {
50% { opacity: 0; }
}
</style>
</head>
<body>
<div class="terminal">
<div class="ascii">
_ _
___| |__ __ _ _ __ ___ _ __ ___ __| |
/ __| '_ \ / _` | '__/ _ \ '_ ` _ \ / _` |
\__ \ | | | (_| | | | __/ | | | | | (_| |
|___/_| |_|\__,_|_| \___|_| |_| |_|\__,_|
</div>
<div class="nav">
<a href="/login">/login</a>
<a href="/ai-skill">/ai-skill</a>
</div>
<div class="desc">
<strong>Markdown file sharing.</strong> Upload <strong>.md</strong> files,
get a clean URL with rendered content. Syntax highlighting,
dark/light theme, directory support. AI-agent friendly. No database — just files on disk.<br><br>
</div>
<div class="prompt">
<span>$</span> sharemd article.md<br>
<span>→</span> {{SITE_DOMAIN}}/article.md<br><br>
<span>$</span> sharemd docs/<br>
<span>→</span> {{SITE_DOMAIN}}/docs<br><br>
<a href="https://github.com/a2u/sharemd">github.com/a2u/sharemd</a> · v{{VERSION}}<span class="blink"></span>
</div>
</div>
</body>
</html>