Add the public folder to the repo
3
.gitignore
vendored
|
@ -1,7 +1,6 @@
|
|||
bin
|
||||
node_modules
|
||||
public
|
||||
resources
|
||||
# Local Netlify folder
|
||||
.netlify
|
||||
TODO
|
||||
TODO
|
||||
|
|
8
package-lock.json
generated
|
@ -43,6 +43,8 @@
|
|||
"integrity": "sha512-lcy6Lymft9Rpfqmrqdd4oTDdUx9ZwaAhAfywVrHG4771Pa6PPT0danJ1kDHBXYqh4HHSmIdA+nlmfxfxSDPtBg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.2",
|
||||
"chokidar": "^3.4.0",
|
||||
"commander": "^4.0.1",
|
||||
"convert-source-map": "^1.1.0",
|
||||
"fs-readdir-recursive": "^1.1.0",
|
||||
|
@ -3080,6 +3082,7 @@
|
|||
"dependencies": {
|
||||
"anymatch": "~3.1.2",
|
||||
"braces": "~3.0.2",
|
||||
"fsevents": "~2.3.2",
|
||||
"glob-parent": "~5.1.2",
|
||||
"is-binary-path": "~2.1.0",
|
||||
"is-glob": "~4.0.1",
|
||||
|
@ -5600,6 +5603,7 @@
|
|||
"minimist": "^1.2.5",
|
||||
"neo-async": "^2.6.0",
|
||||
"source-map": "^0.6.1",
|
||||
"uglify-js": "^3.1.4",
|
||||
"wordwrap": "^1.0.0"
|
||||
},
|
||||
"bin": {
|
||||
|
@ -6629,6 +6633,9 @@
|
|||
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
|
||||
"integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"graceful-fs": "^4.1.6"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"graceful-fs": "^4.1.6"
|
||||
}
|
||||
|
@ -8303,6 +8310,7 @@
|
|||
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"graceful-fs": "^4.1.6",
|
||||
"universalify": "^2.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
"clipboard": "^2.0",
|
||||
"eslint": "^7.32",
|
||||
"exec-bin": "^1.0.0",
|
||||
"hugo-installer": "^3.1",
|
||||
"flexsearch": "^0.7.21",
|
||||
"highlight.js": "^11.0",
|
||||
"hugo-installer": "^3.1",
|
||||
"instant.page": "^5.1",
|
||||
"katex": "^0.13",
|
||||
"lazysizes": "^5.3",
|
||||
|
|
102
public/404.html
Normal file
|
@ -0,0 +1,102 @@
|
|||
<!doctype html><html lang=en-us>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<meta http-equiv=x-ua-compatible content="ie=edge">
|
||||
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
||||
<link rel=preload as=font href=/fonts/vendor/jost/jost-v4-latin-regular.woff2 type=font/woff2 crossorigin>
|
||||
<link rel=preload as=font href=/fonts/vendor/jost/jost-v4-latin-700.woff2 type=font/woff2 crossorigin>
|
||||
<link rel=stylesheet href=/main.d17fe0563148e9c30d2b5e0b895b5e53d2e2ce015dca3cc38eca8304aef1ebaa26916979cf3060bbed2e8554a0cd0b44c68d4541c31c3a1418e0aa6d99f1727c.css integrity="sha512-0X/gVjFI6cMNK14LiVteU9LizgFdyjzDjsqDBK7x66omkWl5zzBgu+0uhVSgzQtExo1FQcMcOhQY4KptmfFyfA==" crossorigin=anonymous>
|
||||
<noscript><style>img.lazyload{display:none}</style></noscript>
|
||||
<meta name=robots content="noindex, follow">
|
||||
<title>404 Page not found - Invidious</title>
|
||||
<meta name=description content="Invidious is an open source alternative front-end to YouTube ">
|
||||
<link rel=canonical href=/404.html>
|
||||
<meta property="og:locale" content>
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="404 Page not found">
|
||||
<meta property="og:description" content="Invidious is an open source alternative front-end to YouTube ">
|
||||
<meta property="og:url" content="/404.html">
|
||||
<meta property="og:site_name" content="Invidious">
|
||||
<meta name=twitter:card content="summary_large_image">
|
||||
<meta name=twitter:site content>
|
||||
<meta name=twitter:creator content>
|
||||
<meta name=twitter:title content="404 Page not found">
|
||||
<meta name=twitter:description content>
|
||||
<meta name=twitter:card content="summary">
|
||||
<meta name=twitter:image:alt content="404 Page not found">
|
||||
<script type=application/ld+json>{"@context":"https://schema.org","@graph":[{"@type":"Person","@id":"/#/schema/person/1","name":"","url":"/","sameAs":[],"image":{"@type":"ImageObject","@id":"/#/schema/image/1","url":"/\u003cnil\u003e","width":null,"height":null,"caption":""}},{"@type":"WebSite","@id":"/#/schema/website/1","url":"/","name":"Invidious","description":"Invidious is an open source alternative front-end to YouTube ","publisher":{"@id":"/#/schema/person/1"}},{"@type":"WebPage","@id":"/404.html","url":"/404.html","name":"404 Page not found","description":"","isPartOf":{"@id":"/#/schema/website/1"},"about":{"@id":"/#/schema/person/1"},"datePublished":"0001-01-01T00:00:00CET","dateModified":"0001-01-01T00:00:00CET","breadcrumb":{"@id":"/404.html#/schema/breadcrumb/1"},"primaryImageOfPage":{"@id":"/404.html#/schema/image/2"},"inLanguage":"","potentialAction":[{"@type":"ReadAction","target":["/404.html"]}]},{"@type":"BreadcrumbList","@id":"/404.html#/schema/breadcrumb/1","name":"Breadcrumbs","itemListElement":[{"@type":"ListItem","position":1,"item":{"@type":"WebPage","@id":"/","url":"/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"/404.html/"}}]},{"@context":"https://schema.org","@graph":[{"@type":"ImageObject","@id":"/404.html#/schema/image/2","url":null,"contentUrl":null,"caption":"404 Page not found"}]}]}</script>
|
||||
<meta name=theme-color content="#fff">
|
||||
<link rel=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png>
|
||||
<link rel=icon type=image/png sizes=32x32 href=/favicon-32x32.png>
|
||||
<link rel=icon type=image/png sizes=16x16 href=/favicon-16x16.png>
|
||||
<link rel=manifest crossorigin=use-credentials href=/site.webmanifest>
|
||||
</head>
|
||||
<body class=error404>
|
||||
<div class="header-bar fixed-top"></div>
|
||||
<header class="navbar fixed-top navbar-expand-md navbar-light">
|
||||
<div class=container>
|
||||
<input class="menu-btn order-0" type=checkbox id=menu-btn>
|
||||
<label class="menu-icon d-md-none" for=menu-btn><span class=navicon></span></label>
|
||||
<a class="navbar-brand order-1 order-md-0 me-auto" href=/>Invidious</a>
|
||||
<button id=mode class="btn btn-link order-2 order-md-4" type=button aria-label="Toggle mode">
|
||||
<span class=toggle-dark><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg></span>
|
||||
<span class=toggle-light><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></span>
|
||||
</button>
|
||||
<ul class="navbar-nav social-nav order-3 order-md-5">
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=https://github.com/iv-org><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"/></svg><span class="ms-2 visually-hidden">GitHub</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="collapse navbar-collapse order-4 order-md-1">
|
||||
<ul class="navbar-nav main-nav me-auto order-5 order-md-2"><li class=nav-item>
|
||||
<a class=nav-link href=https://docs.invidious.io/>Documentation</a>
|
||||
</li>
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=https://github.com/iv-org/invidious#contribute>Contribute</a>
|
||||
</li>
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=/donate/>Donate</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="break order-6 d-md-none"></div>
|
||||
<form class="navbar-form flex-grow-1 order-7 order-md-3">
|
||||
<input id=userinput class="form-control is-search" type=search placeholder="Search docs..." aria-label="Search docs..." autocomplete=off>
|
||||
<div id=suggestions class="shadow bg-white rounded"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="wrap container" role=document>
|
||||
<div class=content>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12 col-lg-10 col-xl-8">
|
||||
<article>
|
||||
<h1 class=text-center>Page not found :(</h1>
|
||||
<p class=text-center>The page you are looking for doesn't exist or has been moved.</p>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer text-muted">
|
||||
<div class=container>
|
||||
<div class=row>
|
||||
<div class="col-lg-8 order-last order-lg-first">
|
||||
<ul class=list-inline>
|
||||
<li class=list-inline-item>Powered by <a href=https://gohugo.io/>Hugo</a>, and <a href=https://getdoks.org/>Doks</a>. Illustrations by <a href=https://undraw.co/>unDraw</a>.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-8 order-first order-lg-last text-lg-end">
|
||||
<ul class=list-inline>
|
||||
<li class=list-inline-item><a href=https://github.com/iv-org/invidious.io>Website Source Code</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<script src=/js/bootstrap.min.586171fec3966d1a44fa8aa2edb24b861dc3a72be8cc24aa4e0dabe4c312a0dae5fe1eaa7c93180a6211fa4d7c5461b0d228fdf741be2eae279a376dfa1e7d81.js integrity="sha512-WGFx/sOWbRpE+oqi7bJLhh3DpyvozCSqTg2r5MMSoNrl/h6qfJMYCmIR+k18VGGw0ij990G+Lq4nmjdt+h59gQ==" crossorigin=anonymous defer></script>
|
||||
<script src=/js/highlight.min.e13cfba4c5524e30386cb9ea71f0f191f39d15b25b222f4b67549689f7c076158f42a2282446044f5cdacc76a6d003efbfa252a84aea0116703803b6339ae35f.js integrity="sha512-4Tz7pMVSTjA4bLnqcfDxkfOdFbJbIi9LZ1SWiffAdhWPQqIoJEYET1zazHam0APvv6JSqErqARZwOAO2M5rjXw==" crossorigin=anonymous defer></script>
|
||||
<script src=/main.min.9e62c9b0c5dc8279689cc9cb693a32c8ea1d19032f574f98c782ff59a0417d3662ff94b1a7755ab72a7a1862644bf00a58492c65aa0adabbc58080f4018c61bc.js integrity="sha512-nmLJsMXcgnlonMnLaToyyOodGQMvV0+Yx4L/WaBBfTZi/5Sxp3Vatyp6GGJkS/AKWEksZaoK2rvFgID0AYxhvA==" crossorigin=anonymous defer></script>
|
||||
<script src=/index.min.177e5d23ef2cca9f490939925b2e6d748d9bb8005b5423f0c2075bde603b8249fe761b3e8b5d7e3e477b2cf7e73cba3c80e7809e0c3845646c2ca14ee2220663.js integrity="sha512-F35dI+8syp9JCTmSWy5tdI2buABbVCPwwgdb3mA7gkn+dhs+i11+Pkd7LPfnPLo8gOeAngw4RWRsLKFO4iIGYw==" crossorigin=anonymous defer></script>
|
||||
</body>
|
||||
</html>
|
9
public/_headers
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
||||
X-Content-Type-Options: nosniff
|
||||
X-XSS-Protection: 1; mode=block
|
||||
Content-Security-Policy: default-src 'self'; frame-ancestors https://jamstackthemes.dev; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' data:; script-src 'self'; style-src 'self' 'unsafe-inline'
|
||||
X-Frame-Options: SAMEORIGIN
|
||||
Referrer-Policy: strict-origin
|
||||
Feature-Policy: geolocation 'self'
|
||||
Cache-Control: public, max-age=31536000
|
1
public/_redirects
Normal file
|
@ -0,0 +1 @@
|
|||
# redirects for Netlify - https://www.netlify.com/docs/redirects/
|
BIN
public/android-chrome-192x192.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
public/android-chrome-512x512.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
public/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 3 KiB |
0
public/css/vendor/.gitkeep
vendored
Normal file
BIN
public/doks.png
Normal file
After Width: | Height: | Size: 8 KiB |
109
public/donate/index.html
Normal file
|
@ -0,0 +1,109 @@
|
|||
<!doctype html><html lang=en-us>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<meta http-equiv=x-ua-compatible content="ie=edge">
|
||||
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
||||
<link rel=preload as=font href=/fonts/vendor/jost/jost-v4-latin-regular.woff2 type=font/woff2 crossorigin>
|
||||
<link rel=preload as=font href=/fonts/vendor/jost/jost-v4-latin-700.woff2 type=font/woff2 crossorigin>
|
||||
<link rel=stylesheet href=/main.d17fe0563148e9c30d2b5e0b895b5e53d2e2ce015dca3cc38eca8304aef1ebaa26916979cf3060bbed2e8554a0cd0b44c68d4541c31c3a1418e0aa6d99f1727c.css integrity="sha512-0X/gVjFI6cMNK14LiVteU9LizgFdyjzDjsqDBK7x66omkWl5zzBgu+0uhVSgzQtExo1FQcMcOhQY4KptmfFyfA==" crossorigin=anonymous>
|
||||
<noscript><style>img.lazyload{display:none}</style></noscript>
|
||||
<meta name=robots content="index, follow">
|
||||
<meta name=googlebot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
|
||||
<meta name=bingbot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
|
||||
<title>Donate - Invidious</title>
|
||||
<meta name=description content="Donate to the Invidious project.">
|
||||
<link rel=canonical href=/donate/>
|
||||
<meta property="og:locale" content>
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:title" content="Donate">
|
||||
<meta property="og:description" content="Donate to the Invidious project.">
|
||||
<meta property="og:url" content="/donate/">
|
||||
<meta property="og:site_name" content="Invidious">
|
||||
<meta property="article:published_time" content="2020-08-27T19:23:18+02:00">
|
||||
<meta property="article:modified_time" content="2020-08-27T19:23:18+02:00">
|
||||
<meta name=twitter:card content="summary_large_image">
|
||||
<meta name=twitter:site content>
|
||||
<meta name=twitter:creator content>
|
||||
<meta name=twitter:title content="Donate">
|
||||
<meta name=twitter:description content="Donate to the Invidious project.">
|
||||
<meta name=twitter:card content="summary">
|
||||
<meta name=twitter:image:alt content="Donate">
|
||||
<script type=application/ld+json>{"@context":"https://schema.org","@graph":[{"@type":"Person","@id":"/#/schema/person/1","name":"","url":"/","sameAs":[],"image":{"@type":"ImageObject","@id":"/#/schema/image/1","url":"/\u003cnil\u003e","width":null,"height":null,"caption":""}},{"@type":"WebSite","@id":"/#/schema/website/1","url":"/","name":"Invidious","description":"Invidious is an open source alternative front-end to YouTube ","publisher":{"@id":"/#/schema/person/1"}},{"@type":"WebPage","@id":"/donate/","url":"/donate/","name":"Donate","description":"Donate to the Invidious project.","isPartOf":{"@id":"/#/schema/website/1"},"about":{"@id":"/#/schema/person/1"},"datePublished":"2020-08-27T19:23:18CET","dateModified":"2020-08-27T19:23:18CET","breadcrumb":{"@id":"/donate/#/schema/breadcrumb/1"},"primaryImageOfPage":{"@id":"/donate/#/schema/image/2"},"inLanguage":"","potentialAction":[{"@type":"ReadAction","target":["/donate/"]}]},{"@type":"BreadcrumbList","@id":"/donate/#/schema/breadcrumb/1","name":"Breadcrumbs","itemListElement":[{"@type":"ListItem","position":1,"item":{"@type":"WebPage","@id":"/","url":"/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"/donate/"}}]},{"@context":"https://schema.org","@graph":[{"@type":"ImageObject","@id":"/donate/#/schema/image/2","url":null,"contentUrl":null,"caption":"Donate"}]}]}</script>
|
||||
<meta name=theme-color content="#fff">
|
||||
<link rel=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png>
|
||||
<link rel=icon type=image/png sizes=32x32 href=/favicon-32x32.png>
|
||||
<link rel=icon type=image/png sizes=16x16 href=/favicon-16x16.png>
|
||||
<link rel=manifest crossorigin=use-credentials href=/site.webmanifest>
|
||||
</head>
|
||||
<body class="page single">
|
||||
<div class="header-bar fixed-top"></div>
|
||||
<header class="navbar fixed-top navbar-expand-md navbar-light">
|
||||
<div class=container>
|
||||
<input class="menu-btn order-0" type=checkbox id=menu-btn>
|
||||
<label class="menu-icon d-md-none" for=menu-btn><span class=navicon></span></label>
|
||||
<a class="navbar-brand order-1 order-md-0 me-auto" href=/>Invidious</a>
|
||||
<button id=mode class="btn btn-link order-2 order-md-4" type=button aria-label="Toggle mode">
|
||||
<span class=toggle-dark><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg></span>
|
||||
<span class=toggle-light><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></span>
|
||||
</button>
|
||||
<ul class="navbar-nav social-nav order-3 order-md-5">
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=https://github.com/iv-org><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"/></svg><span class="ms-2 visually-hidden">GitHub</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="collapse navbar-collapse order-4 order-md-1">
|
||||
<ul class="navbar-nav main-nav me-auto order-5 order-md-2"><li class=nav-item>
|
||||
<a class=nav-link href=https://docs.invidious.io/>Documentation</a>
|
||||
</li>
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=https://github.com/iv-org/invidious#contribute>Contribute</a>
|
||||
</li>
|
||||
<li class="nav-item active">
|
||||
<a class=nav-link href=/donate/>Donate</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="break order-6 d-md-none"></div>
|
||||
<form class="navbar-form flex-grow-1 order-7 order-md-3">
|
||||
<input id=userinput class="form-control is-search" type=search placeholder="Search docs..." aria-label="Search docs..." autocomplete=off>
|
||||
<div id=suggestions class="shadow bg-white rounded"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="wrap container" role=document>
|
||||
<div class=content>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12 col-lg-10 col-xl-8">
|
||||
<article>
|
||||
<h1>Donate</h1>
|
||||
<p>Bitcoin (BTC): <a href=bitcoin:bc1qfhe7rq3lqzuayzjxzyt9waz9ytrs09kla3tsgr>bc1qfhe7rq3lqzuayzjxzyt9waz9ytrs09kla3tsgr</a></p>
|
||||
<p>Monero (XMR): <a href=monero:41nMCtek197boJtiUvGnTFYMatrLEpnpkQDmUECqx5Es2uX3sTKKWVhSL76suXsG3LXqkEJBrCZBgPTwJrDp1FrZJfycGPR>41nMCtek197boJtiUvGnTFYMatrLEpnpkQDmUECqx5Es2uX3sTKKWVhSL76suXsG3LXqkEJBrCZBgPTwJrDp1FrZJfycGPR</a></p>
|
||||
<p>Ethereum (ETH): <a href=ethereum:0xD1F7E3Bfb19Ee5a52baED396Ad34717aF18d995B>0xD1F7E3Bfb19Ee5a52baED396Ad34717aF18d995B</a></p>
|
||||
<p>Litecoin (LTC): <a href=litecoin:ltc1q8787aq2xrseq5yx52axx8c4fqks88zj5vr0zx9>ltc1q8787aq2xrseq5yx52axx8c4fqks88zj5vr0zx9</a></p>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer text-muted">
|
||||
<div class=container>
|
||||
<div class=row>
|
||||
<div class="col-lg-8 order-last order-lg-first">
|
||||
<ul class=list-inline>
|
||||
<li class=list-inline-item>Powered by <a href=https://gohugo.io/>Hugo</a>, and <a href=https://getdoks.org/>Doks</a>. Illustrations by <a href=https://undraw.co/>unDraw</a>.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-8 order-first order-lg-last text-lg-end">
|
||||
<ul class=list-inline>
|
||||
<li class=list-inline-item><a href=https://github.com/iv-org/invidious.io>Website Source Code</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<script src=/js/bootstrap.min.586171fec3966d1a44fa8aa2edb24b861dc3a72be8cc24aa4e0dabe4c312a0dae5fe1eaa7c93180a6211fa4d7c5461b0d228fdf741be2eae279a376dfa1e7d81.js integrity="sha512-WGFx/sOWbRpE+oqi7bJLhh3DpyvozCSqTg2r5MMSoNrl/h6qfJMYCmIR+k18VGGw0ij990G+Lq4nmjdt+h59gQ==" crossorigin=anonymous defer></script>
|
||||
<script src=/js/highlight.min.e13cfba4c5524e30386cb9ea71f0f191f39d15b25b222f4b67549689f7c076158f42a2282446044f5cdacc76a6d003efbfa252a84aea0116703803b6339ae35f.js integrity="sha512-4Tz7pMVSTjA4bLnqcfDxkfOdFbJbIi9LZ1SWiffAdhWPQqIoJEYET1zazHam0APvv6JSqErqARZwOAO2M5rjXw==" crossorigin=anonymous defer></script>
|
||||
<script src=/main.min.9e62c9b0c5dc8279689cc9cb693a32c8ea1d19032f574f98c782ff59a0417d3662ff94b1a7755ab72a7a1862644bf00a58492c65aa0adabbc58080f4018c61bc.js integrity="sha512-nmLJsMXcgnlonMnLaToyyOodGQMvV0+Yx4L/WaBBfTZi/5Sxp3Vatyp6GGJkS/AKWEksZaoK2rvFgID0AYxhvA==" crossorigin=anonymous defer></script>
|
||||
<script src=/index.min.177e5d23ef2cca9f490939925b2e6d748d9bb8005b5423f0c2075bde603b8249fe761b3e8b5d7e3e477b2cf7e73cba3c80e7809e0c3845646c2ca14ee2220663.js integrity="sha512-F35dI+8syp9JCTmSWy5tdI2buABbVCPwwgdb3mA7gkn+dhs+i11+Pkd7LPfnPLo8gOeAngw4RWRsLKFO4iIGYw==" crossorigin=anonymous defer></script>
|
||||
</body>
|
||||
</html>
|
BIN
public/favicon-16x16.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
public/favicon-32x32.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
public/favicon.ico
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public/fonts/KaTeX_AMS-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_AMS-Regular.woff
Normal file
BIN
public/fonts/KaTeX_AMS-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Caligraphic-Bold.ttf
Normal file
BIN
public/fonts/KaTeX_Caligraphic-Bold.woff
Normal file
BIN
public/fonts/KaTeX_Caligraphic-Bold.woff2
Normal file
BIN
public/fonts/KaTeX_Caligraphic-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Caligraphic-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Caligraphic-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Fraktur-Bold.ttf
Normal file
BIN
public/fonts/KaTeX_Fraktur-Bold.woff
Normal file
BIN
public/fonts/KaTeX_Fraktur-Bold.woff2
Normal file
BIN
public/fonts/KaTeX_Fraktur-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Fraktur-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Fraktur-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Main-Bold.ttf
Normal file
BIN
public/fonts/KaTeX_Main-Bold.woff
Normal file
BIN
public/fonts/KaTeX_Main-Bold.woff2
Normal file
BIN
public/fonts/KaTeX_Main-BoldItalic.ttf
Normal file
BIN
public/fonts/KaTeX_Main-BoldItalic.woff
Normal file
BIN
public/fonts/KaTeX_Main-BoldItalic.woff2
Normal file
BIN
public/fonts/KaTeX_Main-Italic.ttf
Normal file
BIN
public/fonts/KaTeX_Main-Italic.woff
Normal file
BIN
public/fonts/KaTeX_Main-Italic.woff2
Normal file
BIN
public/fonts/KaTeX_Main-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Main-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Main-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Math-BoldItalic.ttf
Normal file
BIN
public/fonts/KaTeX_Math-BoldItalic.woff
Normal file
BIN
public/fonts/KaTeX_Math-BoldItalic.woff2
Normal file
BIN
public/fonts/KaTeX_Math-Italic.ttf
Normal file
BIN
public/fonts/KaTeX_Math-Italic.woff
Normal file
BIN
public/fonts/KaTeX_Math-Italic.woff2
Normal file
BIN
public/fonts/KaTeX_SansSerif-Bold.ttf
Normal file
BIN
public/fonts/KaTeX_SansSerif-Bold.woff
Normal file
BIN
public/fonts/KaTeX_SansSerif-Bold.woff2
Normal file
BIN
public/fonts/KaTeX_SansSerif-Italic.ttf
Normal file
BIN
public/fonts/KaTeX_SansSerif-Italic.woff
Normal file
BIN
public/fonts/KaTeX_SansSerif-Italic.woff2
Normal file
BIN
public/fonts/KaTeX_SansSerif-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_SansSerif-Regular.woff
Normal file
BIN
public/fonts/KaTeX_SansSerif-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Script-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Script-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Script-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Size1-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Size1-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Size1-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Size2-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Size2-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Size2-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Size3-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Size3-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Size3-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Size4-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Size4-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Size4-Regular.woff2
Normal file
BIN
public/fonts/KaTeX_Typewriter-Regular.ttf
Normal file
BIN
public/fonts/KaTeX_Typewriter-Regular.woff
Normal file
BIN
public/fonts/KaTeX_Typewriter-Regular.woff2
Normal file
0
public/fonts/vendor/.gitkeep
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-500.woff
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-500.woff2
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-500italic.woff
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-500italic.woff2
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-700.woff
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-700.woff2
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-700italic.woff
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-700italic.woff2
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-italic.woff
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-italic.woff2
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-regular.woff
vendored
Normal file
BIN
public/fonts/vendor/jost/jost-v4-latin-regular.woff2
vendored
Normal file
0
public/images/vendor/.gitkeep
vendored
Normal file
163
public/index.html
Normal file
|
@ -0,0 +1,163 @@
|
|||
<!doctype html><html lang=en-us>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<meta http-equiv=x-ua-compatible content="ie=edge">
|
||||
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
||||
<link rel=preload as=font href=/fonts/vendor/jost/jost-v4-latin-regular.woff2 type=font/woff2 crossorigin>
|
||||
<link rel=preload as=font href=/fonts/vendor/jost/jost-v4-latin-700.woff2 type=font/woff2 crossorigin>
|
||||
<link rel=stylesheet href=/main.d17fe0563148e9c30d2b5e0b895b5e53d2e2ce015dca3cc38eca8304aef1ebaa26916979cf3060bbed2e8554a0cd0b44c68d4541c31c3a1418e0aa6d99f1727c.css integrity="sha512-0X/gVjFI6cMNK14LiVteU9LizgFdyjzDjsqDBK7x66omkWl5zzBgu+0uhVSgzQtExo1FQcMcOhQY4KptmfFyfA==" crossorigin=anonymous>
|
||||
<noscript><style>img.lazyload{display:none}</style></noscript>
|
||||
<meta name=robots content="index, follow">
|
||||
<meta name=googlebot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
|
||||
<meta name=bingbot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
|
||||
<title>Invidious - An open source alternative front-end to YouTube</title>
|
||||
<meta name=description content="Invidious is an open source alternative front-end to YouTube.">
|
||||
<link rel=canonical href=/>
|
||||
<meta property="og:locale" content>
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Invidious">
|
||||
<meta property="og:description" content="Invidious is an open source alternative front-end to YouTube.">
|
||||
<meta property="og:url" content="/">
|
||||
<meta property="og:site_name" content="Invidious">
|
||||
<meta property="og:updated_time" content="2020-10-06T08:47:36+00:00">
|
||||
<meta name=twitter:card content="summary_large_image">
|
||||
<meta name=twitter:site content>
|
||||
<meta name=twitter:creator content>
|
||||
<meta name=twitter:title content="Invidious">
|
||||
<meta name=twitter:description content="Invidious is an open source alternative front-end to YouTube.">
|
||||
<meta name=twitter:card content="summary">
|
||||
<meta name=twitter:image:alt content="Invidious">
|
||||
<link rel=alternate type=application/rss+xml href=/index.xml>
|
||||
<script type=application/ld+json>{"@context":"https://schema.org","@graph":[{"@type":"Person","@id":"/#/schema/person/1","name":"","url":"/","sameAs":[],"image":{"@type":"ImageObject","@id":"/#/schema/image/1","url":"/\u003cnil\u003e","width":null,"height":null,"caption":""}},{"@type":"WebSite","@id":"/#/schema/website/1","url":"/","name":"Invidious","description":"Invidious is an open source alternative front-end to YouTube ","publisher":{"@id":"/#/schema/person/1"}},{"@type":"WebPage","@id":"/","url":"/","name":"Invidious","description":"Invidious is an open source alternative front-end to YouTube.","isPartOf":{"@id":"/#/schema/website/1"},"about":{"@id":"/#/schema/person/1"},"datePublished":"2020-10-06T08:47:36CET","dateModified":"2020-10-06T08:47:36CET","breadcrumb":{"@id":"/#/schema/breadcrumb/1"},"primaryImageOfPage":{"@id":"/#/schema/image/2"},"inLanguage":"","potentialAction":[{"@type":"ReadAction","target":["/"]}]},{"@type":"BreadcrumbList","@id":"/#/schema/breadcrumb/1","name":"Breadcrumbs","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/"}}]},{"@context":"https://schema.org","@graph":[{"@type":"ImageObject","@id":"/#/schema/image/2","url":null,"contentUrl":null,"caption":"Invidious"}]}]}</script>
|
||||
<meta name=theme-color content="#fff">
|
||||
<link rel=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png>
|
||||
<link rel=icon type=image/png sizes=32x32 href=/favicon-32x32.png>
|
||||
<link rel=icon type=image/png sizes=16x16 href=/favicon-16x16.png>
|
||||
<link rel=manifest crossorigin=use-credentials href=/site.webmanifest>
|
||||
</head>
|
||||
<body class=home>
|
||||
<div class="header-bar fixed-top"></div>
|
||||
<header class="navbar fixed-top navbar-expand-md navbar-light">
|
||||
<div class=container>
|
||||
<input class="menu-btn order-0" type=checkbox id=menu-btn>
|
||||
<label class="menu-icon d-md-none" for=menu-btn><span class=navicon></span></label>
|
||||
<a class="navbar-brand order-1 order-md-0 me-auto" href=/>Invidious</a>
|
||||
<button id=mode class="btn btn-link order-2 order-md-4" type=button aria-label="Toggle mode">
|
||||
<span class=toggle-dark><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg></span>
|
||||
<span class=toggle-light><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></span>
|
||||
</button>
|
||||
<ul class="navbar-nav social-nav order-3 order-md-5">
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=https://github.com/iv-org><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"/></svg><span class="ms-2 visually-hidden">GitHub</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="collapse navbar-collapse order-4 order-md-1">
|
||||
<ul class="navbar-nav main-nav me-auto order-5 order-md-2"><li class=nav-item>
|
||||
<a class=nav-link href=https://docs.invidious.io/>Documentation</a>
|
||||
</li>
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=https://github.com/iv-org/invidious#contribute>Contribute</a>
|
||||
</li>
|
||||
<li class=nav-item>
|
||||
<a class=nav-link href=/donate/>Donate</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="break order-6 d-md-none"></div>
|
||||
<form class="navbar-form flex-grow-1 order-7 order-md-3">
|
||||
<input id=userinput class="form-control is-search" type=search placeholder="Search docs..." aria-label="Search docs..." autocomplete=off>
|
||||
<div id=suggestions class="shadow bg-white rounded"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="wrap container" role=document>
|
||||
<div class=content>
|
||||
<section class="section container-fluid mt-n3 pb-3">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h1><img src=invidious-colored-vector.svg width=192 height=192 alt="Invidious logo"></h1>
|
||||
<h1 class=mt-0>Invidious</h1>
|
||||
</div>
|
||||
<div class="col-lg-9 col-xl-8 text-center">
|
||||
<p class=lead>Invidious is an open source alternative front-end to YouTube.</p>
|
||||
<a class="btn btn-primary btn-lg px-4 mb-2" href=https://instances.invidious.io/ role=button>Use Invidious</a>
|
||||
<a class="btn btn-primary btn-lg px-4 mb-2" href=https://docs.invidious.io/Installation.md role=button>Host Invidious</a>
|
||||
<p class=meta>Invidious is <a href=https://github.com/iv-org/invidious>Free (Libre) and Open Source software</a> licensed under the <a href=https://www.gnu.org/licenses/agpl-3.0.en.html>AGPL-3.0</a>.</p>
|
||||
<h5 class=mt-0>Chat with us:</h5>
|
||||
<a href=https://matrix.to/#/#invidious:matrix.org><img alt=Matrix src="https://img.shields.io/matrix/invidious:matrix.org?label=Matrix&color=darkgreen"></a>
|
||||
<a href="https://web.libera.chat/?channel=#invidious"><img alt="Libera.chat (IRC)" src=https://img.shields.io/badge/IRC%20%28Libera.chat%29-%23invidious-darkgreen></a>
|
||||
<br> <br>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<section class="section section-sm">
|
||||
<div class=container>
|
||||
<div class="row justify-content-center text-center">
|
||||
<div class=col-lg-5>
|
||||
<img src=undraw_privacy_protection_nlwy.svg alt="Visual illustration from undraw" height=250 width=350/>
|
||||
<h2 class=h4>Privacy focused</h2>
|
||||
<p>Invidious protects you from the prying eyes of Google. It won't track you either!</p>
|
||||
</div>
|
||||
<div class=col-lg-5>
|
||||
<img src=undraw_design_inspiration_fmjm.svg alt="Visual illustration from undraw" height=250 width=350/>
|
||||
<h2 class=h4>Ethically designed</h2>
|
||||
<p>Invidious helps you regain focus through a humane-design — no more shall your day be wasted away!</p>
|
||||
</div>
|
||||
<div class=col-lg-5>
|
||||
<img src=undraw_subscriptions_re_k7jj.svg alt="Visual illustration from undraw" height=250 width=350/>
|
||||
<h2 class=h4>Accounts</h2>
|
||||
<p>Invidious allows you to subscribe to channels and create playlists, without needing a YouTube account.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br> <br>
|
||||
<div class=container>
|
||||
<div class="row justify-content-center text-center">
|
||||
<div class=col-lg-5>
|
||||
<img src=undraw_Around_the_world_re_n353.svg alt="Visual illustration from undraw" height=250 width=350/>
|
||||
<h2 class=h4>Multilingual</h2>
|
||||
<p>Thanks to our <a href=https://hosted.weblate.org/engage/invidious/>translators</a>, Invidious is available in many different languages.</p>
|
||||
</div>
|
||||
<div class=col-lg-5>
|
||||
<img src=undraw_Placeholders_re_pvr4.svg alt="Visual illustration from undraw" height=250 width=350/>
|
||||
<h2 class=h4>No Ads</h2>
|
||||
<p>Invidious allows you to watch videos without being disturbed by annoying ads. Also 100% supported by <a href=https://sponsor.ajay.app/>Sponsorblock</a></p>
|
||||
</div>
|
||||
<div class=col-lg-5>
|
||||
<img src=undraw_Coding_re_iv62.svg alt="Visual illustration from undraw" height=250 width=350/>
|
||||
<h2 class=h4>Developer API</h2>
|
||||
<p>Invidious has a <a href=https://docs.invidious.io/API.md>fully featured and documented REST API</a> for developers.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section section-sm container-fluid">
|
||||
<div class="row justify-content-center text-center">
|
||||
<div class=col-lg-9></div>
|
||||
</div>
|
||||
</section>
|
||||
<footer class="footer text-muted">
|
||||
<div class=container>
|
||||
<div class=row>
|
||||
<div class="col-lg-8 order-last order-lg-first">
|
||||
<ul class=list-inline>
|
||||
<li class=list-inline-item>Powered by <a href=https://gohugo.io/>Hugo</a>, and <a href=https://getdoks.org/>Doks</a>. Illustrations by <a href=https://undraw.co/>unDraw</a>.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-8 order-first order-lg-last text-lg-end">
|
||||
<ul class=list-inline>
|
||||
<li class=list-inline-item><a href=https://github.com/iv-org/invidious.io>Website Source Code</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<script src=/js/bootstrap.min.586171fec3966d1a44fa8aa2edb24b861dc3a72be8cc24aa4e0dabe4c312a0dae5fe1eaa7c93180a6211fa4d7c5461b0d228fdf741be2eae279a376dfa1e7d81.js integrity="sha512-WGFx/sOWbRpE+oqi7bJLhh3DpyvozCSqTg2r5MMSoNrl/h6qfJMYCmIR+k18VGGw0ij990G+Lq4nmjdt+h59gQ==" crossorigin=anonymous defer></script>
|
||||
<script src=/js/highlight.min.e13cfba4c5524e30386cb9ea71f0f191f39d15b25b222f4b67549689f7c076158f42a2282446044f5cdacc76a6d003efbfa252a84aea0116703803b6339ae35f.js integrity="sha512-4Tz7pMVSTjA4bLnqcfDxkfOdFbJbIi9LZ1SWiffAdhWPQqIoJEYET1zazHam0APvv6JSqErqARZwOAO2M5rjXw==" crossorigin=anonymous defer></script>
|
||||
<script src=/main.min.9e62c9b0c5dc8279689cc9cb693a32c8ea1d19032f574f98c782ff59a0417d3662ff94b1a7755ab72a7a1862644bf00a58492c65aa0adabbc58080f4018c61bc.js integrity="sha512-nmLJsMXcgnlonMnLaToyyOodGQMvV0+Yx4L/WaBBfTZi/5Sxp3Vatyp6GGJkS/AKWEksZaoK2rvFgID0AYxhvA==" crossorigin=anonymous defer></script>
|
||||
<script src=/index.min.177e5d23ef2cca9f490939925b2e6d748d9bb8005b5423f0c2075bde603b8249fe761b3e8b5d7e3e477b2cf7e73cba3c80e7809e0c3845646c2ca14ee2220663.js integrity="sha512-F35dI+8syp9JCTmSWy5tdI2buABbVCPwwgdb3mA7gkn+dhs+i11+Pkd7LPfnPLo8gOeAngw4RWRsLKFO4iIGYw==" crossorigin=anonymous defer></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,141 @@
|
|||
var suggestions = document.getElementById('suggestions');
|
||||
var userinput = document.getElementById('userinput');
|
||||
|
||||
document.addEventListener('keydown', inputFocus);
|
||||
|
||||
function inputFocus(e) {
|
||||
|
||||
if (e.keyCode === 191 ) {
|
||||
e.preventDefault();
|
||||
userinput.focus();
|
||||
}
|
||||
|
||||
if (e.keyCode === 27 ) {
|
||||
userinput.blur();
|
||||
suggestions.classList.add('d-none');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
document.addEventListener('click', function(event) {
|
||||
|
||||
var isClickInsideElement = suggestions.contains(event.target);
|
||||
|
||||
if (!isClickInsideElement) {
|
||||
suggestions.classList.add('d-none');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
/*
|
||||
Source:
|
||||
- https://dev.to/shubhamprakash/trap-focus-using-javascript-6a3
|
||||
*/
|
||||
|
||||
document.addEventListener('keydown',suggestionFocus);
|
||||
|
||||
function suggestionFocus(e){
|
||||
|
||||
const focusableSuggestions= suggestions.querySelectorAll('a');
|
||||
const focusable= [...focusableSuggestions];
|
||||
const index = focusable.indexOf(document.activeElement);
|
||||
|
||||
let nextIndex = 0;
|
||||
|
||||
if (e.keyCode === 38) {
|
||||
e.preventDefault();
|
||||
nextIndex= index > 0 ? index-1 : 0;
|
||||
focusableSuggestions[nextIndex].focus();
|
||||
}
|
||||
else if (e.keyCode === 40) {
|
||||
e.preventDefault();
|
||||
nextIndex= index+1 < focusable.length ? index+1 : index;
|
||||
focusableSuggestions[nextIndex].focus();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Source:
|
||||
- https://github.com/nextapps-de/flexsearch#index-documents-field-search
|
||||
- https://raw.githack.com/nextapps-de/flexsearch/master/demo/autocomplete.html
|
||||
*/
|
||||
|
||||
(function(){
|
||||
|
||||
var index = new FlexSearch.Document({
|
||||
tokenize: "forward",
|
||||
cache: 100,
|
||||
document: {
|
||||
id: 'id',
|
||||
store: [
|
||||
"href", "title", "description"
|
||||
],
|
||||
index: ["title", "description", "content"]
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// Not yet supported: https://github.com/nextapps-de/flexsearch#complex-documents
|
||||
|
||||
/*
|
||||
var docs = [
|
||||
];
|
||||
*/
|
||||
|
||||
// https://discourse.gohugo.io/t/range-length-or-last-element/3803/2
|
||||
|
||||
index.add(
|
||||
;
|
||||
|
||||
userinput.addEventListener('input', show_results, true);
|
||||
suggestions.addEventListener('click', accept_suggestion, true);
|
||||
|
||||
function show_results(){
|
||||
|
||||
var value = this.value;
|
||||
var results = index.search(value, { limit: 5, index: ["content"], enrich: true });
|
||||
var entry, childs = suggestions.childNodes;
|
||||
var i = 0, len = results.length;
|
||||
|
||||
suggestions.classList.remove('d-none');
|
||||
|
||||
results.forEach(function(results) {
|
||||
|
||||
entry = document.createElement('div');
|
||||
|
||||
entry.innerHTML = '<a href><span></span><span></span></a>';
|
||||
|
||||
a = entry.querySelector('a'),
|
||||
t = entry.querySelector('span:first-child'),
|
||||
d = entry.querySelector('span:nth-child(2)');
|
||||
|
||||
// console.log(results);
|
||||
|
||||
a.href = results.result[i].doc.href;
|
||||
t.textContent = results.result[i].doc.title;
|
||||
d.textContent = results.result[i].doc.description;
|
||||
|
||||
suggestions.appendChild(entry);
|
||||
|
||||
});
|
||||
|
||||
while(childs.length > len){
|
||||
|
||||
suggestions.removeChild(childs[i])
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function accept_suggestion(){
|
||||
|
||||
while(suggestions.lastChild){
|
||||
|
||||
suggestions.removeChild(suggestions.lastChild);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}());
|
4
public/index.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Invidious on</title><link>/</link><description>Recent content in Invidious on</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Tue, 06 Oct 2020 08:47:36 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>Donate</title><link>/donate/</link><pubDate>Thu, 27 Aug 2020 19:23:18 +0200</pubDate><guid>/donate/</guid><description>Bitcoin (BTC): bc1qfhe7rq3lqzuayzjxzyt9waz9ytrs09kla3tsgr
|
||||
Monero (XMR): 41nMCtek197boJtiUvGnTFYMatrLEpnpkQDmUECqx5Es2uX3sTKKWVhSL76suXsG3LXqkEJBrCZBgPTwJrDp1FrZJfycGPR
|
||||
Ethereum (ETH): 0xD1F7E3Bfb19Ee5a52baED396Ad34717aF18d995B
|
||||
Litecoin (LTC): ltc1q8787aq2xrseq5yx52axx8c4fqks88zj5vr0zx9</description></item></channel></rss>
|
2
public/invidious-colored-vector.svg
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="512pt" height="512pt" version="1.0" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><g><rect x="-.0072516" y=".00056299" width="512.01" height="512.02" fill="#575757" stroke-width=".063019"/><path d="m247.17 455.95c-19.792-0.78921-38.719-4.2564-57.154-10.47-60.968-20.55-108.68-68.579-127-127.86-7.8955-25.538-10.062-53.943-6.2586-82.067 3.7105-27.439 13.603-53.515 29.342-77.344 12.069-18.273 29.138-36.277 47.228-49.816 36.891-27.61 85.944-42.49 132.38-40.157 25.88 1.3001 49.939 6.765 73.106 16.606 8.1948 3.481 20.024 9.6845 27.696 14.525 14.15 8.9272 22.367 15.498 34.482 27.573 13.254 13.211 22.128 24.276 30.398 37.906 7.2081 11.879 14.099 27.15 18.229 40.397 1.5996 5.1305 4.442 16.456 5.6852 22.653 2.3908 11.917 2.6998 15.722 2.7049 33.312 6e-3 18.515-0.46256 24.413-2.9166 36.758-9.3274 46.92-35.58 88.167-74.872 117.64-22.814 17.112-50.027 29.535-78.547 35.858-16.714 3.7059-35.421 5.2453-54.498 4.4846zm-35.1-78.786c-5.3e-4 -0.52647-0.0741-2.0564-0.16311-3.3999l-0.16178-2.4427-4.7018-0.26271c-4.0477-0.22614-4.7968-0.33363-5.3847-0.77253-2.0235-1.5108-1.4679-6.0695 2.2494-18.457 0.8637-2.8781 3.3371-11.321 5.4966-18.762 2.1594-7.4409 5.2002-17.836 6.7573-23.101 1.5571-5.2648 4.1948-14.282 5.8615-20.038 1.6667-5.7562 3.6145-12.4 4.3284-14.764 0.71391-2.3641 3.2583-11.037 5.6542-19.272 4.9475-17.007 8.1626-27.723 8.9438-29.811 0.51852-1.3858 0.54785-1.4139 0.99761-0.95317 0.25486 0.26106 3.8462 7.3667 7.9807 15.79 4.1345 8.4236 13.089 26.573 19.898 40.331 17.188 34.73 37.849 76.578 43.261 87.622l4.5356 9.257 11.359-0.0895c6.2475-0.0492 11.615-0.19623 11.929-0.32672 0.5614-0.23385 0.54167-0.2959-1.3723-4.3176-1.068-2.2442-8.1436-16.601-15.724-31.904-48.687-98.293-61.22-123.86-67.889-138.48-4.7022-10.309-6.9031-14.807-7.7139-15.762-0.82931-0.97742-1.6319-1.0638-2.3704-0.25525-1.1993 1.313-4.1046 10.063-9.3869 28.27-2.0569 7.0899-6.5372 22.425-9.9562 34.077-6.6396 22.629-8.5182 29.037-14.33 48.883-2.0354 6.9495-4.7977 16.369-6.1385 20.931-1.3408 4.5628-4.033 13.81-5.9826 20.549-4.304 14.877-6.136 20.889-7.3886 24.25-2.1371 5.7334-2.5723 6.3292-4.9216 6.7384-0.88855 0.15472-2.4102 0.28196-3.3815 0.28275-2.1993 3e-3 -3.5494 0.36339-4.0558 1.0863-0.42176 0.60215-0.56421 4.8802-0.18251 5.4812 0.20573 0.32388 2.4672 0.37414 23.34 0.51873l8.6151 0.0597-7e-4 -0.95723zm36.751-205.59c4.3282-0.92335 8.4607-4.943 9.4374-9.1796 0.36569-1.5862 0.32543-4.9758-0.077-6.4799-0.85108-3.1813-3.2688-6.291-6.039-7.7675-3.8111-2.0313-9.456-2.0295-13.272 5e-3 -5.9828 3.1888-8.1556 11.089-4.7878 17.408 2.6995 5.0648 8.3611 7.3754 14.738 6.015z" fill="#f0f0f0" stroke-width=".025526"/></g><g transform="matrix(.069892 0 0 -.069892 44.236 474.48)"><path d="m2787 4669c-124-65-123-255 3-319 86-44 196-16 247 62 58 87 26 211-67 258-51 26-132 26-183-1z" fill="#00b6f0" stroke="#00b6f0" stroke-width="4.25"/><path d="m2882 4108c-12-16-63-166-102-303-30-104-101-350-165-565-20-69-58-199-85-290-26-91-64-221-85-290-20-69-58-199-85-290-26-91-64-221-85-290-20-69-57-195-81-280-59-207-93-299-115-310-10-6-35-10-56-10-73 0-84-8-81-54l3-41 228-3 228-2-3 47-3 48-73 3c-66 3-74 5-84 27-13 28 0 104 37 225 13 41 47 156 75 255s66 230 85 290c18 61 56 191 85 290 28 99 66 230 85 290 18 61 56 191 85 290 85 297 123 419 131 429 5 5 17-11 28-35 10-24 192-393 403-819s447-902 523-1058l139-282h168c92 0 168 4 168 8s-75 158-166 342c-588 1183-969 1958-1033 2100-29 63-69 151-89 195-44 95-58 110-80 83z" fill="#575757"/></g></svg>
|
After Width: | Height: | Size: 3.4 KiB |
0
public/js/vendor/.gitkeep
vendored
Normal file
BIN
public/logo-doks.png
Normal file
After Width: | Height: | Size: 20 KiB |
1
public/logo-doks.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#E1E8ED" d="M32.415 9.586l-9-9C23.054.225 22.553 0 22 0c-1.104 0-1.999.896-2 2 0 .552.224 1.053.586 1.415l-3.859 3.859 9 9 3.859-3.859c.362.361.862.585 1.414.585 1.104 0 2.001-.896 2-2 0-.552-.224-1.052-.585-1.414z"/><path fill="#CCD6DD" d="M22 0H7C4.791 0 3 1.791 3 4v28c0 2.209 1.791 4 4 4h22c2.209 0 4-1.791 4-4V11h-9c-1 0-2-1-2-2V0z"/><path fill="#99AAB5" d="M22 0h-2v9c0 2.209 1.791 4 4 4h9v-2h-9c-1 0-2-1-2-2V0zm-5 8c0 .552-.448 1-1 1H8c-.552 0-1-.448-1-1s.448-1 1-1h8c.552 0 1 .448 1 1zm0 4c0 .552-.448 1-1 1H8c-.552 0-1-.448-1-1s.448-1 1-1h8c.552 0 1 .448 1 1zm12 4c0 .552-.447 1-1 1H8c-.552 0-1-.448-1-1s.448-1 1-1h20c.553 0 1 .448 1 1zm0 4c0 .553-.447 1-1 1H8c-.552 0-1-.447-1-1 0-.553.448-1 1-1h20c.553 0 1 .447 1 1zm0 4c0 .553-.447 1-1 1H8c-.552 0-1-.447-1-1 0-.553.448-1 1-1h20c.553 0 1 .447 1 1zm0 4c0 .553-.447 1-1 1H8c-.552 0-1-.447-1-1 0-.553.448-1 1-1h20c.553 0 1 .447 1 1z"/></svg>
|
After Width: | Height: | Size: 972 B |