Add Misskey forks support

This commit is contained in:
Nikita Karamov 2023-08-26 17:32:37 +02:00
parent 6971f4e40f
commit 762dd8051b
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD
3 changed files with 10 additions and 2 deletions

View file

@ -36,10 +36,14 @@ const pleromaSettings = {
};
const PROJECTS: Map<FediverseProject, FediverseProjectData> = new Map()
.set(FediverseProject.Mastodon, mastodonSettings)
.set(FediverseProject.Fedibird, mastodonSettings)
.set(FediverseProject.Hometown, mastodonSettings)
.set(FediverseProject.Mastodon, mastodonSettings)
.set(FediverseProject.Misskey, misskeySettings)
.set(FediverseProject.Calckey, misskeySettings)
.set(FediverseProject.Firefish, misskeySettings)
.set(FediverseProject.FoundKey, misskeySettings)
.set(FediverseProject.Meisskey, misskeySettings)
.set(FediverseProject.Akkoma, pleromaSettings)
.set(FediverseProject.Pleroma, pleromaSettings)
.set(FediverseProject.GNUSocial, {

View file

@ -41,7 +41,7 @@ const prefilledInstance = searchParameters.get("instance");
Pleroma (incl. Akkoma) <small><b>(new!)</b></small>
</li>
<li>
Misskey <small><b>(new!)</b></small>
Misskey (incl. Firefish/Calckey, FoundKey, Meisskey) <small><b>(new!)</b></small>
</li>
<li>
Friendica <small><b>(new!)</b></small>

View file

@ -6,12 +6,16 @@
*/
export enum FediverseProject {
Akkoma = "akkoma",
Calckey = "calckey",
Fedibird = "fedibird",
Firefish = "firefish",
FoundKey = "foundkey",
Friendica = "friendica",
GNUSocial = "gnusocial",
Hometown = "hometown",
Hubzilla = "hubzilla",
Mastodon = "mastodon",
Meisskey = "meisskey",
Misskey = "misskey",
Pleroma = "pleroma",
}