Yet another another publishing tool for minimalist photographers.
Demo site: https://foto.lhzhang.com
SimpleOne binary, three commands. No database required.CustomizableHighly customizable through configuration and template files.FastFiles are processed concurrently for optimal performance.
$ brew tap waynezhang/tap
$ brew install fotoOr download the binary from here
For Nix users, a Flake is provided. It can be used to run the application directly or add the package to your configuration as flake input.
It also allows you to try out foto without permanent installation.
nix run github:waynezhang/fotoConsult the Nix manual for details.
Download the binary from here
~ $ foto create my_site
~ $ tree my_site
my_site
├── assets
│ ├── icons
│ │ ├── home.svg
│ │ ├── instagram.svg
│ │ └── twitter.svg
│ └── style.css
├── foto.toml # Configuration file, see below for more details.
├── media
│ └── avatar.jpg # Placeholder image for avatar.
└── templates
└── template.html # Template file~/my_site $ foto preview
Creating Preview...
Listening on 5000...The default port number is 5000. It can be changed by -p flag.
~/my_site $ foto export -o ~/site_docs
Exprorting sites to /Users/xxx/site_docs...foto clear-cacheSee foto.toml
Template and CSS styles can be modified without changing the foto binary.
The template file is located at templates/template.html.
You can also add additional settings in foto.toml (ref) and reference them in the template file.
foto uses the html/template package from Go. Please refer to this link for more information. Besides, EXIF information is supported. Refer to EXIF for all EXIF tags.
See CHANGELOG
See LICENSE
foto is highly inspired by moul.