AutoUserBGs (also refrenced as: aubg,aubgs,autousrbgs) is a Pure CSS Database, similar to usrbg by Tropical#4355, of user-selected backgrounds. The difference being, no-one needs to approve a background for it to be added.
AUBG does not require you to wait to get a user background added/updated.
On Bandagedbd,...
Just click the link here and follow the instructions there.
I need to tell discord i need it, so discord tells me if it's verified or not. I will be using that in the future to prevent non-verified accounts. I do not keep your email address anywhere on my server.
If you want to confirm that claim yourself, this whole site's source code, inclusive the part that would be able to save said email, can be found here and here.
There are 3 methods:
@import url('https://aubg.nora.lgbt/api/bd');
to the beginning of your theme file (even for Powercord themes)@import url('https://0j3-2.github.io/AutoUserBGs/publicvars.css');
to the beginning of your theme file@import url('https://aubg.nora.lgbt/vars.css');
to the beginning of your theme fileNo. AutoUsrBGs' Variables importer file already imports it for you.
Fetch https://aubg.nora.lgbt/api/vars.json, parse it as JSON, and loop over every entry. Each key is a userid, and the value is an array of data. The key within that value, that you likely are interested in, is banner
. It is the same string inputted here.
Note: You cannot request this from the browser using fetch()
, as there is an issue with CORS. You can, instead, have a proxy server to proxy to that file.
Node-fetch/Axios/etc... can still get the file just fine.
Same thing as before, just this time the link is https://aubg.nora.lgbt/api/getBanner/:UserId.
Click the link to see how the response looks like.