trypost/config/trypost.php
Paulo Castellano 099cd5d118 feat: Add Mastodon social media integration
- Add Mastodon to Platform enum with color #6364FF, 500 char limit, 4 max images
- Add MastodonPost to ContentType enum
- Create MastodonController with dynamic OAuth app registration per instance
- Create MastodonPublisher service for posting statuses with media
- Create MastodonConnect.vue for instance URL input
- Create MastodonPreview.vue with Mastodon-styled post preview
- Update PlatformPreview.vue and Edit.vue to support Mastodon
- Add Mastodon config toggle in trypost.php

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 13:59:43 -03:00

52 lines
1.5 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Social Platforms
|--------------------------------------------------------------------------
|
| Configure which social platforms are enabled in the application.
| Set to false to temporarily disable a platform (e.g., when credentials
| are revoked, expired, or pending approval).
|
*/
'platforms' => [
'linkedin' => [
'enabled' => env('TRYPOST_LINKEDIN_ENABLED', true),
],
'linkedin-page' => [
'enabled' => env('TRYPOST_LINKEDIN_PAGE_ENABLED', true),
],
'x' => [
'enabled' => env('TRYPOST_X_ENABLED', true),
],
'tiktok' => [
'enabled' => env('TRYPOST_TIKTOK_ENABLED', true),
],
'youtube' => [
'enabled' => env('TRYPOST_YOUTUBE_ENABLED', true),
],
'facebook' => [
'enabled' => env('TRYPOST_FACEBOOK_ENABLED', false),
],
'instagram' => [
'enabled' => env('TRYPOST_INSTAGRAM_ENABLED', false),
],
'threads' => [
'enabled' => env('TRYPOST_THREADS_ENABLED', true),
],
'pinterest' => [
'enabled' => env('TRYPOST_PINTEREST_ENABLED', true),
],
'bluesky' => [
'enabled' => env('TRYPOST_BLUESKY_ENABLED', true),
],
'mastodon' => [
'enabled' => env('TRYPOST_MASTODON_ENABLED', true),
],
],
];