Skip to content

nathamanath/mollypictures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mollypictures

Was looking for an excuse to make something using Erlang, so I made a placeholder image site.

  • Image manipulation is done with imagemagick,
  • Web server is cowboy,
  • Caching is handled by nginx,
  • Docker image requests its own ssl certificate form lets encrypt, and keeps it updated.

You can see it running here: http://molly.nathansplace.co.uk

Build / run

  $ make

Image selection

Several versions of source images are stored sorted into portrait and landscape Source images are selected to look reasonable and to minimise file size.

This improves performance when generating smaller images.

For now, images are duplicated to make the following folders

  • large: 1920x1280
  • medium: 960x640
  • small: 480x320

TODO:

  • endpoint to add new images
  • resize source images based on actual usage

About

Placeholder images of molly in Erlang

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors