-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unique urls for saving/sharing would be really useful #1
Comments
Well, I guess it's possible with the query string but it's impractical |
I think we can make a skateboard solution by adding copy/paste functionality. Thoughts? |
JSON would work, but it's still a hassle and unpractical for non-developers (likely there will be some, given the nature of the app). Unless you save them to a file with some extension that you can then open with the application. Perhaps store it in mongo and generate a unique link. The only downside is that it is an extra step in the setup. And you wouldn't be able to host it as a docs anymore. |
Here are the possibilities that come to mind:
|
How about using pastebin/hastebin for this purpose? One can simple click the share button and his data would be uploaded to hastebin and we just pass through the generated url. We could then implement a endpoint like If there are errors in the paste we would just throw an exception telling him, it's invalid. What do you think? |
Okay so I've tried this approach and wondered why I can't upload anything to hastebin from within canvas-sketch. Seems like they don't support CORS yet. So I've made a pull request for this problem. If it gets implemented we can continue using this approach and would have a free hosting for the business plans. Refs: |
No description provided.
The text was updated successfully, but these errors were encountered: