Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.
import { createClient } from '@supabase/supabase-js';
import { SUPABASE_AUTH_OPTIONS } from './supabaseAuthOptions';
const url = import.meta.env.VITE_SUPABASE_URL;
const anonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;
if (!url || !anonKey) {
throw new Error('Missing VITE_SUPABASE_URL or VITE_SUPABASE_ANON_KEY in environment');
}
export const supabase = createClient(url, anonKey, { auth: SUPABASE_AUTH_OPTIONS });