2021-08-14 11:33:06 -05:00
|
|
|
<!--
|
2023-03-16 05:47:59 -05:00
|
|
|
@source: https://github.com/kytta/share2fedi/blob/main/index.html
|
2021-08-29 06:54:07 -05:00
|
|
|
|
2023-03-16 04:16:01 -05:00
|
|
|
share2fedi - Instance-agnostic share page for the Fediverse.
|
|
|
|
Copyright (C) 2020-2023 Nikita Karamov <me@kytta.dev>
|
2021-08-14 11:33:06 -05:00
|
|
|
|
|
|
|
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/>.
|
2021-08-29 06:54:07 -05:00
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
2021-08-14 11:33:06 -05:00
|
|
|
-->
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2021-08-28 09:06:57 -05:00
|
|
|
<title>toot — cross-instance share page for Mastodon</title>
|
|
|
|
<meta
|
|
|
|
name="description"
|
|
|
|
content="toot allows you to share stuff on Mastodon, cross-instance. Just put in your post text and the instance URL and click ‘Toot!’"
|
|
|
|
/>
|
2022-12-21 05:59:25 -05:00
|
|
|
<link rel="canonical" href="https://toot.kytta.dev/" />
|
2021-08-14 11:33:06 -05:00
|
|
|
|
2023-03-16 05:47:59 -05:00
|
|
|
<script type="module" src="/lib/main.js" async defer></script>
|
|
|
|
<script type="module" src="/lib/count.js" async defer></script>
|
2021-08-14 11:33:06 -05:00
|
|
|
|
|
|
|
<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>
|
|
|
|
<h1>
|
2023-03-16 07:06:37 -05:00
|
|
|
<img src="/logo.svg" alt="Share2Fedi" width="260" height="80" />
|
2021-08-14 11:33:06 -05:00
|
|
|
</h1>
|
|
|
|
</header>
|
|
|
|
<main>
|
2023-03-16 06:16:21 -05:00
|
|
|
<form id="js-s2f-form" action="/api/share" method="POST">
|
2021-08-14 11:33:06 -05:00
|
|
|
<section>
|
|
|
|
<label for="text">Post text</label>
|
|
|
|
<textarea
|
|
|
|
name="text"
|
|
|
|
id="text"
|
|
|
|
rows="6"
|
|
|
|
placeholder="What's on your mind?"
|
|
|
|
required
|
|
|
|
></textarea>
|
|
|
|
</section>
|
|
|
|
<section>
|
2021-08-14 14:56:17 -05:00
|
|
|
<datalist id="instanceDatalist"></datalist>
|
2021-08-14 11:33:06 -05:00
|
|
|
<label for="instance">Choose your Mastodon instance</label>
|
|
|
|
<input
|
|
|
|
type="url"
|
|
|
|
name="instance"
|
|
|
|
id="instance"
|
|
|
|
placeholder="https://"
|
2021-08-14 14:56:17 -05:00
|
|
|
list="instanceDatalist"
|
2021-08-14 11:33:06 -05:00
|
|
|
required
|
|
|
|
/>
|
|
|
|
</section>
|
|
|
|
<section class="remember">
|
|
|
|
<input type="checkbox" id="remember" name="remember" />
|
|
|
|
<label for="remember">Remember my instance on this device</label>
|
|
|
|
</section>
|
|
|
|
<section class="submit">
|
|
|
|
<input type="submit" value="TOOT!" />
|
|
|
|
</section>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
<section>
|
|
|
|
<a href="https://joinmastodon.org/">What is Mastodon?</a>
|
|
|
|
</section>
|
|
|
|
<section>
|
2023-03-16 04:41:55 -05:00
|
|
|
<a href="https://github.com/kytta/share2fedi">toot on GitHub</a>
|
2021-08-14 11:33:06 -05:00
|
|
|
</section>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|