Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

1.1 KB
Raw Blame
import {
  BarChart3, BookmarkCheck, Calendar, Camera, CirclePlay, Clapperboard, Clock, Film, Flame, Gauge, Hash, Heart, Image,
  MessageSquare, Percent, Scissors, Tag, ThumbsUp, Timer, Trophy, UserPlus, Users, Video, Eye,
} from 'lucide-react';
import type { LucideIcon } from 'lucide-react';

// one icon per meaning on every page, so the same picture never stands for two different numbers
export const METRIC_ICONS = {
  views: Eye,
  averageViews: Gauge,
  likes: ThumbsUp,
  instagramLikes: Heart,
  comments: MessageSquare,
  rate: Percent,
  audience: Users,
  following: UserPlus,
  videos: CirclePlay,
  shorts: Scissors,
  regularVideos: Video,
  instagram: Camera,
  reels: Clapperboard,
  posts: Image,
  tracked: BookmarkCheck,
  category: Tag,
  tags: Hash,
  median: BarChart3,
  score: Flame,
  consistency: Trophy,
  quality: Film,
  duration: Timer,
  period: Calendar,
  time: Clock,
} satisfies Record<string, LucideIcon>;

// Instagram content types, with the same icons wherever they are counted or filtered
export const IG_TYPE_ICONS = { reel: Clapperboard, post: Image, video: Video } satisfies Record<string, LucideIcon>;