How it works
From a change in the folder to the page on the site.

- Folder: Google Docs, Word files, photos and folders.
- Sync: once a minute, Foldocs lists the folder's names, dates and descriptions. Only files that changed are downloaded.
- Cache: a changed document is exported as HTML and rebuilt from a short list of allowed elements; its images are made in five sizes.
- Build: the whole site is written as plain files, with a feed and a sitemap. Only what changed is rewritten.
- Site: any web server can serve it; Foldocs includes a small one in a container.
There is no database: the folder is the source, and the site is a copy of it.
To run it yourself, see Put it online. The code is open source.