Promptlee
AI Browser Automation
An AI assistant in the browser.
Developer
# To develop
npm start
npm run dev
npm test
npm run test:sb
# To develop the extension
npm run build:firefox -- --watch
npm run serve:firefox
# save sb studio changes locally
supabase db diff -f my_migration_file
# update generated db types
npm run types
# deployments
supabase functions deploy run-prompt --project-ref <project-ref>
supabase functions deploy stripe-webhook --project-ref <project-ref>
supabase db push
Admin functions
-- give a user credits
select insert_free_credits('2f991f94-0aeb-4146-9897-601e8e3019a5'::uuid, 123);