-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (139 loc) · 4.52 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Matter - a RSS-based content consumption tool.</title>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://kewbi.sh/css/main.css" />
<link rel="stylesheet" href="main.css" />
<title>Matter</title>
<meta
name="description"
content="A minimal RSS reader + bookmarking tool."
/>
<meta property="og:title" content="Matter" />
<meta
property="og:description"
content="A minimal RSS reader + bookmarking tool."
/>
<meta
property="og:image"
content="https://kewbi.sh/matter/assets/matter512.png"
/>
<meta property="og:url" content="https://kewbi.sh/matter" />
<meta property="twitter:title" content="Matter" />
<meta
property="twitter:description"
content="A minimal RSS reader + bookmarking tool."
/>
<meta
property="twitter:image"
content="https://kewbi.sh/matter/assets/matter512.png"
/>
<link rel="manifest" href="assets/site.webmanifest" />
<link rel="shortcut icon" href="assets/matter192.png" />
<link rel="apple-touch-icon" href="assets/matter192.png" />
<meta name="theme-color" content="#1E1E1E" />
</head>
<body class="page page-padding">
<div class="m-matter">
<h1 class="display-title">Matter.</h1>
<hr />
<details id="advanced">
<summary
onclick="localStorage.setItem('advopen', !document.getElementById('advanced').open);"
>
Advanced
</summary>
<details>
<summary>Edit Sources</summary>
<label for="sources">Comma separated list of RSS feed URLS:</label>
<input type="text" id="sources" onchange="toURL(this.value);" />
<hr />
</details>
<details>
<summary>GitHub Settings</summary>
<label for="pat">GitHub PAT:</label>
<input
type="password"
id="pat"
onchange="setLoc('pat', this.value)"
/>
<label for="repo">Repo (to read bookmarks from):</label>
<div class="m-select">
<select id="repo" onchange="setLoc('repo', this.value);"></select>
<div class="m-sel"></div>
</div>
<label for="isnum">Issue #:</label>
<div class="m-select">
<select
id="isnum"
onchange="setLoc('isnum', this.value);delBms();getBm();"
></select>
<div class="m-sel"></div>
</div>
<a
href="https://github.com/login/oauth/authorize?client_id=Iv1.3f4fb1ba73a1a737"
target="_blank"
rel="noreferrer"
id="login-btn"
><button>Log in w/ GitHub</button></a
>
<hr />
</details>
<details>
<summary>Matter Portal</summary>
<p>
<em
>This creates a portal with your data if one doesn't already
exist, and loads your data if one does. Careful: anyone with this
information will also have access to your GitHub PAT if you've set
it.</em
>
</p>
<label for="portal-user">Username (may not contain a colon):</label>
<input
type="text"
id="portal-user"
pattern="[^:]+"
oninput="validatePortal()"
/>
<label for="portal-password">Password:</label>
<input
type="password"
id="portal-password"
oninput="validatePortal()"
/>
<button onclick="loadPortal()" id="portal-btn" disabled>
Load Portal
</button>
<hr />
</details>
<label for="newurl">New URL to bookmark:</label>
<input type="text" id="newurl" onchange="saveNew(this.value)" />
</details>
<hr />
<div
class="grid-element m-grid-el"
id="er"
style="background-color: #525252"
>
<p></p>
</div>
<div class="grid"></div>
<template id="m-item">
<div class="grid-element m-grid-el">
<a><h2></h2></a>
<p></p>
</div>
</template>
<br />
<p>
Created by <a href="https://kewbi.sh">Kewbish</a>. Source available at
<a href="https://github.com/kewbish/matter">kewbish/matter</a>.
</p>
</div>
<script src="./main.js"></script>
</body>
</html>