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" / >
2023-08-04 16:04:36 +05:30
< title > Nostryfied< / 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 >
2023-08-03 18:57:56 -04:00
< 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)"
2023-08-04 16:04:36 +05:30
2023-02-23 00:54:02 +05:30
required />
< / p >
< / div >
2023-08-03 18:57:56 -04:00
< 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 >
< / style >
2023-08-03 18:57:56 -04:00
2023-02-23 00:54:02 +05:30
< p >
< button
id="fetch-and-broadcast"
onclick="fetchAndBroadcast(); return false;">
Backup & Broadcast
< / button >
2023-08-03 18:57:56 -04:00
< 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"
2023-08-03 14:55:52 -04:00
max="180"
2023-02-23 00:54:02 +05:30
value="0"
style="visibility: hidden" />
< / p >
< / div >
2023-08-03 14:55:52 -04:00
< div class = "box-content" id = "checking-relays-header-box" >
< p id = "checking-relays-header" > < / p >
< / div >
< div class = "box-content" id = "checking-relays-box" >
< p id = "checking-relays" > < / p >
< / 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"
2023-08-03 14:55:52 -04:00
max="180"
2023-02-23 00:54:02 +05:30
value="0"
style="visibility: hidden" />
< / p >
< / div >
< / div >
2023-08-04 16:04:36 +05:30
2023-02-23 00:54:02 +05:30
< 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 >
2023-07-27 11:26:26 -04:00
< 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 >