3 ms·
Oh I'm not that super with JS to do something like this without a framework. It's running on MithrilJS (https://mithril.js.org/ https://mithril.js.org/), which
by sharat87 5y ago
Oh I'm not that super with JS to do something like this without a framework. It's running on MithrilJS (https://mithril.js.org/ https://mithril.js.org/), which is, IMO, the most _practical_ framework for single page applications.
But saving all the HTML/CSS/JS and running it locally should work fine nonetheless though. What I'm a bit doubtful of is, if it would be able to do the XHR calls on file:// protocol. I'm not sure about how the browsers of today behave there.
Also, OAuth integration? Prestige has OAuth? (surprised-pikachu-face.gif)
- nexuist 5y ago> If it would be able to do the XHR calls on file:// protocol As long as the endpoint being fetched returns the correct CORS headers, fetch should work on file:// pages. You just can't fetch other file:// URIs with it. > Prestige has OAuth? (surprised-pikachu-face.gif) Not yet, but: > Integrations with more storage providers like GitHub and Dropbox coming soon. I think you're planning on adding it sooner or later :p
- sharat87 5y agoI see. I didn't know about being able to fetch from file:// pages. Thanks for the heads-up. Yep, I do want to integrate with those services and that will involve OAuth. You just zoomed into the future and gave me kind of a wake-up call treating it as if it's already there! :)