2020-06-08 16:25:23 +02:00
|
|
|
<?php
|
2020-08-04 11:25:22 +00:00
|
|
|
|
2021-06-08 09:52:11 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-06-08 16:25:23 +02:00
|
|
|
/**
|
2024-04-24 14:47:05 +00:00
|
|
|
* @copyright 2024 Ad Aures
|
2020-06-08 16:25:23 +02:00
|
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
|
|
* @link https://castopod.org/
|
|
|
|
*/
|
|
|
|
|
2024-04-24 14:47:05 +00:00
|
|
|
namespace Modules\Platforms;
|
2020-06-08 16:25:23 +02:00
|
|
|
|
2024-04-24 14:47:05 +00:00
|
|
|
class Platforms
|
2020-06-08 16:25:23 +02:00
|
|
|
{
|
2024-04-24 14:47:05 +00:00
|
|
|
/**
|
|
|
|
* @var array<string,array<string,array{label:string,home_url:string,submit_url:?string}>>
|
|
|
|
*/
|
|
|
|
public const DATA = [
|
|
|
|
'podcasting' => [
|
|
|
|
'podcastindex' => [
|
|
|
|
'label' => 'Podcast Index',
|
|
|
|
'home_url' => 'https://podcastindex.org/',
|
|
|
|
'submit_url' => 'https://podcastindex.org/add',
|
|
|
|
],
|
|
|
|
'apple' => [
|
|
|
|
'label' => 'Apple Podcasts',
|
|
|
|
'home_url' => 'https://www.apple.com/itunes/podcasts/',
|
|
|
|
'submit_url' => 'https://podcastsconnect.apple.com/my-podcasts/new-feed',
|
|
|
|
],
|
|
|
|
'spotify' => [
|
|
|
|
'label' => 'Spotify',
|
|
|
|
'home_url' => 'https://www.spotify.com/',
|
|
|
|
'submit_url' => 'https://podcasters.spotify.com/dash/submit',
|
|
|
|
],
|
|
|
|
'youtube-music' => [
|
|
|
|
'label' => 'YouTube Music',
|
|
|
|
'home_url' => 'https://www.youtube.com/creators/podcasts/',
|
|
|
|
'submit_url' => 'https://studio.youtube.com/channel/content/podcasts',
|
|
|
|
],
|
|
|
|
'amazon' => [
|
|
|
|
'label' => 'Amazon Music',
|
2023-06-12 14:47:38 +00:00
|
|
|
'home_url' => 'https://music.amazon.com/',
|
2022-10-17 15:48:29 +00:00
|
|
|
'submit_url' => 'https://podcasters.amazon.com/',
|
2020-11-18 17:17:56 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'antennapod' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'AntennaPod',
|
|
|
|
'home_url' => 'https://antennapod.org/',
|
2023-03-10 16:13:02 +00:00
|
|
|
'submit_url' => 'https://antennapod.org/documentation/podcasters-hosters/add-on-antennapod',
|
2020-12-07 15:58:07 +01:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'blubrry' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Blubrry',
|
|
|
|
'home_url' => 'https://www.blubrry.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://www.blubrry.com/addpodcast.php',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'castbox' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Castbox',
|
|
|
|
'home_url' => 'https://castbox.fm/',
|
|
|
|
'submit_url' => 'https://helpcenter.castbox.fm/portal/kb/articles/submit-my-podcast',
|
2020-06-10 15:00:12 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'castopod' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Castopod',
|
|
|
|
'home_url' => 'https://castopod.org/',
|
2020-11-24 18:21:02 +00:00
|
|
|
'submit_url' => 'https://castopod.org/instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'castro' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Castro',
|
|
|
|
'home_url' => 'http://castro.fm/',
|
|
|
|
'submit_url' => 'https://castro.fm/support/link-to-your-podcast-in-castro',
|
2020-06-10 15:00:12 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'deezer' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Deezer',
|
|
|
|
'home_url' => 'https://www.deezer.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://podcasters.deezer.com/submission',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'fyyd' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'fyyd',
|
|
|
|
'home_url' => 'https://fyyd.de/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://fyyd.de/add-feed',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'ivoox' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Ivoox',
|
|
|
|
'home_url' => 'https://www.ivoox.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2020-06-10 15:00:12 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'listennotes' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'ListenNotes',
|
|
|
|
'home_url' => 'https://www.listennotes.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://www.listennotes.com/submit/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'overcast' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Overcast',
|
|
|
|
'home_url' => 'https://overcast.fm/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://overcast.fm/podcasterinfo',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'playerfm' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Player.Fm',
|
|
|
|
'home_url' => 'https://player.fm/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://player.fm/importer/feed',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'pocketcasts' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Pocketcasts',
|
|
|
|
'home_url' => 'https://www.pocketcasts.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://www.pocketcasts.com/submit/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podbean' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podbean',
|
|
|
|
'home_url' => 'https://www.podbean.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://www.podbean.com/site/submitPodcast',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podcastaddict' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podcast Addict',
|
|
|
|
'home_url' => 'https://podcastaddict.com/',
|
2020-08-21 08:41:09 +00:00
|
|
|
'submit_url' => 'https://podcastaddict.com/submit',
|
2020-06-10 15:00:12 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podchaser' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podchaser',
|
|
|
|
'home_url' => 'https://www.podchaser.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => 'https://www.podchaser.com/add',
|
2020-06-10 15:00:12 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podcloud' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'podCloud',
|
|
|
|
'home_url' => 'https://podcloud.fr/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://podcloud.fr/studio/podcasts/new',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podlink' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'pod.link',
|
|
|
|
'home_url' => 'https://pod.link/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-02-15 13:35:54 +01:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podtail' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podtail',
|
|
|
|
'home_url' => 'https://podtail.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://podtail.com/about/faq/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podfriend' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podfriend',
|
|
|
|
'home_url' => 'https://www.podfriend.com/',
|
2022-10-17 15:48:29 +00:00
|
|
|
'submit_url' => 'https://podcastindex.org/add',
|
2020-11-28 18:32:36 +01:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podverse' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podverse',
|
|
|
|
'home_url' => 'https://podverse.fm/',
|
|
|
|
'submit_url' => 'https://docs.google.com/forms/d/e/1FAIpQLSdewKP-YrE8zGjDPrkmoJEwCxPl_gizEkmzAlTYsiWAuAk1Ng/viewform',
|
2020-11-18 17:17:56 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'radiopublic' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'RadioPublic',
|
|
|
|
'home_url' => 'https://radiopublic.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://podcasters.radiopublic.com/signup',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'spreaker' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Spreaker',
|
|
|
|
'home_url' => 'https://www.spreaker.com/',
|
2020-06-10 15:00:12 +00:00
|
|
|
'submit_url' => 'https://www.spreaker.com/cms/shows/rss-import',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'tunein' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'TuneIn',
|
|
|
|
'home_url' => 'https://tunein.com/',
|
|
|
|
'submit_url' => 'https://help.tunein.com/contact/add-podcast-S19TR3Sdf',
|
2020-06-10 15:00:12 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'anytime' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Anytime Podcast Player',
|
|
|
|
'home_url' => 'https://anytimeplayer.app/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'breez' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Breez',
|
|
|
|
'home_url' => 'https://breez.technology/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'castamatic' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Castamatic',
|
|
|
|
'home_url' => 'https://castamatic.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
|
|
|
],
|
|
|
|
'curiocaster' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'CurioCaster',
|
|
|
|
'home_url' => 'https://curiocaster.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'episodes-fm' => [
|
2024-04-12 11:16:33 +00:00
|
|
|
'label' => 'Episodes.fm',
|
|
|
|
'home_url' => 'https://episodes.fm/',
|
|
|
|
'submit_url' => 'https://podcastindex.org/add',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'fountain' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Fountain',
|
|
|
|
'home_url' => 'https://www.fountain.fm/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => 'https://support.fountain.fm/article/56-how-to-claim-your-show-on-fountain',
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'gpodder' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'gPodder',
|
|
|
|
'home_url' => 'https://gpodder.org/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'hypercatcher' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'HyperCatcher',
|
|
|
|
'home_url' => 'https://hypercatcher.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'ivyfm' => [
|
|
|
|
'label' => 'Ivy.fm',
|
2023-06-12 14:47:38 +00:00
|
|
|
'home_url' => 'https://ivy.fm/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'jumplink' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'JumpLink',
|
|
|
|
'home_url' => 'https://jump.link/',
|
2021-09-27 18:26:17 +00:00
|
|
|
'submit_url' => 'https://jump.link/a/accounts/signup/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'kasts' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Kasts',
|
|
|
|
'home_url' => 'https://apps.kde.org/kasts/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'playapod' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Playapod',
|
|
|
|
'home_url' => 'https://playapod.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'plink' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Plink',
|
|
|
|
'home_url' => 'https://plinkhq.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podcastchapters' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podcast Chapters',
|
|
|
|
'home_url' => 'https://chaptersapp.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podcastguru' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Podcast Guru',
|
|
|
|
'home_url' => 'https://podcastguru.io/',
|
2021-09-27 18:26:17 +00:00
|
|
|
'submit_url' => 'https://podcastguru.io/promote-your-podcast/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podlp' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'PodLP',
|
|
|
|
'home_url' => 'https://podlp.com/',
|
2021-09-27 18:26:17 +00:00
|
|
|
'submit_url' => 'https://podlp.com/submit.html',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podnews' => [
|
2023-07-31 10:53:46 +00:00
|
|
|
'label' => 'Podnews',
|
2024-04-24 14:47:05 +00:00
|
|
|
'home_url' => 'https://podnews.net/',
|
|
|
|
'submit_url' => 'https://podnews.net/podcast/subscribe-pages',
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'podstation' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'podStation',
|
|
|
|
'home_url' => 'https://podstation.github.io/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'sphinxchat' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Sphinx',
|
|
|
|
'home_url' => 'https://sphinx.chat/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2021-09-27 18:26:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'truefans' => [
|
2024-04-12 11:16:33 +00:00
|
|
|
'label' => 'Truefans',
|
|
|
|
'home_url' => 'https://truefans.fm/',
|
|
|
|
'submit_url' => 'https://podcastindex.org/add',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'tsacdop' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Tsacdop',
|
|
|
|
'home_url' => 'https://www.tsacdop.app/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2022-02-24 14:48:17 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
],
|
|
|
|
'social' => [
|
|
|
|
'bluesky' => [
|
2024-03-11 17:18:22 +00:00
|
|
|
'label' => 'Bluesky',
|
|
|
|
'home_url' => 'https://bsky.app/',
|
|
|
|
'submit_url' => 'https://bsky.app/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'discord' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Discord',
|
|
|
|
'home_url' => 'https://discord.com/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://discord.com/register',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'facebook' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Facebook',
|
|
|
|
'home_url' => 'https://www.facebook.com/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => 'https://www.facebook.com/pages/creation/',
|
2020-11-18 17:17:56 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'funkwhale' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Funkwhale',
|
|
|
|
'home_url' => 'https://funkwhale.audio/',
|
2020-11-24 18:21:02 +00:00
|
|
|
'submit_url' => 'https://network.funkwhale.audio/dashboards/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'instagram' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Instagram',
|
|
|
|
'home_url' => 'https://www.instagram.com/',
|
|
|
|
'submit_url' => 'https://www.instagram.com/accounts/emailsignup/',
|
2020-11-18 17:17:56 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'linkedin' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'LinkedIn',
|
|
|
|
'home_url' => 'https://www.linkedin.com/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://www.linkedin.com/company/setup/new/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'mastodon' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Mastodon',
|
|
|
|
'home_url' => 'https://joinmastodon.org/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://joinmastodon.org/communities',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'matrix' => [
|
2023-12-28 16:34:32 +00:00
|
|
|
'label' => 'Matrix',
|
|
|
|
'home_url' => 'https://matrix.org/',
|
|
|
|
'submit_url' => 'https://matrix.org/try-matrix/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'misskey' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Misskey',
|
|
|
|
'home_url' => 'https://join.misskey.page/',
|
2022-02-24 14:48:17 +00:00
|
|
|
'submit_url' => 'https://join.misskey.page/en-US/instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'mobilizon' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Mobilizon',
|
|
|
|
'home_url' => 'https://joinmobilizon.org/',
|
2020-11-24 18:21:02 +00:00
|
|
|
'submit_url' => 'https://instances.joinmobilizon.org/instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'peertube' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'PeerTube',
|
|
|
|
'home_url' => 'https://joinpeertube.org/',
|
2020-11-24 18:21:02 +00:00
|
|
|
'submit_url' => 'https://joinpeertube.org/instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'pixelfed' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Pixelfed',
|
|
|
|
'home_url' => 'https://pixelfed.org/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://beta.joinpixelfed.org/',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'pleroma' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Pleroma',
|
|
|
|
'home_url' => 'https://pleroma.social/',
|
2022-02-24 14:48:17 +00:00
|
|
|
'submit_url' => 'https://pleroma.social/#featured-instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'plume' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Plume',
|
|
|
|
'home_url' => 'https://joinplu.me/',
|
2020-11-24 18:21:02 +00:00
|
|
|
'submit_url' => 'https://joinplu.me/#instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'slack' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Slack',
|
|
|
|
'home_url' => 'https://slack.com/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://slack.com/get-started#/create',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'telegram' => [
|
2024-04-12 10:26:54 +00:00
|
|
|
'label' => 'Telegram',
|
|
|
|
'home_url' => 'https://www.telegram.org/',
|
2024-04-24 14:47:05 +00:00
|
|
|
'submit_url' => null,
|
2024-04-12 10:26:54 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'threads' => [
|
2023-12-20 17:10:18 +00:00
|
|
|
'label' => 'Threads',
|
|
|
|
'home_url' => 'https://www.threads.net/',
|
|
|
|
'submit_url' => 'https://www.threads.net/login',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'tiktok' => [
|
2023-12-20 17:10:18 +00:00
|
|
|
'label' => 'TikTok',
|
2023-09-09 10:22:08 +00:00
|
|
|
'home_url' => 'https://www.tiktok.com/',
|
|
|
|
'submit_url' => 'https://www.tiktok.com/signup',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'twitch' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'Twitch',
|
|
|
|
'home_url' => 'https://www.twitch.tv/',
|
2020-11-18 17:17:56 +00:00
|
|
|
'submit_url' => 'https://www.twitch.tv/signup',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'writefreely' => [
|
2023-06-12 14:47:38 +00:00
|
|
|
'label' => 'WriteFreely',
|
|
|
|
'home_url' => 'https://writefreely.org/',
|
2020-11-24 18:21:02 +00:00
|
|
|
'submit_url' => 'https://writefreely.org/instances',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'youtube' => [
|
2023-07-31 10:53:46 +00:00
|
|
|
'label' => 'YouTube',
|
2023-06-12 14:47:38 +00:00
|
|
|
'home_url' => 'https://www.youtube.com/',
|
2023-11-17 17:26:37 +00:00
|
|
|
'submit_url' => 'https://studio.youtube.com/',
|
2020-11-18 17:17:56 +00:00
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
'x' => [
|
|
|
|
'label' => 'Twitter / X',
|
2023-09-09 10:22:08 +00:00
|
|
|
'home_url' => 'https://x.com/',
|
|
|
|
'submit_url' => 'https://x.com/i/flow/signup',
|
|
|
|
],
|
2024-04-24 14:47:05 +00:00
|
|
|
],
|
|
|
|
'funding' => [
|
|
|
|
'buymeacoffee' => [
|
|
|
|
'label' => 'Buy Me a Coffee',
|
|
|
|
'home_url' => 'https://www.buymeacoffee.com/',
|
|
|
|
'submit_url' => 'https://www.buymeacoffee.com/signup',
|
|
|
|
],
|
|
|
|
'paypal' => [
|
|
|
|
'label' => 'PayPal',
|
|
|
|
'home_url' => 'https://www.paypal.com/',
|
|
|
|
'submit_url' => 'https://www.paypal.com/paypalme/my/grab',
|
|
|
|
],
|
|
|
|
'fosspay' => [
|
|
|
|
'label' => 'fosspay',
|
|
|
|
'home_url' => 'https://git.sr.ht/~sircmpwn/fosspay',
|
|
|
|
'submit_url' => null,
|
|
|
|
],
|
|
|
|
'gofundme' => [
|
|
|
|
'label' => 'GoFundMe',
|
|
|
|
'home_url' => 'https://www.gofundme.com/',
|
|
|
|
'submit_url' => 'https://www.gofundme.com/sign-up',
|
|
|
|
],
|
|
|
|
'helloasso' => [
|
|
|
|
'label' => 'HelloAsso',
|
|
|
|
'home_url' => 'https://www.helloasso.com/',
|
|
|
|
'submit_url' => 'https://auth.helloasso.com/inscription',
|
|
|
|
],
|
|
|
|
'indiegogo' => [
|
|
|
|
'label' => 'Indiegogo',
|
|
|
|
'home_url' => 'https://www.indiegogo.com/',
|
|
|
|
'submit_url' => 'https://www.indiegogo.com/start-a-campaign#/',
|
|
|
|
],
|
|
|
|
'kickstarter' => [
|
|
|
|
'label' => 'Kickstarter',
|
|
|
|
'home_url' => 'https://www.kickstarter.com/',
|
|
|
|
'submit_url' => 'https://www.kickstarter.com/learn',
|
|
|
|
],
|
|
|
|
'kisskissbankbank' => [
|
|
|
|
'label' => 'KissKissBankBank',
|
|
|
|
'home_url' => 'https://www.kisskissbankbank.com/',
|
|
|
|
'submit_url' => 'https://www.kisskissbankbank.com/en/financer-mon-projet',
|
|
|
|
],
|
|
|
|
'kofi' => [
|
|
|
|
'label' => 'Ko-fi',
|
|
|
|
'home_url' => 'https://ko-fi.com/',
|
|
|
|
'submit_url' => 'https://ko-fi.com/account/register',
|
|
|
|
],
|
|
|
|
'liberapay' => [
|
|
|
|
'label' => 'Liberapay',
|
|
|
|
'home_url' => 'https://liberapay.com/',
|
|
|
|
'submit_url' => 'https://liberapay.com/sign-up',
|
|
|
|
],
|
|
|
|
'patreon' => [
|
|
|
|
'label' => 'Patreon',
|
|
|
|
'home_url' => 'https://www.patreon.com/',
|
|
|
|
'submit_url' => 'https://www.patreon.com/create',
|
|
|
|
],
|
|
|
|
'tipeee' => [
|
|
|
|
'label' => 'Tipeee',
|
|
|
|
'home_url' => 'https://tipeee.com/',
|
|
|
|
'submit_url' => 'https://tipeee.com/register/',
|
|
|
|
],
|
|
|
|
'ulule' => [
|
|
|
|
'label' => 'Ulule',
|
|
|
|
'home_url' => 'https://www.ulule.com/',
|
|
|
|
'submit_url' => 'https://www.ulule.com/projects/create/#/',
|
|
|
|
],
|
|
|
|
'donorbox' => [
|
|
|
|
'label' => 'Donorbox',
|
|
|
|
'home_url' => 'https://donorbox.org/',
|
|
|
|
'submit_url' => 'https://donorbox.org/orgs/new',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array<string,array{label:string,home_url:string,submit_url:?string}>
|
|
|
|
*/
|
|
|
|
public function getPlatformsByType(string $type): array
|
|
|
|
{
|
|
|
|
return self::DATA[$type] ?? [];
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return null|array{label:string,home_url:string,submit_url:?string}>
|
|
|
|
*/
|
|
|
|
public function findPlatformBySlug(string $type, string $slug): ?array
|
|
|
|
{
|
|
|
|
$data = self::DATA[$type] ?? [];
|
|
|
|
|
|
|
|
if (! array_key_exists($slug, $data)) {
|
|
|
|
return null;
|
|
|
|
}
|
2021-04-02 17:20:02 +00:00
|
|
|
|
2024-04-24 14:47:05 +00:00
|
|
|
return $data[$slug];
|
2020-06-08 16:25:23 +02:00
|
|
|
}
|
|
|
|
}
|