Nostryfied/index.html

267 lines
9.9 KiB
HTML
Raw Normal View History

2023-02-23 00:54:02 +05:30
<!DOCTYPE html>
<html data-theme="light" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Primary Meta Tags -->
<title>Nostryfied</title>
2023-02-24 03:10:48 +05:30
<meta name="title" content="Nostr Backup Service by Nostryfied" />
2023-02-23 00:54:02 +05:30
<meta
name="description"
content="Fetch, backup and broadcast your Nostr events" />
<!-- Favicon -->
<link
rel="shortcut icon"
2023-02-24 03:08:22 +05:30
href="https://res.cloudinary.com/dfquzutga/image/upload/v1677188210/Screenshot_20230224_030530_Canva_2_cwvo5m.jpg"
2023-02-23 00:54:02 +05:30
type="image/x-icon" />
<!-- CSS -->
<link rel="stylesheet" href="style.css" />
<!-- Lightning -->
2023-02-24 02:59:39 +05:30
<meta name="lightning" content="realiefan@ln.tips" />
2023-02-23 00:54:02 +05:30
<!-- PWA -->
<meta name="theme-color" content="#ffffff" />
<link
rel="apple-touch-icon"
href="https://nostr-utils.pages.dev/img/broadcast.png" />
2023-02-24 02:28:32 +05:30
2023-02-24 02:43:26 +05:30
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>How to Optimize Your Website Speed</title>
2023-02-24 02:59:39 +05:30
<meta property="og:title" content="Take you Nostr Backups today with Nostryfied">
<meta property="og:type" content="Broadcast & Export, also Download a Copy of your Data today with just one click">
2023-02-24 02:54:02 +05:30
<meta property="og:image" content="https://res.cloudinary.com/dfquzutga/image/upload/v1677187258/20230224_024801_0000_2_m7hazu.png"> <!-- Replace with the URL of your larger image -->
<meta property="og:url" content="https://nostryfied.online">
2023-02-24 02:43:26 +05:30
<meta property="og:image:width" content="1600" />
2023-02-23 00:54:02 +05:30
</head>
<body>
<main class="container">
<div class="header-space">
<h1>Welcome to Nostryfied</h1>
</div>
<h2><b>Nostryfied</b> offers an <b>Broadcast & Export Service</b> that allows you to <b>Download a
Copy of your Data</b> & when you use this service, all of your data will also be <b>Broadcasted to Major Relays</b>
on the network. <br><br>This design ensures that the data is <b> Widely Distributed</b>
and makes it more <b>Resistant to Censorship.</b>
</h2>
<div>
<form>
<div>
<form>
2024-01-28 13:51:21 -05:00
<div class="space-between-small">
<div class="space-between">
<b>From Relays</b>
</div>
</div>
<div class="space-between-small">
<p>
<input
type="text"
id="relaySet"
name="relaySet"
placeholder="wss://nos.lol"
style="width: 180px"
value="" />
</p>
</div>
<div class="space-between-small">
2023-02-23 00:54:02 +05:30
<p>
<input
type="text"
id="pubkey"
name="pubkey"
onchange="pubkeyOnChange()"
placeholder="Public key (npub or hex)"
style="width: 180px"
required />
</p>
</div>
<div class="space-between-small">
<div class="space-between">
<b>OR</b>
</div>
</div>
<div class="space-between">
<div class="space-between">
<p>
<input type="file" id="file-selector">
</p>
<script>
var fileName = ""
const fileSelector = document.getElementById('file-selector');
fileSelector.addEventListener('change', (event) => {
fileName = event.target.files[0];
$('#fetch-and-broadcast').css('display', 'none')
$('#just-broadcast').css('display', 'inline-block')
});
</script>
</div>
</div>
2023-02-23 00:54:02 +05:30
</form>
</div>
<style>
#pubkey {
width: 600px; /* change width value */
font-size: 16px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
max-width: 100%;
margin: 0 auto;
display: block;
}
#pubkey::placeholder {
color: #999;
}
2024-01-28 13:51:21 -05:00
#relaySet {
width: 600px; /* change width value */
font-size: 16px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
max-width: 100%;
margin: 0 auto;
display: block;
}
#relaySet::placeholder {
color: #999;
}
2023-02-23 00:54:02 +05:30
</style>
2023-02-23 00:54:02 +05:30
<p>
<button
id="fetch-and-broadcast"
onclick="fetchAndBroadcast(); return false;">
Backup & Broadcast
</button>
<button
id="just-broadcast"
onclick="justBroadcast(fileName); return false;"
style="display: none">
Broadcast from File
</button>
2023-02-23 00:54:02 +05:30
<button
id="get-from-extension"
onclick="getFromExtension(); return false;"
style="display: none">
Get from extension
</button>
</p>
</div>
</form>
</div>
<div class="box">
<div class="box-content">
<p id="fetching-status"></p>
<p style="padding-top: 2px">
<progress
type="range"
id="fetching-progress"
name="fetching-progress"
min="0"
max="180"
2023-02-23 00:54:02 +05:30
value="0"
style="visibility: hidden" />
</p>
</div>
<div class="box-content" id="checking-relays-header-box">
<p id="checking-relays-header"></p>
</div>
<div class="box-content" id="checking-relays-box">
<table id="checking-relays" class="fullwidth"></table>
</div>
2023-02-23 00:54:02 +05:30
<div class="box-content">
<p id="file-download"></p>
<p id="events-found"></p>
</div>
<div class="box-content">
<p id="broadcasting-status"></p>
<p style="padding-top: 2px">
<progress
type="range"
id="broadcasting-progress"
name="broadcasting-progress"
min="0"
max="180"
2023-02-23 00:54:02 +05:30
value="0"
style="visibility: hidden" />
</p>
</div>
</div>
<div class="wrapper">
<div class="divider div-transparent"></div>
</div>
<p>
<a href="https://formfaca.de/sm/t5B7tbyRB"
2023-02-24 01:43:29 +05:30
>Auto Backup (Wishlist)</a
2023-02-23 00:54:02 +05:30
>
</p>
<div class="wrapper">
<div class="divider div-transparent"></div>
2023-05-03 09:45:15 +05:30
<h4><b>Why you should Use this backup Service?</b></h1>
2023-02-23 00:54:02 +05:30
</div>
<h2>
Have you been using the new social network Nostr
that's <b>free, open, and not controlled</b> by the likes of Big Tech?
If so, you might be wondering where your <b>data is stored and
how you can get a copy of it.</b> Nostr is designed
with a <b>decentralized architecture</b> that stores your data on <b>multiple servers,</b>
making it more difficult for any one entity to control or access it. <br><br>
<b>Nostryfied</b> provides an <b>Export & Broadcast service</b> that allows you to <b>download a copy of your data,
& Broadcast it to all the major relays</b> although please note that this service is not a complete backup and might not
include all of your data.
</h4>
<p>
2023-02-24 01:51:11 +05:30
<a href="https://snort.social/p/npub1cmmswlckn82se7f2jeftl6ll4szlc6zzh8hrjyyfm9vm3t2afr7svqlr6f" class="linkbutton">Author</a>
2023-02-23 00:54:02 +05:30
<a href="https://snort.social/p/npub1ctpqas992k2ewy72f3qycnfveq8xewgx7kmyy9c8qcf2pjhzn33qauqp94" class="linkbutton">Support</a>
</p>
</div>
<div class="wrapper">
<div class="divider div-transparent"></div>
<h4><b>What is Nostr? How to get started</b></h1>
</div>
<h2>
<b>Notes and Other Stuff Transmitted by Relays</b> Nostr is a <b>relay-based network</b> that broadcasts your messages to multiple servers.
This design helps to make the network more <b>resistant to censorship and also ensures
that the network is distributed</b>, providing a higher level of <b>availability and reliability.</b> <br><br>
<b>NOSTR Lightning integrating</b> By integrating Bitcoin and Lightning into NOSTR, not only do users
<b>unlock a decentralized way to transact funds,</b> but relays are also given a way to <b>monetize or control
for denial-of-service (DOS) spam attacks.</b>
</h2>
<p>
<a href="https://nostr-resources.com/" class="linkbutton">Resources</a>&nbsp;&nbsp;
<a href="https://www.austrich.net/nostr/" class="linkbutton">Nostr Tools</a>
</p>
</div>
<footer>
<h5>
<p>Please note that our data export service is a best-effort service and not
a complete backup. While we do our best to ensure that all data is included
in the export, we cannot guarantee that all data will be exported."</p>
</h4>
2023-02-23 00:58:47 +05:30
2023-02-23 00:54:02 +05:30
</footer>
</main>
<script src="https://bundle.run/buffer@6.0.3"></script>
<script src="https://bundle.run/bech32@2.0.0"></script>
<script src="https://nostr-utils.pages.dev/js/jquery-3.6.2.min.js"></script>
<script src="js/nostr-utils.js"></script>
2023-02-23 00:54:02 +05:30
<script src="js/relays.js"></script>
<script src="js/nostr-broadcast.js"></script>
</body>
</html>