-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
67 lines (62 loc) · 2.56 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
<!DOCTYPE html>
<title>Pin Manager 📌</title>
<style>
@import url('agregore://theme/style.css');
:root {
--pin-theme-text: var(--ag-theme-text, #000);
--pin-theme-background: var(--ag-theme-background, #FAFAFA);
}
body {
color: var(--pin-theme-text);
font-family: system-ui;
}
input, button, select {
box-sizing: border-box;
padding: 0.5em;
font-size: inherit;
font-family: inherit;
border: solid 1px var(--pin-theme-text);
background: var(--pin-theme-background);
color: inherit;
}
button {
min-width: 8em;
}
input {
flex: 1;
}
details {
margin-bottom: 1em;
}
</style>
<script type="module">
import "./pin-list.js"
import "./pin-manager.js"
</script>
<h1>Pin Manager 📌</h1>
<details>
<summary>How does this work?</summary>
<p>
The Pin Manager lets you talk to multiple "IPFS Pinning Services at a time.
These services exist as remote backups for your data.
Currently we support the <a href="https://ipfs.github.io/pinning-services-api-spec/">IPFS Pinning Service API Specification</a> and the <a href="https://ipfscluster.io/">IPFS Cluster API Specification</a>.
</p>
<p>
When configuring an IPFS pinning service, place the <code>Authentication Token</code> into the password section of the URL.
For example, this could look like <a href="">https://:[email protected]/</a>.
Some services like IPFS cluster use "Basic Authentication" which means you will need to supply both a username and password.
Make sure you're putting your services behind an HTTPs gateway so that you don't expose your credentials to the network!
</P
<p>
If you are running a service and would like to quickly onboard new users into it, you can click the "link" in the service information and send it to somebody.
This link will contain a special "invite" parameter which will automatically configure pin-manager to use the service info when a person visits it.
Note that these links are not revokable, so make sure you only share them via trusted channels!
</p>
<p>
If you want to start pinning your IPFS data but don't know where to go, try signing up for an account with <a href="https://app.pinata.cloud/">Pinata</a>, creating a new <a href="https://app.pinata.cloud/keys">API Key</a> which has all the pinning service permissions enabled, then past a service URL that looks like <code>https://:[email protected]/psa/</code>.
</p>
</details>
<pin-manager></pin-manager>
<footer>
<a href="https://agregoreweb.github.io/pin-manager/">HTTPS link</a>
</footer>