about summary refs log tree commit diff
path: root/kittybox-rs/companion-lite/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/companion-lite/index.html')
-rw-r--r--kittybox-rs/companion-lite/index.html127
1 files changed, 0 insertions, 127 deletions
diff --git a/kittybox-rs/companion-lite/index.html b/kittybox-rs/companion-lite/index.html
deleted file mode 100644
index fc99c60..0000000
--- a/kittybox-rs/companion-lite/index.html
+++ /dev/null
@@ -1,127 +0,0 @@
-<!DOCTYPE html>
-<html>
-    <head>
-        <meta charset="utf-8">
-        <title>Kittybox-Micropub debug client</title>
-        <link rel="stylesheet" href="./style.css">
-        <script type="module" src="./main.js"></script>
-        <link rel="jslicense" href="#jslicense">
-    </head>
-    <body>
-      <noscript>
-        <h1 class="header">Kittybox Companion (Lite)</h1>
-        <p>I'm sorry, Kittybox Companion requires JavaScript to work.</p>
-
-        <p>This is a requirement due to multiple interactive features present in Kittybox, such as support for multiple-entry form fields, interactive login sequence and more.</p>
-
-        <p>However, the Micropub standard is extremely flexible, and if you happen to have a token, you can publish articles, notes, likes, follows and more by sending requests directly to the Micropub endpoint.</p>
-
-        <p><a href="https://micropub.spec.indieweb.org/">The Micropub spec is defined here.</a> Good luck!</p>
-      </noscript>
-
-      <div class="view" id="unauthorized" style="display:none">
-        <form action="#" id="indieauth">
-          <label for="me">Your website URL:</label>
-          <input id="me" name="me" type="url">
-          <input type="submit">
-        </form>
-      </div>
-
-      <div class="view" id="authorizing" style="display:none">
-        <p>Performing the authorization dance...</p>
-      </div>
-
-      <div class="view" id="authorized" style="display:none">
-        <form action="/.kittybox/micropub" method="POST" id="micropub">
-          <fieldset>
-            <legend>Post details:</legend>
-            <section>
-              <label for="name">Name (leave blank for an unnamed post):</label>
-              <input id="name" type="text">
-            </section>
-            <section>
-              <label for="content">Content:</label>
-              <textarea id="content" placeholder="Your post's text goes here"></textarea>
-            </section>
-            <section>
-              <label for="category">Categories (separeted by commas):</label>
-              <input id="category" type="text">
-            </section>
-            <fieldset>
-              <legend>Channels</legend>
-              <section>
-                <input type="radio" id="no_channel" name="channel_select" checked value="">
-                <label for="no_channel">Default channel only</label>
-              </section>
-
-              <section>
-                <input type="radio" id="select_channels" name="channel_select" value="on">
-                <label for="select_channels">Select channels manually</label>
-              </section>
-              
-              <fieldset id="channels" style="display: none">
-                <legend>Available channels:</legend>
-                <template id="channel_selector">
-                  <section>
-                    <input type="checkbox" name="channel" id="" value="">
-                    <label for=""></label>
-                  </section>
-                </template>
-                <div id="channels_target"></div>
-              </fieldset>
-            </fieldset>
-          </fieldset>
-          <input type="submit">
-        </form>
-      </div>
-
-      <details id="jslicense">
-        <summary>JavaScript licensing information for this software</summary>
-        <table id="jslicense-labels1">
-          <tr>
-            <td><a href="/.kittybox/micropub/client/main.js">main.js</a></td>
-            <td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td>
-            <td><a href="https://git.sr.ht/~vikanezrimaya/kittybox/tree/main/item/kittybox-rs/companion-lite/src/main.ts">main.ts (Kittybox source code)</a></td>
-          </tr>
-          <tr>
-            <td><a href="/.kittybox/micropub/client/micropub_api.js">micropub_api.js</a></td>
-            <td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td>
-            <td><a href="https://git.sr.ht/~vikanezrimaya/kittybox/tree/main/item/kittybox-rs/companion-lite/src/micropub_api.ts">micropub_api.ts (Kittybox source code)</a></td>
-          </tr>
-          <tr>
-            <td><a href="/.kittybox/micropub/client/indieauth.js">indieauth.js</a></td>
-            <td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td>
-            <td><a href="https://git.sr.ht/~vikanezrimaya/kittybox/tree/main/item/kittybox-rs/companion-lite/src/indieauth.ts">indieauth.ts (Kittybox source code)</a></td>
-          </tr>
-          <tr>
-            <td><a href="/.kittybox/micropub/client/base64.js">base64.js</a></td>
-            <td><a href="http://creativecommons.org/publicdomain/zero/1.0/legalcode">CC0 (Public Domain)</a></td>
-            <td><a href="https://git.sr.ht/~vikanezrimaya/kittybox/tree/main/item/kittybox-rs/companion-lite/src/base64.ts">base64.ts</a>, adapted from <a href="https://developer.mozilla.org/en-US/docs/Glossary/Base64#solution_2_%E2%80%93_rewriting_atob_and_btoa_using_typedarrays_and_utf-8">MDN page on Base64</a></td>
-          </tr>
-          <tr>
-            <td><a href="https://esm.sh/microformats-parser@1.4.1?pin=v96">ESM.sh entrypoint for microformats-parser</a></td>
-            <td><a href="http://www.jclark.com/xml/copying.txt">MIT/Expat</a></td>
-            <td><a href="https://github.com/ije/esm.sh/blob/main/server/handler.go">esm.sh source code</a>
-          </tr>
-          <tr>
-            <td><a href="https://esm.sh/v96/microformats-parser@1.4.1/es2022/microformats-parser.js">microformats-parser</a></td>
-            <td><a href="http://www.jclark.com/xml/copying.txt">MIT/Expat</a></td>
-            <td><a href="https://github.com/microformats/microformats-parser">GitHub repository</a>
-          </tr>
-          <tr>
-            <td><a href="https://esm.sh/v96/parse5@6.0.1/es2022/parse5.js">parse5</a></td>
-            <td>
-              <a href="http://www.jclark.com/xml/copying.txt">MIT/Expat</a>
-              <br>
-              <a href="http://www.freebsd.org/copyright/freebsd-license.html">BSD-2-Clause</a>
-            </td>
-            <td>
-              <a href="https://github.com/inikulin/parse5">GitHub repository for parse5</a>
-              <br>
-              <a href="https://github.com/fb55/entities">GitHub repository for entitites</a>, a parse5 dependency
-            </td>
-          </tr>
-        </table>
-      </details>
-    </body>
-</html>