Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hey! Thank you very much. I haven't actually thought about it. My gut feeling says it _won't_, but I'm not able to point out a reason. But that's a good idea, I do want to have a local version of this someday, perhaps it could be that simple?


From poking around it doesn't seem like you're using a framework like React or Vue - if this is straight HTML/CSS/JS it should be possible to just save the page and all its dependencies and it would work flawlessly (minus the OAuth integration which would need a backend to host a redirect URI).


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/), 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)


> 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


I 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! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: