-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
71 lines (62 loc) · 3.04 KB
/
index.html
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
<!doctype html>
<html manifest=/cache.manifest itemscope itemtype="http://schema.org/CreativeWork">
<head>
<meta charset="utf-8" />
<title>todo.horse</title>
<meta property="og:title" content="todo.horse">
<meta property="og:site_name" content="todo.horse">
<meta itemprop="name" content="todo.horse - beautiful and lightweight editor that puts focus on organization, works inside a browser and comes with full source code (AGPLv3+).">
<meta itemprop="description" content="Beautiful and lightweight editor that puts focus on organization, works inside a browser and comes with full source code (AGPLv3+).">
<meta name="description" content="Beautiful and lightweight editor that puts focus on organization, works inside a browser and comes with full source code (AGPLv3+).">
<meta property="og:description" content="Beautiful and lightweight editor that puts focus on organization, works inside a browser and comes with full source code (AGPLv3+).">
<meta itemprop="image" content="https://todo.horse/thumbnail.webp">
<meta property="og:image" content="https://todo.horse/thumbnail.webp">
<meta name="twitter:card" content="https://todo.horse/thumbnail.webp">
<meta name="twitter:image:alt" content="todo.horse - Free as in Freedom">
<meta property="og:type" content="website" />
<meta property="og:url" content="https://todo.horse/">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon-precomposed" href="/touchicon.png">
<link rel="icon" href="/favicon.png">
<meta name="msapplication-TileColor" content="#EEEEEE">
<meta name="msapplication-TileImage" content="/tileicon.png">
<script src="/jquery.js"></script>
<script src="/todo.js"></script>
<script src="/todo.math.js"></script>
<script>
$(document).ready(function () {
$.extend(window, $TODO);
$TODO = window;
$TODO.load();
});
</script>
<link href="/style.css" rel="stylesheet" type="text/css">
<script>
window.addEventListener(
"message",
(event) => {
if (event.origin !== "https://clearly.pl") return;
console.log('received', event.data);
if (event.data.type === "import") {
let contents = JSON.parse(event.data.json);
console.log('importing', contents);
document.requestStorageAccess({all: true}).then((handle) => {
for (let [key, value] of Object.entries(contents)) {
handle.localStorage[key] = value;
}
console.log('Imported successfully');
});
}
},
false,
);
</script>
</head>
<body>
<h1>Howdy, Partner!</h1>
<p>Are you lost? This is <span class=fancy>todo.horse</span> - a <em>hierarchical text editor</em> that uses your browser to manipulate & store documents.</p>
<p>To get hang of it go and <a href="/tutorial/">play with the tutorial</a>.</p>
<p>List of recent changes is located on <a href="https://github.com/mafik/todo.horse/commits/main/">this page</a>.</p>
</body>
</html>