Skip to content

Instantly share code, notes, and snippets.

@pfrazee
Last active May 1, 2019 15:06
Show Gist options
  • Save pfrazee/f73b02c738040f9adab05566b4988ea3 to your computer and use it in GitHub Desktop.
Save pfrazee/f73b02c738040f9adab05566b4988ea3 to your computer and use it in GitHub Desktop.
User drive's folder structure:
/data/ - json records
/website/ - html/css/js for visiting them as a site
/drives/ - published drives
/dat.json - metadata
/thumb.jpg - avatar
/favicon.ico - icon
/cover.jpg - cover photo in social cards/profile page
/drives/{title-slug} -> dat://.../ mount
eg /drives/beaker-browser-com -> dat://beakerbrowser.com
Published site/drive's folder structure
/owners/ - users who published & manage this site
/dat.json - metadata
/owners/{title-slug} -> dat://.../ mount
eg /owners/paul-frazee -> dat://pfrazee.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment