import PocketBase from 'pocketbase'; const pb = new PocketBase(process.env.PB_URL || 'http://127.0.0.1:8090'); async function main() { console.log('Authenticating with PocketBase...'); await pb .collection("_superusers") .authWithPassword(process.env.PB_USERNAME, process.env.PB_PASSWORD); const name = 'mirakink' const vt = await pb.collection('vtubers').getFirstListItem(`slug="${name}"`); if (!vt) { throw new Error(`Could not find vtuber with slug "${name}"`); } console.log(`image internals as follows`) console.log(vt) } main()