A web app built with Streamlit in Python to create Arknights mobile wallpapers on the fly.
Artwork and operator details are now sourced from the PRTS wiki. The scraping code has also been updated to use Playwright.
Choose your favorite operator and the wallpaper will be generated in the moment. You can filter operators by rank (number of stars), and choose a theme color if you don't like the default one and even play around with skins!
The art was scraped from Gamepress and images are loaded directly from their source. This scraping is done with with the requests and BeautifulSoup4 libraries. The default colors for each operator was done manually by me.
Some notes about the docker image: how to build and run
-t is the name of the image (the tag)
. is the path to the image, in this case i ran it at the project root
docker build -t arknights_wallpaper_generator .
-p port forwarding as exposed_port:image_internal_port
in the example, you will access the streamlit app at port 8502, but the image is using port 8501 internally
also pass it the name of the image to run
docker run -p 8502:8501 arknights_wallpaper_generator