You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
djbeadle ab61b0dd60 Modularize code and beautify 1 week ago
.vscode Output images to their own directory for easy sync 5 months ago
input Modularize code and beautify 1 week ago
static Modularize code and beautify 1 week ago
templates Modularize code and beautify 1 week ago
.gitignore Output images to their own directory for easy sync 5 months ago
AmeRenderer.py Modularize code and beautify 1 week ago
README.md Replace static index page with list of photosets 4 months ago
__init__.py 🎉 Initial Commit 6 months ago
ame.py Modularize code and beautify 1 week ago
config.py Modularize code and beautify 1 week ago
plugin.py Modularize code and beautify 1 week ago
publish.sh Add .tallboy for 9/11 memorial, update content 1 month ago
requirements.txt 1. Add support for standalone pages 5 months ago

README.md

Sync images to Digital Ocean space:

deactivate;
source venv/bin/activate && # Only run rm -rf if activating the venv completed successfully (sanity check against rm -rf danger)
rm -rf output;
python ame.py;
aws s3 sync output_images/ s3://dbnet --profile do --endpoint https://nyc3.digitaloceanspaces.com --exclude "*" --include "*.jpg" --acl public-read;
rsync -a output/ website:/var/www/photo --delete;

Setup:

  1. Clone
  2. cd ame
  3. virtualenv venv -p python3
  4. pip install -r requirements.txt
  5. Activate virtualenv
  6. python ame

TODO:

  • Read directory of markdown files and generate static HTML from it

  • Custom dynamic page (static page with some template components)

  • tags

  • Static files

  • Static pages

  • RSS

  • Canonical links

  • Lazy load image gallery based on https://paulstamatiou.com/photos/

  • Built in Flickr embed