Giter Club home page Giter Club logo

Comments (11)

kbariotis avatar kbariotis commented on July 29, 2024 2

@gersomvg it's a great idea and you should def give it a try. We are here to help you. I would suggest to start by looking at the specific format that each OS needs. A quick googling will reveal the path. :)

from excalidraw-desktop.

gersomvg avatar gersomvg commented on July 29, 2024 2

@j-f1 It makes more sense indeed to move this issue to the desktop app. For MacOS I found this for example:

https://developer.apple.com/documentation/quicklookthumbnailing/providing_thumbnails_of_your_custom_file_types

It seems like the only way is to bundle it with an app. This also keeps the .excalidraw files light and clean JSON.

from excalidraw-desktop.

gersomvg avatar gersomvg commented on July 29, 2024 1

Is there analytics data on which OS is most common amongst users? I would assume MacOS? That's also the OS I'm on, so maybe the easiest to start & test.

from excalidraw-desktop.

lipis avatar lipis commented on July 29, 2024 1

Screenshot 2020-04-04 at 1 50 02 PM

from excalidraw-desktop.

lipis avatar lipis commented on July 29, 2024

That's interesting..! Right now the .excalidraw files are nothing more than a JSON.

I'm guessing in order to do that, we have to store it a specific way that mac wants to have it. While this is OK for Sketch (since it works only on Mac) we have a problem here since we OS independent.

from excalidraw-desktop.

gersomvg avatar gersomvg commented on July 29, 2024

I guess there is a way to do it for every OS without breaking the file? As long as the JSON is still readable as actual JSON somewhere down the file when you open it in a text editor?

I think the major question is: can this be done from a browser.

from excalidraw-desktop.

j-f1 avatar j-f1 commented on July 29, 2024

I think this should be migrated to excalidraw-desktop where on macOS we should be able to have custom file icons and a Quick Look handler. Not sure if it’s supported in electron but we could definitely do it in a native app.

from excalidraw-desktop.

lipis avatar lipis commented on July 29, 2024

.excalidraw files should open in the web browser as well.. I wouldn't break it.. or by other OS native apps..

from excalidraw-desktop.

lipis avatar lipis commented on July 29, 2024

I think assigning an icon to *.excalidraw it's easy to do on Mac and Windows (not sure how linux is handling that)

from excalidraw-desktop.

j-f1 avatar j-f1 commented on July 29, 2024

I think macOS files can have different “forks” and we might be able to put an icon in there, but I doubt that’s exposed to web APIs and I’m not sure if it’s even possible.

from excalidraw-desktop.

lipis avatar lipis commented on July 29, 2024

https://developer.apple.com/documentation/quicklookthumbnailing/providing_thumbnails_of_your_custom_file_types

from excalidraw-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.