This repository has been archived on 2024-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
share2fedi/index.html

127 lines
4.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
@source: https://github.com/kytta/share2fedi/blob/main/index.html
share2fedi - Instance-agnostic share page for the Fediverse.
Copyright (C) 2020-2023 Nikita Karamov <me@kytta.dev>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL-3.0-or-later
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
Share₂Fedi &mdash; an instance-agnostic share page for the Fediverse
</title>
<meta
name="description"
content="Share₂Fedi is a share page for Mastodon, Pleroma, etc. Type in your post text and the instance URL and click &lsquo;Publish!&rsquo;"
/>
<link rel="canonical" href="https://s2f.kytta.dev/" />
<script type="module" src="/lib/main.js" async defer></script>
<script type="module" src="/lib/count.js" async defer></script>
<link href="/favicon.ico" rel="icon" type="image/x-icon" />
<link href="/apple-touch-icon.png" rel="icon" type="image/svg+xml" />
<link href="/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="/site.webmanifest" rel="manifest" />
<meta name="theme-color" content="#3088d4" />
</head>
<body>
<header>
<img src="/logo.svg" alt="Share2Fedi" width="260" height="80" />
</header>
<main>
<form id="js-s2f-form" action="/api/share" method="POST">
<label>
Post text
<textarea
name="text"
id="text"
rows="7"
placeholder="What's on your mind?"
required
></textarea>
</label>
<datalist id="instanceDatalist"></datalist>
<label>
Choose your Mastodon instance
<input
type="url"
name="instance"
id="instance"
placeholder="https://"
list="instanceDatalist"
required
/>
</label>
<label for="remember">
<input type="checkbox" id="remember" name="remember" />
Remember my instance on this device
</label>
<input type="submit" value="Publish" />
</form>
</main>
<footer>
<details>
<summary>Privacy Notice</summary>
<p>
Share₂Fedi uses GoatCounter to collect usage information.
<a href="https://share2fedi.goatcounter.com/">
The usage data is public.
</a>
The following information gets collected:
</p>
<ul>
<li><code>User-Agent</code> header</li>
<li>Screen size</li>
<li>A hash of the IP address, User-Agent, and random number</li>
</ul>
<p>
This data is kept for the maximum of 90 days. None of this information
is shared with third parties. See
<a href="https://www.goatcounter.com/help/privacy"
>GoatCounters privacy policy</a
>
for more information.
</p>
<p>
s2f.kytta.dev is hosted on Vercel. Vercel processes IP addresses,
system configuration information, and other information about traffic
to and from s2f.kytta.dev. Vercel does not store this information nor
does it get shared with third parties. See
<a href="https://vercel.com/legal/privacy-policy#customers"
>Vercel's privacy policy</a
>
for more information.
</p>
<p>
When you click the Publish button, youll get redirected to a
Fediverse instance youve specified. It may process and/or store your
data. Please refer to the privacy policy of the respective instance.
</p>
</details>
<a href="https://joinmastodon.org/">What is Mastodon?</a>
<a href="https://github.com/kytta/share2fedi">Share₂Fedi on GitHub</a>
</footer>
</body>
</html>