Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

4.4 KB
Raw Blame
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <title>Papra - Document archiving and sharing platform</title>

    <meta name="title" content="Papra - Document archiving and sharing platform" />
    <meta name="description" content="Papra, the document archiving and sharing platform." />

    <link rel="author" href="humans.txt" />
    <link rel="canonical" href="https://papra.app/" />

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://papra.app/" />
    <meta property="og:title" content="Papra - Document archiving and sharing platform" />
    <meta property="og:description" content="Papra, the document archiving and sharing platform." />
    <meta property="og:image" content="https://papra.app/og-image.png" />

    <!-- Twitter -->
    <meta property="twitter:card" content="summary_large_image" />
    <meta property="twitter:url" content="https://papra.app/" />
    <meta property="twitter:title" content="Papra - Document archiving and sharing platform" />
    <meta
      property="twitter:description"
      content="Papra, the document archiving and sharing platform."
    />
    <meta property="twitter:image" content="https://papra.app/og-image.png" />

    <!-- Favicon and Icons -->
    <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png" />
    <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png" />
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png" />
    <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png" />
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png" />
    <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png" />
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png" />
    <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png" />
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png" />
    <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png" />
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
    <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png" />
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
    <link rel="manifest" href="/manifest.json" />
    <meta name="msapplication-TileColor" content="#ffffff" />
    <meta name="msapplication-TileImage" content="/ms-icon-144x144.png" />
    <meta name="theme-color" content="#ffffff" />

    <!-- Structured Data (JSON-LD for rich snippets) -->
    <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "WebApplication",
        "name": "Papra",
        "url": "https://papra.app/",
        "description": "Papra, the document archiving and sharing platform.",
        "applicationCategory": "Utilities",
        "operatingSystem": "Web",
        "browserRequirements": "Requires JavaScript",
        "image": "https://papra.app/og-image.png",
        "creator": {
          "@type": "Organization",
          "name": "Papra"
        }
      }
    </script>

    <style>
      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
      }
    </style>

    <!-- Prevent FOUC, default to dark theme -->
    <script>
      (function () {
        try {
          const stored = localStorage?.getItem('papra_color_mode');
          const systemPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
          const isLight = stored === 'light' || (stored === 'system' && !systemPrefersDark);

          document.documentElement.setAttribute('data-kb-theme', isLight ? 'light' : 'dark');
        } catch {}
      })();
    </script>
  </head>
  <body class="bg-background text-foreground">
    <h1 class="sr-only">Papra - Document archiving and sharing platform</h1>
    <p class="sr-only">Papra, the document archiving and sharing platform.</p>

    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>

    <script src="/src/index.tsx" type="module"></script>
  </body>
</html>