Download client/index.html from abr00kx/taper: direct link, hf CLI and curl.
- Browser
- Download file 15 kB
-
https://huggingface.co/abr00kx/taper/resolve/main/client/index.html
- Command line
-
hf download hf://abr00kx/taper/client/index.html
-
curl -L -o index.html https://huggingface.co/abr00kx/taper/resolve/main/client/index.html
15 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta http-equiv="Content-Security-Policy" | |
| content="default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self'; img-src 'self' data: blob:; connect-src 'self' ws: wss:; base-uri 'none'; form-action 'none'"> | |
| <meta name="referrer" content="no-referrer"> | |
| <meta name="taper-gateway" content=""> | |
| <title>Taper</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="wasm-check.js"></script> | |
| <script type="module" src="app.js"></script> | |
| </head> | |
| <body> | |
| <div id="wasm-blocked" class="dev-banner blocked" role="alert" hidden> | |
| <strong>This page can't work here: WebAssembly is blocked.</strong> | |
| Taper needs it for encryption and to log in without sending your password. | |
| In Tor Browser, set the security level to <strong>Standard</strong> | |
| (the shield icon, then Settings), or use a native client. | |
| </div> | |
| <div class="dev-banner" role="alert"> | |
| Preview build. Messages are end-to-end encrypted; verify people under | |
| <strong>Members</strong> before trusting them. | |
| </div> | |
| <main id="login-view" class="login" hidden> | |
| <form id="login-form" class="card" autocomplete="on"> | |
| <div class="brand"><svg class="mark" viewBox="0 0 64 64" aria-hidden="true" focusable="false"><defs><linearGradient id="g1" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#ff7a3d"/><stop offset="0.55" stop-color="#ff3d6e"/><stop offset="1" stop-color="#b5179e"/></linearGradient></defs><rect width="64" height="64" rx="16" fill="url(#g1)"/><path fill="#fff" d="M33 9c2 9 13 14 13 27a14 14 0 0 1-21.6 11.8L15 52l3.6-8.6A14 14 0 0 1 18 36c0-7 4-10.5 7.5-13.5C25 26 27 28.5 29 28.5 27.5 21 30 14 33 9z"/><path fill="#ff3d6e" d="M32 30c1.2 4.6 6.5 6.6 6.5 11.5a6.5 6.5 0 0 1-13 0c0-3.6 2.4-5.4 4-7 .1 2 1 3 2.2 3.3-.9-2.8-.4-5.4.3-7.8z"/></svg><h1>taper</h1></div> | |
| <p class="tagline">Private chats that burn out in 21 days.</p> | |
| <label>Username | |
| <input id="username" name="username" autocomplete="username" required spellcheck="false" autocapitalize="none"> | |
| </label> | |
| <label>Password | |
| <input id="password" name="password" type="password" autocomplete="current-password" required minlength="8"> | |
| <small id="pw-strength" class="muted" aria-live="polite"></small> | |
| </label> | |
| <label class="check"><input id="remember" type="checkbox"> Keep this device signed in</label> | |
| <details id="gateway-adv" class="advanced"> | |
| <summary>Server & invite</summary> | |
| <label>Gateway | |
| <input id="gateway-url" name="gateway" type="url" required spellcheck="false"> | |
| </label> | |
| <label>Invite token (if required) | |
| <input id="invite-token" name="invite-token" autocomplete="off" spellcheck="false" placeholder="ti_…"> | |
| </label> | |
| </details> | |
| <label id="device-pass-row" hidden>Device passphrase | |
| <input id="device-pass" name="device-passphrase" type="password" autocomplete="new-password" minlength="10" spellcheck="false" aria-describedby="device-pass-help"> | |
| <small id="device-pass-help" class="muted">Asked each time you open Taper here. It locks the keys stored on this device. Forget it and you sign in again: it can't be recovered. Don't use this on a shared computer.</small> | |
| </label> | |
| <div class="row"> | |
| <button type="submit" data-action="login">Log in</button> | |
| <button type="submit" data-action="register" class="secondary">Register</button> | |
| </div> | |
| <p id="login-error" class="error" role="status"></p> | |
| </form> | |
| </main> | |
| <main id="unlock-view" class="login" hidden> | |
| <form id="unlock-form" class="card" autocomplete="off"> | |
| <div class="brand"><svg class="mark" viewBox="0 0 64 64" aria-hidden="true" focusable="false"><defs><linearGradient id="g2" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#ff7a3d"/><stop offset="0.55" stop-color="#ff3d6e"/><stop offset="1" stop-color="#b5179e"/></linearGradient></defs><rect width="64" height="64" rx="16" fill="url(#g2)"/><path fill="#fff" d="M33 9c2 9 13 14 13 27a14 14 0 0 1-21.6 11.8L15 52l3.6-8.6A14 14 0 0 1 18 36c0-7 4-10.5 7.5-13.5C25 26 27 28.5 29 28.5 27.5 21 30 14 33 9z"/><path fill="#ff3d6e" d="M32 30c1.2 4.6 6.5 6.6 6.5 11.5a6.5 6.5 0 0 1-13 0c0-3.6 2.4-5.4 4-7 .1 2 1 3 2.2 3.3-.9-2.8-.4-5.4.3-7.8z"/></svg><h1>taper</h1></div> | |
| <p>This device is locked. Enter its passphrase to open your messages.</p> | |
| <label>Device passphrase | |
| <input id="unlock-pass" type="password" autocomplete="current-password" required spellcheck="false"> | |
| </label> | |
| <div class="row"> | |
| <button type="submit" id="unlock-go">Unlock</button> | |
| <button type="button" id="unlock-wipe" class="secondary">Wipe this device</button> | |
| </div> | |
| <p id="unlock-error" class="error" role="status"></p> | |
| </form> | |
| </main> | |
| <div id="app-view" class="app" hidden> | |
| <aside class="sidebar"> | |
| <div class="brand small"><svg class="mark" viewBox="0 0 64 64" aria-hidden="true" focusable="false"><defs><linearGradient id="g3" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#ff7a3d"/><stop offset="0.55" stop-color="#ff3d6e"/><stop offset="1" stop-color="#b5179e"/></linearGradient></defs><rect width="64" height="64" rx="16" fill="url(#g3)"/><path fill="#fff" d="M33 9c2 9 13 14 13 27a14 14 0 0 1-21.6 11.8L15 52l3.6-8.6A14 14 0 0 1 18 36c0-7 4-10.5 7.5-13.5C25 26 27 28.5 29 28.5 27.5 21 30 14 33 9z"/><path fill="#ff3d6e" d="M32 30c1.2 4.6 6.5 6.6 6.5 11.5a6.5 6.5 0 0 1-13 0c0-3.6 2.4-5.4 4-7 .1 2 1 3 2.2 3.3-.9-2.8-.4-5.4.3-7.8z"/></svg><span class="wordmark">taper</span></div> | |
| <header class="me"> | |
| <span id="me-avatar" class="avatar" aria-hidden="true"></span> | |
| <span id="me-id" class="mono"></span> | |
| <span id="conn-status" class="status" role="img" aria-label="Connection" title="Connection"></span> | |
| <button id="open-settings" class="link">Settings</button> | |
| <button id="lock" class="link" hidden>Lock</button> | |
| <button id="logout" class="link">Log out</button> | |
| </header> | |
| <section> | |
| <h2>Invites</h2> | |
| <ul id="invite-list" class="list"></ul> | |
| </section> | |
| <section> | |
| <h2>Rooms</h2> | |
| <ul id="room-list" class="list"></ul> | |
| </section> | |
| <details class="tools"> | |
| <summary>New room</summary> | |
| <form id="create-form"> | |
| <input id="create-name" placeholder="Room name" aria-label="Room name" maxlength="255"> | |
| <label class="check"><input id="create-public" type="checkbox"> Anyone with the ID can join</label> | |
| <button type="submit">Create</button> | |
| </form> | |
| </details> | |
| <details class="tools"> | |
| <summary>Join by ID</summary> | |
| <form id="join-form"> | |
| <input id="join-id" placeholder="!roomid" aria-label="ID of the room to join" required spellcheck="false"> | |
| <button type="submit">Join</button> | |
| </form> | |
| </details> | |
| </aside> | |
| <section class="room" id="room-view"> | |
| <p class="empty" id="no-room">Pick a room, or start one under <strong>New room</strong>.</p> | |
| <div id="room-pane" hidden> | |
| <header class="room-header"> | |
| <div> | |
| <h2 id="room-name"></h2> | |
| <span id="verified-only-badge" class="badge verified" title="Messages go only to verified members" hidden>verified only</span> | |
| <button id="room-id" class="mono link" title="Copy room ID"></button> | |
| </div> | |
| <form id="invite-form" class="inline"> | |
| <input id="invite-user" placeholder="@user:server" aria-label="User to invite, like @name:server" required spellcheck="false"> | |
| <button type="submit" class="secondary">Invite</button> | |
| </form> | |
| <button id="leave-room" class="secondary">Leave</button> | |
| </header> | |
| <div id="room-warnings" class="warnings" aria-live="polite"></div> | |
| <details id="members" class="members"> | |
| <summary>Members</summary> | |
| <label class="check room-policy"><input id="opt-verified-only" type="checkbox"> Require verified members to send (blocks server-injected members)</label> | |
| <ul id="member-list" class="list"></ul> | |
| </details> | |
| <div id="timeline" class="timeline" aria-live="polite"> | |
| <button id="load-older" class="link" hidden>Load older messages</button> | |
| <ol id="events"></ol> | |
| </div> | |
| <form id="composer" class="composer"> | |
| <button type="button" id="attach" class="secondary" title="Attach a file (encrypted)" aria-label="Attach a file (encrypted)">📎</button> | |
| <input type="file" id="file-input" hidden> | |
| <textarea id="message" rows="1" placeholder="Message" aria-label="Message" required maxlength="4000"></textarea> | |
| <button type="submit" class="send" aria-label="Send">Send</button> | |
| </form> | |
| </div> | |
| </section> | |
| </div> | |
| <div id="verify-dialog" class="overlay" hidden> | |
| <div class="dialog" role="dialog" aria-modal="true" aria-labelledby="verify-title"> | |
| <div id="verify-body"></div> | |
| </div> | |
| </div> | |
| <div id="settings-dialog" class="overlay" hidden> | |
| <div class="dialog settings" role="dialog" aria-modal="true" aria-labelledby="settings-title"> | |
| <header class="dialog-head"> | |
| <h2 id="settings-title">Settings</h2> | |
| <button id="settings-close" class="secondary" type="button">Close</button> | |
| </header> | |
| <form id="settings-pw-form"> | |
| <label>Your password | |
| <input id="settings-password" type="password" autocomplete="current-password" spellcheck="false" aria-describedby="settings-password-help"> | |
| <small id="settings-password-help" class="muted">Needed for the changes below that say so. It is checked without being sent.</small> | |
| </label> | |
| </form> | |
| <p id="settings-error" class="error" role="status"></p> | |
| <section aria-labelledby="keys-title"> | |
| <h3 id="keys-title">Security keys</h3> | |
| <p class="muted">A YubiKey or another FIDO2 key. It confirms big changes (password, identity, account deletion) and can be required at login. It does not prove who writes your messages.</p> | |
| <p id="keys-unsupported" class="error" hidden>This browser can't use security keys.</p> | |
| <ul id="keys-list" class="list"></ul> | |
| <form id="key-add-form" class="inline"> | |
| <input id="key-nickname" placeholder="Name for this key" maxlength="40" aria-label="Name for the new security key"> | |
| <button type="submit">Add a key</button> | |
| </form> | |
| <label class="check"><input id="key-any" type="checkbox"> Also allow a phone or this computer's own key (weaker: it may be a software key)</label> | |
| <label class="check"><input id="opt-indicator" type="checkbox"> Show a public 🔑 badge on my name</label> | |
| <small class="muted">The badge tells people in your rooms that your server saw a security key on your account. "Checked" means its maker's certificate was verified; otherwise the server couldn't tell. It isn't proof you are a person, or that you wrote a message.</small> | |
| <label class="check"><input id="opt-login-key" type="checkbox"> Ask for a key when I log in</label> | |
| </section> | |
| <section aria-labelledby="pw-title"> | |
| <h3 id="pw-title">Change password</h3> | |
| <form id="pw-form"> | |
| <label>New password | |
| <input id="new-password" type="password" autocomplete="new-password" minlength="8" required> | |
| <small id="new-pw-strength" class="muted" aria-live="polite"></small> | |
| </label> | |
| <label>New password again | |
| <input id="new-password2" type="password" autocomplete="new-password" minlength="8" required> | |
| </label> | |
| <button type="submit">Change password</button> | |
| <small class="muted">Signs out all your other devices.</small> | |
| </form> | |
| </section> | |
| <section aria-labelledby="devices-title"> | |
| <h3 id="devices-title">Active devices</h3> | |
| <p class="muted">Signed-in devices on this account. Removing a lost or stolen device revokes its token and keys so rooms stop encrypting to it.</p> | |
| <ul id="devices-list" class="list"></ul> | |
| </section> | |
| <section aria-labelledby="identity-title"> | |
| <h3 id="identity-title">Encryption identity</h3> | |
| <p class="muted">If a device that held your identity keys was compromised, replace your cross-signing identity. Everyone who verified you will see a warning and must verify you again.</p> | |
| <button id="reset-identity" type="button" class="secondary">Replace encryption identity</button> | |
| </section> | |
| <section aria-labelledby="backup-title"> | |
| <h3 id="backup-title">Room-key backup</h3> | |
| <p class="muted">Keeps the keys for your last 21 days of messages on the server, sealed with a key from your password, so a new device can read them. The server can't open them, and they expire with the messages.</p> | |
| <label class="check"><input id="opt-backup" type="checkbox"> Back up my room keys</label> | |
| </section> | |
| <section aria-labelledby="privacy-title"> | |
| <h3 id="privacy-title">Traffic privacy</h3> | |
| <label class="check"><input id="opt-cover-traffic" type="checkbox"> High-risk cover traffic</label> | |
| <small class="muted">Sends padded no-op frames at random (Poisson) intervals while open, to blur activity timing. Uses extra bandwidth and battery.</small> | |
| </section> | |
| <section aria-labelledby="device-title"> | |
| <h3 id="device-title">This device</h3> | |
| <p id="device-status" class="muted"></p> | |
| <label id="idle-lock-row" hidden>Auto-lock after inactivity | |
| <select id="opt-idle-lock"> | |
| <option value="300000">5 minutes</option> | |
| <option value="900000" selected>15 minutes</option> | |
| <option value="1800000">30 minutes</option> | |
| <option value="3600000">1 hour</option> | |
| <option value="0">Off</option> | |
| </select> | |
| </label> | |
| <div class="row"> | |
| <button id="lock-now" type="button" class="secondary" hidden>Lock now</button> | |
| <button id="wipe-now" type="button" class="secondary">Wipe this device</button> | |
| </div> | |
| <small class="muted">Wiping logs this device out and deletes its keys and saved sign-in. Messages that only this device could open are lost.</small> | |
| </section> | |
| <section aria-labelledby="delete-title"> | |
| <h3 id="delete-title">Delete account</h3> | |
| <button id="delete-account" type="button" class="secondary">Delete my account</button> | |
| <small class="muted">Removes your account, keys and backup from the server for good. The name can't be used again.</small> | |
| </section> | |
| </div> | |
| </div> | |
| <div id="toasts" class="toasts" aria-live="assertive"></div> | |
| </body> | |
| </html> | |