pub / yt2html

Fetches Youtube content via RSS and provides a chronological timeline
git clone https://src.jayvii.de/pub/yt2html.git
Home | Log | Files | Exports | Refs | README | RSS

template.html (1791B)


      1 <!-- SPDX-License-Identifier: AGPL-3.0-or-later
      2      SPDX-FileCopyrightText: 2021-2024 JayVii <jayvii[AT]posteo[DOT]de>
      3 -->
      4 
      5 <!DOCTYPE html>
      6 <html lang="en">
      7   <head>
      8     <meta charset="utf-8">
      9     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     10     <!-- Title may be filled in by script -->
     11     <title>%%TITLE%%</title>
     12     <link rel="icon" type="image/png" href="/assets/favicon.png">
     13     <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon_16.png">
     14     <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon_32.png">
     15     <link rel="icon" type="image/png" sizes="64x64" href="/assets/favicon_64.png">
     16     <link rel="icon" type="image/png" sizes="128x128" href="/assets/favicon_128.png">
     17     <link rel="apple-touch-icon" href="/assets/favicon.png">
     18     <link rel="stylesheet" type="text/css" href="/assets/css/simple.min.css"/>
     19     <link rel="stylesheet" type="text/css" href="/assets/css/custom.css"/>
     20     <script async src="assets/js/yt.js"></script>
     21     <script src="assets/js/thumbnails.js"></script>
     22     <link crossorigin="use-credentials" rel="manifest" href="/manifest.json">
     23     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     24   </head>
     25 
     26   <body onload="setThumbnails();">
     27 
     28     <header>
     29       <h1>Videos</h1>
     30       <a class="button" href="/">All Videos</a>
     31       <a class="button" href="javascript:toggleThumbnails();">Thumbnails</a>
     32       <a class="button" href="reload.php">Refresh</a>
     33     </header>
     34 
     35     <form action="https://www.youtube.com/results" method="GET">
     36         <input
     37           id="searchbar"
     38           type="text"
     39           id="searchInput"
     40           name="search_query"
     41           placeholder="Search on YouTube..."
     42         >
     43     </form>
     44 
     45     <!-- HERE COMES SCRIPT GENERATED CONTENT -->