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 57b876e55d 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
.vscode Output images to their own directory for easy sync 8 months ago
input 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
static 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
templates Modularize code and beautify 2 months ago
.gitignore 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
AmeRenderer.py Keep track of rendered images in log.csv 1 month ago
README.md Replace static index page with list of photosets 7 months ago
__init__.py 🎉 Initial Commit 9 months ago
ame.py 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
config.py 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
log.csv 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
log_operations.py Keep track of rendered images in log.csv 1 month ago
plugin.py 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
publish.sh 🐛 Fix broken RSS feeds and issue with replacing 1 month ago
requirements.txt 1. Add support for standalone pages 8 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