Works with public github urls, github gists, and files on google drive (once authenticated).
Once authorized, you’ll see Timeline Viewer as a registered Google Drive viewer when opening .json files. Once you select the Timeline Viewer, it will open in a new tab and load the timeline asset from your Drive.
You can share this URL with any users who ① have authorized Timeline Viewer to Drive with Google OAuth and ② have View permission to the Google Drive asset.
Visit your Google security permissions if you’d like to revoke authorization.
Run:
yarn
or npm i
yarn run dev
or npm run dev
- it will open site in browser and run server for you.Master branch’s docs
folder is what’s published to gh-pages, to simplify deployment.
Auth keys have localhost:8000 whitelisted, so you can hack there.
Cypress is used for integration testing.
To run test just invoke yarn test
location.href
and grab the hash out of it
copy(new URL(location.href).pathname.match(/@(\w+)/)[1])
docs/index.html