Skip to content

Dumps cryptopunks at a specified resolution with an optional background

License

Notifications You must be signed in to change notification settings

architdate/cryptopunks-ripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cryptopunks-ripper

Dumps cryptopunks at a specified resolution with an optional background

Installing Dependencies

  • Run the following command
$ pip install -r requirements.txt

Configuring the ripper

  • Open cryptopunks.py in a code editor
  • Here you can configure how the image will be dumped in the last few lines of the code
  • The background color of the cryptopunk is originally transparent, however you can customize this look to make it look like how they are displayed on the website or any custom hex color you like. Setting the color as None, keeps the background as transparent.
  • The size of the cryptopunk is originally 24x24 pixels, however the website displays them as 144x144. You can modify this size to your liking
  • Some color hex values are already inserted as part of the code for your convenience. They represent the same colors as seen on the website. Look at images below

image

The blue red and purple color hex values correspond to these backgrounds:

image

Running the ripper

  • Simply run the following command to execute
$ python3 cryptopunks.py
  • This should create a new directory called cryptopunks and should dump all the punks in the folder based on the configuration set

Output

  • Once the ripper is done running, you should see an output like this

image

Feature Requests / Feedback

  • Feel free to request any features or report any feedback/bugs using GitHub Issues. This project is under the MIT license.

About

Dumps cryptopunks at a specified resolution with an optional background

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages