ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto
17
fork

Configure Feed

Select the types of activity you want to include in your feed.

at fdbab0431d294ce65dcac8a73cef4a2fd9bd25a8 77 lines 1.8 kB view raw
1import { 2 SiX, 3 SiInstagram, 4 SiYoutube, 5 SiTwitch, 6 SiTiktok, 7 SiTumblr, 8} from "@icons-pack/react-simple-icons"; 9 10import { LucideIcon } from "lucide-react"; 11 12export interface PlatformConfig { 13 name: string; 14 icon: LucideIcon; 15 color: string; 16 accentBg: string; 17 fileHint: string; 18 enabled: boolean; 19 defaultApp: string; 20} 21 22export const PLATFORMS: Record<string, PlatformConfig> = { 23 tiktok: { 24 name: "TikTok", 25 icon: SiTiktok, 26 color: "from-black via-gray-800 to-cyan-400", 27 accentBg: "bg-black", 28 fileHint: "Following.txt or data ZIP", 29 enabled: true, 30 defaultApp: "spark", 31 }, 32 instagram: { 33 name: "Instagram", 34 icon: SiInstagram, 35 color: "from-pink-500 via-purple-500 to-orange-500", 36 accentBg: "bg-pink-500", 37 fileHint: "following.html or data ZIP", 38 enabled: true, 39 defaultApp: "bluesky", 40 }, 41 twitter: { 42 name: "Twitter/X", 43 icon: SiX, 44 color: "from-blue-400 to-blue-600", 45 accentBg: "bg-blue-500", 46 fileHint: "following.txt, data.json, or data.zip", 47 enabled: false, 48 defaultApp: "bluesky", 49 }, 50 twitch: { 51 name: "Twitch", 52 icon: SiTwitch, 53 color: "from-purple-600 to-purple-800", 54 accentBg: "bg-purple-600", 55 fileHint: "following.json or data export", 56 enabled: false, 57 defaultApp: "bluesky", 58 }, 59 youtube: { 60 name: "YouTube", 61 icon: SiYoutube, 62 color: "from-red-600 to-red-700", 63 accentBg: "bg-red-600", 64 fileHint: "subscriptions.csv or Takeout ZIP", 65 enabled: false, 66 defaultApp: "bluesky", 67 }, 68 tumblr: { 69 name: "Tumblr", 70 icon: SiTumblr, 71 color: "from-indigo-600 to-blue-800", 72 accentBg: "bg-indigo-600", 73 fileHint: "following.csv or data export", 74 enabled: false, 75 defaultApp: "bluesky", 76 }, 77};