Skip to content

Simple Python code to wrap around koalastothemax.com for custom image display

Notifications You must be signed in to change notification settings

cosmicpudding/tothemax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To The Max

Simple Python code to wrap around http://koalastothemax.com for custom display of a set of images.

Input

A text file containing a list of URLs to images to be included in the custom set of images. Each URL should be on a new line, as in the example file.

To run

Default settings (input file: apodurl.txt, number of images: 5):

python tothemax.py

Custom settings (input file: custom.txt, number of images: N):

python tothemax.py custom.txt N

Sharing #tothemax

If possible, please share your custom image sets (to the max) on Twitter with the hashtag #tothemax so that a #tothemax compilation can be constructed :) It might also be useful to tag me (@cosmicpudding) or add #dotastro to differentiate from the other intense #tothemax people out there.

Tips/notes

  • Images will be automatically rescaled to a square shape regardless of original dimensions.
  • List is truncated by default to 75, to account for estimated server URL limitations. If you get a "Request-URI too large" error, reduce the number of images.
  • Convert the long URL containing base64 format to a tinyurl for clarity, e.g. http://tinyurl.com/apodtothemax

About

Simple Python code to wrap around koalastothemax.com for custom image display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages