User:Mylesb.ca/Amalfi
short url: http://amalfiproject.com/
Amalfi is an IndieWeb application built using Python and Flask that is currently in development by Myles Braithwaite.
People using it on their own site:
Features
- Flat File Storage
- Support for HTML, Markdown, Plain Text, and Jupyter Notebooks
- Post Types: note, article, photo, bookmark, checkin, rsvp
Implementation Design
Storage Format
I took a lot of inspiration from Aaron Parecki's p3k folder and file structure.
All the content for the website is stored in a Git repository and mirrored to an S3 bucket.
There is a main folder posts which contain the individual post files. Post are stored in a structure of posts/%Y/%m/%j/index
(example the third post on 13 March 2018 would be posts/2018/03/072/03
).
In a individual post directory there is always a _meta.toml
for storing information about the post, all h-entry variables are supported. In the directory there is also h-entry variables as text files (ex summary.txt, content.md, etc).
A posts folder structure looks like:
. βββ posts βββ 2018 βββ 072 βββ 01 βββ _meta.toml βββ summary.txt βββ content.md βββ media βββ photo.jpg
Mention Support
Amalfi has the ability to mention support using @
symbol.
Etymology
Amalfi Project was randomly selected using M&A Project Name Generator.