question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to share drawings within the app via a link

See original GitHub issue

The design

  • New share button (the final position to be determined)
  • When the button is pressed:
  • A pop up appears with the preview of the image and one button in the bottom that says Click to generate and following text caption: Click to generate will upload the scene to http://json.excalidraw.com.
  • When Click to generate is pressed there should be a POST request with the JSON of the scene to https://json.excalidraw.com/api/v1/post/ and read back hash from the response. Read more: https://json.excalidraw.com.
  • Once the response is ready, the Click to generate disappears and instead there is an input box with the sharable URL: https://excalidraw.com?json= cf441c7b5846d0d234c411538b703079 with an option to copy to clipboard.
  • When user enters the URL with a json argument (https://excalidraw.com?json= cf441c7b5846d0d234c411538b703079) we should load the drawing with a given json from: https://json.excalidraw.com/api/v1/cf441c7b5846d0d234c411538b703079.json

Comments

  • Maybe instead of separate button, having the sharable link when exporting as image.
  • In the future we might support other providers like Google Drive, Dropbox, etc…

Screenshot

Screenshot 2020-01-19 at 11 37 16 PM

Notes

For any suggestions or changes to the backend (https://json.excalidraw.com) file issues directly in that repo https://github.com/excalidraw/excalidraw-json/issues

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lipiscommented, Jan 20, 2020

I updated the description to reflect that.

0reactions
dwellecommented, Nov 17, 2021

@AlanBreck nevertheless, our policy so far is to comply with such requests. So if you send me the id (the part of the #json string that’s before the comma (https://excalidraw.com/#json=id,key), we will remove the link for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pictoswap - share drawings - Apps on Google Play
Pictoswap is an interactive app where you create, share and receive drawings from friends and all creators around the world.
Read more >
Scribble Together Whiteboard on the App Store - Apple
Draw together in real time, from anywhere! In seconds, anyone can follow along with your drawing or draw with you from the app...
Read more >
Sketch App: How to Share Artboards with Your Team - SitePoint
Being able to share your designs in Sketch with very little effort is hugely beneficial to your team, especially for those that don't...
Read more >
Google Drawings | Online Tools for Teaching & Learning
This means students can collaborate on the same drawing from different computers at different locations. Drawings can be shared via a link or...
Read more >
The 5 best online whiteboards in 2022 - Zapier
InVision Freehand gives designers the opportunity to sync their Sketch and Photoshop files or create mockups using the built-in wireframes, and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found