About Desktops

Desktops is a gallery primarily powered by Pelican for its static-site generation, SASS for its stylesheets, neocities.org for its front-end hosting, and pomf.se as its (wicked!) image host. BASH glues it all together along with curl for uploading and imagemagick and image magic for thumb generation. In this article I hope to share the methods I used and the lessons I've learned along the way.

If you wanna read the purpose of desktops - go here.

Overview

These are the main steps of how Desktops work.

# Save a screenshot from the internet
wget screenshot.png
...

# Add it to our Pelican-based gallery
./add_desktop.sh screenshot.png
...

# Generate our new site with the updated entry
./generate_content.sh

# Push our newly generated content

./update_neocities