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 - GNU Social
- Hubzilla - Hubzilla
- Misskey (+ flavours) - Misskey (+ flavours)
- Pleroma (+ flavours)
- **new ways to host** - **new ways to host**
- Netlify - Netlify
- Cloudflare Pages - Cloudflare Pages

View file

@ -3,7 +3,7 @@
> Instance-agnostic share page for the Fediverse. > Instance-agnostic share page for the Fediverse.
**[Share₂Fedi]** (pronounced share-to-fedi) allows you to share stuff on **[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 instance-agnostic. Just type in the post text and the instance URL, and click
Post! Post!

View file

@ -8,7 +8,7 @@ export const strings: Record<keyof typeof languages, Record<string, string>> = {
en: { en: {
title: "Share₂Fedi — an instance-agnostic share page for the Fediverse", title: "Share₂Fedi — an instance-agnostic share page for the Fediverse",
metaDescription: 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:", language: "Language:",
description: description:
"Share₂Fedi is an instance-agnostic share page for {}. With it, you can post to various federated platforms from a single page.", "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: { de: {
title: "Share₂Fedi — eine instanzunabhängige Share-Seite für das Fediverse", title: "Share₂Fedi — eine instanzunabhängige Share-Seite für das Fediverse",
metaDescription: 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:", language: "Sprache:",
description: 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.", "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: { ru: {
title: "Share₂Fedi — инстанс-независимая share-страница для Федивёрса", title: "Share₂Fedi — инстанс-независимая share-страница для Федивёрса",
metaDescription: metaDescription:
"Share₂Fedi — это share-страница для Mastodon, Pleroma, Misskey и других сервисов. Введите текст поста и URL-адрес инстанса и нажмите «Опубликовать!».", "Share₂Fedi — это share-страница для Mastodon, Misskey, Friendica и других сервисов. Введите текст поста и URL-адрес инстанса и нажмите «Опубликовать!».",
language: "Язык:", language: "Язык:",
description: description:
"Share₂Fedi — это инстанс-независимая share-страница для {}. С её помощью вы можете делиться информацией на различных федеративных платформах с одной страницы.", "Share₂Fedi — это инстанс-независимая share-страница для {}. С её помощью вы можете делиться информацией на различных федеративных платформах с одной страницы.",

View file

@ -19,7 +19,7 @@ const { title } = Astro.props;
<title data-translate="title">{title}</title> <title data-translate="title">{title}</title>
<meta <meta
name="description" 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="metaDescription"
data-translate-attribute="content" 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() const PROJECTS: Map<FediverseProject, FediverseProjectData> = new Map()
.set(FediverseProject.Mastodon, mastodonSettings) .set(FediverseProject.Mastodon, mastodonSettings)
.set(FediverseProject.Fedibird, mastodonSettings) .set(FediverseProject.Fedibird, mastodonSettings)
@ -45,8 +38,6 @@ const PROJECTS: Map<FediverseProject, FediverseProjectData> = new Map()
.set(FediverseProject.Firefish, misskeySettings) .set(FediverseProject.Firefish, misskeySettings)
.set(FediverseProject.FoundKey, misskeySettings) .set(FediverseProject.FoundKey, misskeySettings)
.set(FediverseProject.Meisskey, misskeySettings) .set(FediverseProject.Meisskey, misskeySettings)
.set(FediverseProject.Akkoma, pleromaSettings)
.set(FediverseProject.Pleroma, pleromaSettings)
.set(FediverseProject.GNUSocial, { .set(FediverseProject.GNUSocial, {
publishEndpoint: "/notice/new", publishEndpoint: "/notice/new",
params: { params: {

View file

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

View file

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