Get rid of the old name completely

This commit is contained in:
Nikita Karamov 2023-03-16 15:20:56 +01:00
parent 304406c380
commit 434bb203cb
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
5 changed files with 20 additions and 19 deletions

View File

@ -20,9 +20,10 @@ The instance URL can be saved in your `localStorage` to be automatically appende
### One-click Vercel deploy
For now, **Share₂Fedi** is vendor-locked to run on [Vercel](https://vercel.com/). To deploy it yourself, you can use the following button:
**Share₂Fedi** is designed to run on [Vercel](https://vercel.com/).
To deploy it yourself (it's free!), you can use the following button:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fkytta%2Ftoot)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fkytta%2Fshare2fedi)
<!-- TODO: update the selfhosting instructions -->
<!--

View File

@ -25,12 +25,14 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>toot &mdash; cross-instance share page for Mastodon</title>
<title>
Share₂Fedi &mdash; an instance-agnostic share page for the Fediverse
</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 &lsquo;Toot!&rsquo;"
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://toot.kytta.dev/" />
<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>
@ -81,7 +83,7 @@
</main>
<footer>
<a href="https://joinmastodon.org/">What is Mastodon?</a>
<a href="https://github.com/kytta/share2fedi">toot on GitHub</a>
<a href="https://github.com/kytta/share2fedi">Share₂Fedi on GitHub</a>
</footer>
</body>
</html>

View File

@ -4,8 +4,8 @@
* @licstart The following is the entire license notice for the
* JavaScript code in this page.
*
* toot - Cross-instance share page for Mastodon
* Copyright (C) 2022 Nikita Karamov <me@kytta.dev>
* share2fedi - Instance-agnostic share page for the Fediverse.
* Copyright (C) 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
@ -26,20 +26,18 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
// This is the analytics code for toot. It just sends a beacon to GoatCounter
// with hardcoded path. This is way more lightweight, performant
// This is the analytics code for Share₂Fedi. It just sends a beacon
// to GoatCounter with hardcoded path. This is way more lightweight, performant
// and privacy-friendly than the default GC script.
// Check if the default GC URL resolves
// This allows us to not track people with ad blockers
if (
window.location.host === "toot.kytta.dev" ||
window.location.host === "s2f.kytta.dev" ||
window.location.host === "share2fedi.kytta.dev"
) {
// eslint-disable-next-line unicorn/prefer-top-level-await
fetch("//gc.zgo.at/", { method: "HEAD" }).then((result) => {
// Check if the default GC URL resolves
// This allows us to not track people with ad blockers
if (!result.ok) {
return;
}

View File

@ -1,10 +1,10 @@
{
"name": "toot",
"name": "share2fedi",
"version": "2.4.5",
"description": "Cross-instance share page for Mastodon",
"license": "AGPL-3.0-or-later",
"author": "Nikita Karamov <me@kytta.dev>",
"homepage": "https://toot.kytta.dev/",
"homepage": "https://s2f.kytta.dev/",
"repository": {
"type": "git",
"url": "https://github.com/kytta/share2fedi.git"

View File

@ -1,6 +1,6 @@
{
"name": "toot",
"short_name": "toot",
"name": "Share₂Fedi",
"short_name": "Share₂Fedi",
"icons": [
{
"src": "/icon-192.png",
@ -13,5 +13,5 @@
"type": "image/png"
}
],
"theme_color": "#3088d4"
"theme_color": "#40665c"
}