1. How do you know which documents to buy with the donated credits?
2. How do you get access to the user's account? Do you store their password somewhere?
Maybe a simple trick would be to throw a little alert with the extension around the end of the quarter just to say, "Hey, it's the end of the quarter. Have you spent your entire free budget?"
Hm. There's an opportunity here, but we've never quite nailed it down.
2. The user provides their creds and you store them in Hashicorp Vault, AWS Param Store, or another secrets manager, and then retrieve them for use in making requests with a queue and runner mechanism.
If you have questions about this, email in profile. Last job was somewhere making requests for users with their creds at scale, currently in infosec. I would love to help make all PACER docs freely available.
Then if it's popular you can do more interesting things like prompting people to use the web page from the extension, moving the whole web page and fetch logic into the extension so it doesn't leak credentials, turning it into a cryptocurrency so people can fetch documents on demand, etc., but first things first.