your personal website on atproto - mirror
0
fork

Configure Feed

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

add more icons

Florian 916f6626 dd710711

+98 -23
+1
README.md
··· 10 10 11 11 ``` 12 12 git clone https://github.com/flo-bit/blento.git 13 + cd blento 13 14 cp .env.example .env 14 15 pnpm install 15 16 pnpm run dev
+97 -23
src/lib/cards/BigSocialCard/index.ts
··· 35 35 } 36 36 } as CardDefinition & { type: 'bigsocial' }; 37 37 38 - export const platformPatterns: Record<string, RegExp> = { 39 - instagram: /(?:instagram\.com|instagr\.am)/i, 40 - facebook: /(?:facebook\.com|fb\.com|fb\.me)/i, 41 - twitter: /(?:twitter\.com)/i, 42 - x: /(?:x\.com)/i, 43 - youtube: /(?:youtube\.com|youtu\.be)/i, 44 - tiktok: /(?:tiktok\.com)/i, 45 - linkedin: /(?:linkedin\.com)/i, 46 - bluesky: /(?:bsky\.app|bsky\.social)/i, 47 - threads: /(?:threads\.net)/i, 48 - snapchat: /(?:snapchat\.com)/i, 49 - pinterest: /(?:pinterest\.com|pin\.it)/i, 50 - twitch: /(?:twitch\.tv)/i, 51 - discord: /(?:discord\.gg|discord\.com)/i, 52 - github: /(?:github\.com)/i, 53 - spotify: /(?:spotify\.com|open\.spotify\.com)/i, 54 - reddit: /(?:reddit\.com)/i, 55 - whatsapp: /(?:whatsapp\.com|wa\.me)/i, 56 - telegram: /(?:t\.me|telegram\.org)/i, 57 - mastodon: /(?:mastodon\.social|mastodon\.online|mstdn\.social)/i 58 - }; 59 - 60 38 import { 61 39 siInstagram, 62 40 siFacebook, ··· 75 53 siWhatsapp, 76 54 siTelegram, 77 55 siMastodon, 56 + siBehance, 57 + siDribbble, 58 + siMedium, 59 + siDevdotto, 60 + siHashnode, 61 + siPatreon, 62 + siKofi, 63 + siBuymeacoffee, 64 + siSubstack, 65 + siSoundcloud, 66 + siBandcamp, 67 + siApplepodcasts, 68 + siFigma, 69 + siNotion, 70 + siSignal, 71 + siWechat, 72 + siLine, 78 73 type SimpleIcon 79 74 } from 'simple-icons'; 80 75 76 + export const platformPatterns: Record<string, RegExp> = { 77 + instagram: /(?:instagram\.com|instagr\.am)/i, 78 + facebook: /(?:facebook\.com|fb\.com|fb\.me)/i, 79 + twitter: /(?:twitter\.com)/i, 80 + x: /(?:x\.com)/i, 81 + youtube: /(?:youtube\.com|youtu\.be)/i, 82 + tiktok: /(?:tiktok\.com)/i, 83 + linkedin: /(?:linkedin\.com)/i, 84 + bluesky: /(?:bsky\.app|bsky\.social)/i, 85 + threads: /(?:threads\.net)/i, 86 + snapchat: /(?:snapchat\.com)/i, 87 + pinterest: /(?:pinterest\.com|pin\.it)/i, 88 + twitch: /(?:twitch\.tv)/i, 89 + discord: /(?:discord\.gg|discord\.com)/i, 90 + github: /(?:github\.com)/i, 91 + spotify: /(?:spotify\.com|open\.spotify\.com)/i, 92 + reddit: /(?:reddit\.com)/i, 93 + whatsapp: /(?:whatsapp\.com|wa\.me)/i, 94 + telegram: /(?:t\.me|telegram\.org)/i, 95 + mastodon: /(?:mastodon\.social|mastodon\.online|mstdn\.social)/i, 96 + 97 + // professional / creator 98 + behance: /(?:behance\.net)/i, 99 + dribbble: /(?:dribbble\.com)/i, 100 + medium: /(?:medium\.com)/i, 101 + devto: /(?:dev\.to)/i, 102 + hashnode: /(?:hashnode\.com)/i, 103 + 104 + // support / monetization 105 + patreon: /(?:patreon\.com)/i, 106 + kofi: /(?:ko-fi\.com|kofi\.com)/i, 107 + buymeacoffee: /(?:buymeacoffee\.com)/i, 108 + substack: /(?:substack\.com)/i, 109 + 110 + // audio / podcasts 111 + soundcloud: /(?:soundcloud\.com)/i, 112 + bandcamp: /(?:bandcamp\.com)/i, 113 + applepodcasts: /(?:podcasts\.apple\.com)/i, 114 + googlepodcasts: /(?:podcasts\.google\.com)/i, 115 + 116 + // tools / misc 117 + figma: /(?:figma\.com)/i, 118 + notion: /(?:notion\.so)/i, 119 + 120 + // chat / messaging 121 + slack: /(?:slack\.com)/i, 122 + signal: /(?:signal\.org|signal\.me)/i, 123 + wechat: /(?:wechat\.com|weixin\.qq\.com)/i, 124 + line: /(?:line\.me)/i, 125 + skype: /(?:skype\.com)/i 126 + }; 127 + 81 128 export const platformsData: Record<string, SimpleIcon> = { 82 129 instagram: siInstagram, 83 130 facebook: siFacebook, ··· 96 143 reddit: siReddit, 97 144 whatsapp: siWhatsapp, 98 145 telegram: siTelegram, 99 - mastodon: siMastodon 146 + mastodon: siMastodon, 147 + 148 + // professional / creator 149 + behance: siBehance, 150 + dribbble: siDribbble, 151 + medium: siMedium, 152 + devto: siDevdotto, 153 + hashnode: siHashnode, 154 + 155 + // support / monetization 156 + patreon: siPatreon, 157 + kofi: siKofi, 158 + buymeacoffee: siBuymeacoffee, 159 + substack: siSubstack, 160 + 161 + // audio / podcasts 162 + soundcloud: siSoundcloud, 163 + bandcamp: siBandcamp, 164 + applepodcasts: siApplepodcasts, 165 + 166 + // tools / misc 167 + figma: siFigma, 168 + notion: siNotion, 169 + 170 + // chat / messaging 171 + signal: siSignal, 172 + wechat: siWechat, 173 + line: siLine 100 174 }; 101 175 102 176 export function detectPlatform(url: string): string | null {