ChromeDevTools / timeline-viewer

View DevTools Timeline trace files from Google Drive wicked easily
https://chromedevtools.github.io/timeline-viewer/
Other
323 stars 43 forks source link

Firebase uploading v0 #59

Open denar90 opened 6 years ago

denar90 commented 6 years ago

Proof of concept for #52


I've played with firebase and here what we got:

If we really need to support of response from server in format like

{
  raw: 'https://chromedevtools.github.io/traces/CuriousRedCrow',
  view: 'https://chromedevtools.github.io/timeline-viewer/?loadTimelineFromURL=https://chromedevtools.github.io/traces/CuriousRedCrow'
}

then I suppose we have to write our own proxy and host it...


P.S. How to setup

  1. in storage.js append your own config (one more question how to hide it, has it be hidden)
  2. allow CORS to cloud - https://firebase.google.com/docs/storage/web/download-files?authuser=0, section CORS Configuration
denar90 commented 6 years ago

other then that here is demo