-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Import/export from/to *.sketch files #39
Comments
The file format of Akira will be a |
I agree with @Alecaddd that creating a specific exporter is a loss of time: if sketch changes the way the files are structured, then it means that you need to update the exporter, which comes at great cost. But at the same time, if we say that akira is linux first/only, then we need ways to collaborate with others. At the same time, i'm working with mac users with sketch, and the way i look at it, i think we need a UI unified format, like the UFO (http://unifiedfontobject.org/) for the font files, that each app should be able to handle. Meantime, Figma just shipped an API to work with the files. Since we're using json, be sure that the api for Akira's files is well documented, and we'll have a very good starting point for collaboration. |
Thanks for the info. |
I've seen Lunacy on Windows struggle with .sketch files, So whilst this would be a killer feature for me, I think it's likely to be a complete sinkhole of work supporting that proprietary format from the start. |
Is hard to keep in sync with other formats, but to avoid a complete no, we can make import/export a pluggable system, giving plumbings for anyone who wants to take care of these things. |
I think that @albfan's idea for how to structure an import/export system is great. I personally would find a DXF import/export to be useful, even just for basic shapes. |
Sorry to be that guy but is there any update on this? I would pay a ridiculous fee for it if this project wasn't open source. Having access to sketch files is the ONLY thing that's keeping me from switching to Linux full-time. |
I just can say sketch file format seems to be readable. https://github.com/AnimaApp/sketch-web-viewer. We can code a skeleton for pluggable sketch reader/writer but will take time until it is full featured, and definitely not in roadmap now. That doesn't mean we cannot read some basic examples as PoC. Indeed that will help us to abstract a reader for svg, as we do with https://github.com/akiraux/libgtkcanvas. Can you upload an original sketch file and a PNG/SVG capture with a real basic example so we have examples when we are ready to prototype this? |
@albfan Shopify's UI kit is provided as sketch files and is very extensive: https://polaris.shopify.com/resources/polaris-ui-kit. I don't think I can upload one of my personal ones because they're all client work and I'm not sure how they'd feel about that. |
Hey @adrianocr, thanks for your interest in Akira. Offering the ability to cross collaborate with Sketch is one of our many end goals, something that will probably happen once Akira gets a good and stable couple of releases and the user base and contributions grow. |
@albfan The Sketch file format has been officially fully documented at https://github.com/sketch-hq/sketch-file-format |
@12people If you can attach a sketch file and a screenshot at some point we can check what can be done). Some easy and complex examples would be better than only one. |
@adrianocr same for shopify, but see this could be in backlog for some time. |
@albfan Sure, let me know when you start looking into working on this. There's lots of potential for complex examples (e.g. symbols within symbols within symbols, nested PNGs with effects applied on top of them, Sketch files extended with extra attributes through add-ons, etc.), but it'd be good to know what exactly you'd be working on so I can create the suitable Sketch files. |
@12people I would the the other way, I will put here a simple sketch file and a screenshot and a complex sketch file and its screenshot. Something like https://github.com/akiraux/Akira/wiki/Artwork. Eventually we will look at it at the right time, or design an interface so anyone could "maintain" a import/export plugin for other formats. |
@albfan Alright, will share some files later. I'm going to be making example Sketch files for another project (though they'll have additional attributes from an add-on that you'll be able to ignore), so I'll be able to fill two needs with one deed. :) |
Lunacy developers say supporting Sketch was worth “1.5 year of debugging”, so... not an easy task, I assume. Maybe a crowdfunding campaign for this particular feature would help? I'm ready to chip in a couple bucks, anybody else? |
@notpushkin Sketch published their file format schema only recently, in the middle of 2019: https://github.com/sketch-hq/sketch-file-format Since Lunacy worked on supporting Sketch before this schema became available, I'm thinking adding support might be a whole lot easier now. |
Yep guys! Lunacy works natively with sketch file format and allow yet use sketch cloud to storage the project files.. Beyond this doing a good management for cloud files (edit/save/update/delete). Will be a great feature for Akira as Sketch editor on Linux. |
As said. Provide a sketch example and a screenshot of what it represents and we can provide the plumbings to do an import/export load/save plugin (for sketch or any other format). But implement the full spec is something we cannot promise as we don't know the changes the spec gets over time, or if our paradigm matches the one for sketch. But would be interesting have a look! |
@albfan https://developer.sketch.com/file-format/ |
Lunacy choosed Sketch file format as default file format, maybe, because the open and good specification to work with this format. We will have Sketch on mac, Lunacy on Windows and Akira on Linux... And all Designers on all Systems sharing and colaborating arround of a good file format, or supporting these. I'll go beyond and say que .sketch must be a default file format. I do not want to disregard all the wonderful careful work they are doing here, not to mention the investment, but I believe it would be a good discussion around this adoption. And I believe that when you look at the specifications of that format, you will see some similarity with what you are already doing. Scold me if I'm talking silly. |
I love your enthusiasm but let's not get ahead of ourselves and let's try to keep our feet on the ground. First, it'll take us years before we will be able to properly import and export sketch files. It's definitely a feature we're interested in implementing, but it's not a priority at all since we're still dealing with huge limitations due to the graphic libraries currently available on Linux. Second, I always stick to the mantra of "do not build your house on someone else backyard". First, let's be sure Akira works, runs well, and can empower Linux users to design interfaces with a modern workflow. |
As I know, *.sketch files have *.json structure. Would be better make import from *.sketch. Hudge amount of ui-designers use Sketch, and for gaining popularity for Akira need compability with most popular tools Sketch, Figma and etc.
The text was updated successfully, but these errors were encountered: