Remove Pleroma support

Apparently, there is no endpoint in Pleroma-FE that we could use :(

See also: https://github.com/kytta/share2fedi/issues/44
This commit is contained in:
Nikita Karamov 2023-08-28 01:11:45 +02:00
parent fee8aa0a3b
commit 84af92f7e7
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
7 changed files with 5 additions and 20 deletions

View File

@ -33,7 +33,6 @@ Some changes came with the name change:
- GNU Social
- Hubzilla
- Misskey (+ flavours)
- Pleroma (+ flavours)
- **new ways to host**
- Netlify
- Cloudflare Pages

View File

@ -3,7 +3,7 @@
> Instance-agnostic share page for the Fediverse.
**[Share₂Fedi]** (pronounced share-to-fedi) allows you to share stuff on
Mastodon, GoToSocial, Pleroma, and other federated social networks,
Mastodon, Misskey, Friendica, and other federated social networks,
instance-agnostic. Just type in the post text and the instance URL, and click
Post!

View File

@ -8,7 +8,7 @@ export const strings: Record<keyof typeof languages, Record<string, string>> = {
en: {
title: "Share₂Fedi — an instance-agnostic share page for the Fediverse",
metaDescription:
"Share₂Fedi is a share page for Mastodon, Pleroma, Misskey, and others. Type in your post text and the instance URL and click Publish!",
"Share₂Fedi is a share page for Mastodon, Misskey, Friendica, and others. Type in your post text and the instance URL and click Publish!",
language: "Language:",
description:
"Share₂Fedi is an instance-agnostic share page for {}. With it, you can post to various federated platforms from a single page.",
@ -32,7 +32,7 @@ export const strings: Record<keyof typeof languages, Record<string, string>> = {
de: {
title: "Share₂Fedi — eine instanzunabhängige Share-Seite für das Fediverse",
metaDescription:
"Share₂Fedi ist eine Share-Seite für Mastodon, Pleroma, Misskey und andere. Geben Sie Ihren Beitragstext und die Instanz-URL ein und klicken Sie auf „Veröffentlichen“!",
"Share₂Fedi ist eine Share-Seite für Mastodon, Misskey, Friendica und andere. Geben Sie Ihren Beitragstext und die Instanz-URL ein und klicken Sie auf „Veröffentlichen“!",
language: "Sprache:",
description:
"Share₂Fedi ist eine instanzunabhängige Share-Seite für {}. Mit ihr können Sie von einer einzigen Seite aus auf verschiedenen föderierten Plattformen posten.",
@ -56,7 +56,7 @@ export const strings: Record<keyof typeof languages, Record<string, string>> = {
ru: {
title: "Share₂Fedi — инстанс-независимая share-страница для Федивёрса",
metaDescription:
"Share₂Fedi — это share-страница для Mastodon, Pleroma, Misskey и других сервисов. Введите текст поста и URL-адрес инстанса и нажмите «Опубликовать!».",
"Share₂Fedi — это share-страница для Mastodon, Misskey, Friendica и других сервисов. Введите текст поста и URL-адрес инстанса и нажмите «Опубликовать!».",
language: "Язык:",
description:
"Share₂Fedi — это инстанс-независимая share-страница для {}. С её помощью вы можете делиться информацией на различных федеративных платформах с одной страницы.",

View File

@ -19,7 +19,7 @@ const { title } = Astro.props;
<title data-translate="title">{title}</title>
<meta
name="description"
content="Share₂Fedi is a share page for Mastodon, Pleroma, Misskey, and others. Type in your post text and the instance URL and click Publish!"
content="Share₂Fedi is a share page for Mastodon, Misskey, Friendica, and others. Type in your post text and the instance URL and click Publish!"
data-translate="metaDescription"
data-translate-attribute="content"
/>

View File

@ -28,13 +28,6 @@ const misskeySettings = {
},
};
const pleromaSettings = {
publishEndpoint: "share",
params: {
text: "message",
},
};
const PROJECTS: Map<FediverseProject, FediverseProjectData> = new Map()
.set(FediverseProject.Mastodon, mastodonSettings)
.set(FediverseProject.Fedibird, mastodonSettings)
@ -45,8 +38,6 @@ const PROJECTS: Map<FediverseProject, FediverseProjectData> = new Map()
.set(FediverseProject.Firefish, misskeySettings)
.set(FediverseProject.FoundKey, misskeySettings)
.set(FediverseProject.Meisskey, misskeySettings)
.set(FediverseProject.Akkoma, pleromaSettings)
.set(FediverseProject.Pleroma, pleromaSettings)
.set(FediverseProject.GNUSocial, {
publishEndpoint: "/notice/new",
params: {

View File

@ -48,9 +48,6 @@ const prefilledInstance = searchParameters.get("instance");
Mastodon (<span data-translate="incl">incl.</span> Hometown, Fedibird,
GlitchCafé)
</li>
<li>
Pleroma (<span data-translate="incl">incl.</span> Akkoma)
</li>
<li>
Misskey (<span data-translate="incl">incl.</span> Firefish/Calckey,
FoundKey, Meisskey)

View File

@ -5,7 +5,6 @@
* as the icon names, etc.
*/
export enum FediverseProject {
Akkoma = "akkoma",
Calckey = "calckey",
GlitchCafe = "glitchcafe",
Fedibird = "fedibird",
@ -18,5 +17,4 @@ export enum FediverseProject {
Mastodon = "mastodon",
Meisskey = "meisskey",
Misskey = "misskey",
Pleroma = "pleroma",
}