This repository has no description
0

Configure Feed

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

fix

+11 -9
+3 -3
app/src/app/api/bluesky/profile/route.ts
··· 31 31 emojiStats?: EmojiStat[]; 32 32 } 33 33 34 - const DEFAULT_API_URL = 'https://bsky.social/xrpc'; 35 - const MAX_ENTRIES = 50; 36 - 37 34 // Define approved emojis list - keep in sync with stats route 38 35 const APPROVED_EMOJIS = [ 39 36 '๐Ÿšฝ', '๐Ÿงป', '๐Ÿ’ฉ', '๐Ÿ’จ', '๐Ÿšพ', '๐Ÿงผ', '๐Ÿช ', '๐Ÿšป', '๐Ÿฉธ', '๐Ÿ’ง', '๐Ÿ’ฆ', '๐Ÿ˜Œ', 40 37 '๐Ÿ˜ฃ', '๐Ÿคข', '๐Ÿคฎ', '๐Ÿฅด', '๐Ÿ˜ฎโ€๐Ÿ’จ', '๐Ÿ˜ณ', '๐Ÿ˜ต', '๐ŸŒพ', '๐Ÿฆ', '๐Ÿ“ฑ', '๐Ÿ“–', '๐Ÿ’ญ', 41 38 '1๏ธโƒฃ', '2๏ธโƒฃ', '๐ŸŸก', '๐ŸŸค' 42 39 ]; 40 + 41 + const DEFAULT_API_URL = 'https://bsky.social/xrpc'; 42 + const MAX_ENTRIES = 50; 43 43 const FLUSHING_STATUS_NSID = 'im.flushing.right.now'; 44 44 45 45 // Supabase client - using environment variables
+8 -6
app/src/app/api/bluesky/stats/route.ts
··· 9 9 const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL || ''; 10 10 const supabaseKey = process.env.SUPABASE_SERVICE_ROLE_KEY || ''; 11 11 12 + // Define approved emojis list - shared across the route 13 + const APPROVED_EMOJIS = [ 14 + '๐Ÿšฝ', '๐Ÿงป', '๐Ÿ’ฉ', '๐Ÿ’จ', '๐Ÿšพ', '๐Ÿงผ', '๐Ÿช ', '๐Ÿšป', '๐Ÿฉธ', '๐Ÿ’ง', '๐Ÿ’ฆ', '๐Ÿ˜Œ', 15 + '๐Ÿ˜ฃ', '๐Ÿคข', '๐Ÿคฎ', '๐Ÿฅด', '๐Ÿ˜ฎโ€๐Ÿ’จ', '๐Ÿ˜ณ', '๐Ÿ˜ต', '๐ŸŒพ', '๐Ÿฆ', '๐Ÿ“ฑ', '๐Ÿ“–', '๐Ÿ’ญ', 16 + '1๏ธโƒฃ', '2๏ธโƒฃ', '๐ŸŸก', '๐ŸŸค' 17 + ]; 18 + 12 19 export async function GET(request: NextRequest) { 13 20 try { 14 21 // Define the plumber's DID - this is the official plumber account DID ··· 34 41 count: number; 35 42 }; 36 43 37 - // Define approved emojis list 38 - const APPROVED_EMOJIS = [ 39 - '๐Ÿšฝ', '๐Ÿงป', '๐Ÿ’ฉ', '๐Ÿ’จ', '๐Ÿšพ', '๐Ÿงผ', '๐Ÿช ', '๐Ÿšป', '๐Ÿฉธ', '๐Ÿ’ง', '๐Ÿ’ฆ', '๐Ÿ˜Œ', 40 - '๐Ÿ˜ฃ', '๐Ÿคข', '๐Ÿคฎ', '๐Ÿฅด', '๐Ÿ˜ฎโ€๐Ÿ’จ', '๐Ÿ˜ณ', '๐Ÿ˜ต', '๐ŸŒพ', '๐Ÿฆ', '๐Ÿ“ฑ', '๐Ÿ“–', '๐Ÿ’ญ', 41 - '1๏ธโƒฃ', '2๏ธโƒฃ', '๐ŸŸก', '๐ŸŸค' 42 - ]; 44 + // Use the approved emojis list defined at the top of the file 43 45 44 46 // If we have Supabase credentials, fetch stats 45 47 if (supabaseUrl && supabaseKey) {