Public
Auto atproto actor.rpg.generator → actor.rpg.sprite
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

auto-rpg-actor

This val compiles an actor.rpg.generator record — with the layers of clothing and accessories of your rpg.actor — and produces the equivalent actor.rpg.sprite, just as the rpg.actor site does.

This is the URL to hit:

https://auto-rpg-actor.val.run/at://{your-did}/actor.rpg.generator/{your-actor-often-'self'}

You must include an app password in the Authorization header:

Authorization: Bearer abc-def-hij

Bonus feature

This script will honour the non-standard equipped field on the objects inside layers of the generator lexicon.

If equipped is true, or absent, then the layer will be included. If equipped is false then that layer will be excluded.

This allows you to easily equip accessories/items from scripts or airglow.run without also having to handle blob upload (you just toggle equipped to true).