-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
333 lines (319 loc) · 11 KB
/
Copy pathindex.html
File metadata and controls
333 lines (319 loc) · 11 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ditto for Mac — a clipboard manager with history</title>
<meta name="description" content="A macOS clipboard manager in the spirit of Ditto. Records every copy — text, rich text, images, files — and pastes any of them back with ⌘⇧V.">
<style>
:root {
--bg: #0b0d12;
--panel: #12151c;
--panel-2: #171b24;
--border: rgba(255,255,255,0.08);
--text: #e8eaf0;
--text-dim: #9aa1b2;
--accent: #5b8cff;
--accent-2: #2c5bd6;
--mono: "SF Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f5f6f9;
--panel: #ffffff;
--panel-2: #f0f2f7;
--border: rgba(0,0,0,0.08);
--text: #16181d;
--text-dim: #565d6d;
--accent: #3a63d8;
--accent-2: #2c5bd6;
}
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--text);
font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
header.hero {
padding: 88px 0 56px;
text-align: center;
background:
radial-gradient(600px 300px at 50% -10%, rgba(91,140,255,0.18), transparent 70%);
}
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--text-dim);
border: 1px solid var(--border);
border-radius: 999px;
padding: 5px 12px;
margin-bottom: 22px;
}
h1 {
font-size: clamp(32px, 5vw, 52px);
line-height: 1.08;
margin: 0 0 16px;
letter-spacing: -0.02em;
}
h1 span {
background: linear-gradient(135deg, var(--accent), #8fb0ff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.lede {
font-size: 19px;
color: var(--text-dim);
max-width: 620px;
margin: 0 auto 36px;
}
.cta-row {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 13px 24px;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
border: 1px solid transparent;
}
.btn.primary {
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: white;
}
.btn.primary:hover { text-decoration: none; filter: brightness(1.08); }
.btn.secondary {
background: var(--panel);
color: var(--text);
border-color: var(--border);
}
.btn.secondary:hover { text-decoration: none; border-color: var(--accent); }
.btn svg { width: 18px; height: 18px; }
.sub-note { font-size: 13px; color: var(--text-dim); margin-top: 14px; }
.sub-note code {
font-family: var(--mono);
background: var(--panel-2);
border: 1px solid var(--border);
border-radius: 5px;
padding: 1px 6px;
}
.shot {
margin: 56px auto 0;
max-width: 640px;
}
.shot img {
width: 100%;
display: block;
border-radius: 14px;
border: 1px solid var(--border);
box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
section.features {
padding: 76px 0;
}
.features h2, .shortcuts h2, .privacy h2 {
font-size: 28px;
text-align: center;
margin: 0 0 12px;
letter-spacing: -0.01em;
}
.features .sub, .shortcuts .sub {
text-align: center;
color: var(--text-dim);
margin: 0 0 44px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 18px;
}
.card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 14px;
padding: 22px;
}
.card .icon {
width: 38px;
height: 38px;
border-radius: 10px;
background: var(--panel-2);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 14px;
font-size: 19px;
}
.card h3 { font-size: 16px; margin: 0 0 6px; }
.card p { font-size: 14px; color: var(--text-dim); margin: 0; }
section.shortcuts { padding: 20px 0 76px; }
table.keys {
width: 100%;
border-collapse: collapse;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 14px;
overflow: hidden;
}
table.keys td {
padding: 14px 20px;
border-bottom: 1px solid var(--border);
font-size: 14px;
}
table.keys tr:last-child td { border-bottom: none; }
table.keys td:first-child {
font-family: var(--mono);
color: var(--accent);
white-space: nowrap;
width: 160px;
}
section.privacy {
padding: 20px 0 90px;
}
.privacy-box {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 14px;
padding: 28px 32px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
}
.privacy-box li { font-size: 14px; color: var(--text-dim); margin-bottom: 6px; }
.privacy-box strong { color: var(--text); }
.privacy-box ul { margin: 0; padding-left: 18px; }
footer {
border-top: 1px solid var(--border);
padding: 32px 0 60px;
text-align: center;
color: var(--text-dim);
font-size: 13px;
}
footer a { color: var(--text-dim); }
</style>
</head>
<body>
<header class="hero">
<div class="wrap">
<div class="badge">🍎 macOS 14+ · free · open source</div>
<h1>Your clipboard, but it<br><span>remembers everything.</span></h1>
<p class="lede">
Ditto is a native macOS clipboard manager. Every copy — text, rich text,
images, files — is kept, searchable and one keystroke away. It's the
unofficial macOS sibling of the Windows classic
<a href="https://github.com/sabrogden/Ditto" target="_blank" rel="noopener">Ditto</a>.
</p>
<div class="cta-row">
<a class="btn primary" id="download-btn" href="https://github.com/bertyhell/mcditto/releases/latest/download/Ditto.app.zip">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 3v12m0 0l-4-4m4 4l4-4M5 21h14"/></svg>
Download for Mac
</a>
<a class="btn secondary" href="https://github.com/bertyhell/mcditto">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.58 2 12.25c0 4.53 2.87 8.37 6.84 9.73.5.1.68-.22.68-.49 0-.24-.01-1.05-.01-1.9-2.78.61-3.37-1.2-3.37-1.2-.45-1.18-1.11-1.5-1.11-1.5-.9-.63.07-.62.07-.62 1 .07 1.53 1.05 1.53 1.05.89 1.55 2.34 1.1 2.91.84.09-.66.35-1.1.63-1.36-2.22-.26-4.56-1.13-4.56-5.02 0-1.11.39-2.02 1.03-2.73-.1-.26-.45-1.31.1-2.73 0 0 .84-.27 2.75 1.04a9.4 9.4 0 0 1 5.01 0c1.91-1.31 2.75-1.04 2.75-1.04.55 1.42.2 2.47.1 2.73.64.71 1.03 1.62 1.03 2.73 0 3.9-2.35 4.76-4.58 5.01.36.32.68.94.68 1.9 0 1.37-.01 2.47-.01 2.81 0 .27.18.6.69.49A10.02 10.02 0 0 0 22 12.25C22 6.58 17.52 2 12 2Z"/></svg>
View source
</a>
</div>
<p class="sub-note">
Downloads the latest build automatically. First launch: right-click → Open,
since the app isn't notarized. Needs <strong>Accessibility</strong> access to paste — see the
<a href="https://github.com/bertyhell/mcditto#permissions">README</a>.
</p>
<div class="shot">
<img src="screenshot.png" alt="The Ditto history popup open over a browser, showing five clipboard entries with a search field and a preview pane on the right.">
</div>
</div>
</header>
<section class="features">
<div class="wrap">
<h2>Everything you copy, kept</h2>
<p class="sub">macOS gives you one clipboard slot. Ditto gives you thousands.</p>
<div class="grid">
<div class="card">
<div class="icon">🗂️</div>
<h3>Full history, not just text</h3>
<p>Plain text, rich text (RTF/HTML with formatting preserved), images and files are all recorded with the flavor that best fits where you paste them.</p>
</div>
<div class="card">
<div class="icon">⌨️</div>
<h3>⌘⇧V opens it anywhere</h3>
<p>A borderless, resizable popup appears right at your mouse pointer in any app, on any Space — no menu bar detour.</p>
</div>
<div class="card">
<div class="icon">🔍</div>
<h3>Type to search</h3>
<p>Full-text search across your whole history, ranked by relevance and recency, with instant results as you type.</p>
</div>
<div class="card">
<div class="icon">↩︎</div>
<h3>Pastes for you</h3>
<p>Pick an entry and Ditto switches back to your previous app and sends the keystroke — you don't even reach for ⌘V.</p>
</div>
<div class="card">
<div class="icon">🧹</div>
<h3>Cleans up on its own</h3>
<p>History is capped at 10,000 entries and anything unused for a year quietly ages out. Both limits are adjustable.</p>
</div>
<div class="card">
<div class="icon">🔒</div>
<h3>Private by default</h3>
<p>Everything lives in a local SQLite database. Password managers' concealed clipboard entries are never recorded.</p>
</div>
</div>
</div>
</section>
<section class="shortcuts">
<div class="wrap">
<h2>Keyboard-first</h2>
<p class="sub">The mouse is optional.</p>
<table class="keys">
<tr><td>⌘⇧V</td><td>Open the history popup at the mouse pointer</td></tr>
<tr><td>type</td><td>Filter entries by content</td></tr>
<tr><td>↑ / ↓</td><td>Move the selection</td></tr>
<tr><td>Return, double-click</td><td>Paste the selected entry into the app you were using</td></tr>
<tr><td>⇧Return</td><td>Paste the selection as plain text, without formatting</td></tr>
<tr><td>⇧Return on an image</td><td>Recognise the text in the image and paste that</td></tr>
<tr><td>⌘1 … ⌘9</td><td>Paste the Nth visible entry directly</td></tr>
<tr><td>⌘⌫</td><td>Delete the selected entry</td></tr>
<tr><td>Esc</td><td>Close the popup</td></tr>
</table>
</div>
</section>
<section class="privacy">
<div class="wrap">
<h2>Nothing leaves your Mac</h2>
<div class="privacy-box">
<ul>
<li><strong>Local storage only</strong> — history lives in <code style="font-family: var(--mono)">~/Library/Application Support/mcditto</code>.</li>
<li><strong>No network access</strong> — the app makes no requests at all.</li>
</ul>
<ul>
<li><strong>Password managers respected</strong> — concealed pasteboard entries are skipped automatically.</li>
<li><strong>Per-app exclusions</strong> — block specific apps from ever being recorded, in Settings.</li>
</ul>
</div>
</div>
</section>
<footer>
<div class="wrap">
Built with Swift and AppKit. Not affiliated with the original
<a href="https://github.com/sabrogden/Ditto" target="_blank" rel="noopener">Ditto</a> project.
<br>
<a href="https://github.com/bertyhell/mcditto">Source on GitHub</a>
</div>
</footer>
</body>
</html>