Nishkalkashyap / Quark-electron

Quark is a cross-platform, integrated development environment for rapidly building - functional , prototypal projects, written in HTML, CSS and JavaScript with native desktop app like capabilities.
https://quarkjs.io
GNU General Public License v3.0
239 stars 19 forks source link

Sketches - binary format #4

Open nukeop opened 5 years ago

nukeop commented 5 years ago

Can sketches be only shared in a binary format? e.g. https://github.com/Nishkalkashyap/quark-projects/blob/master/Browser/Browser.qrk

I would like to look at the source of this project to see how Quark would save me work, but without downloading Quark itself and the project I can't. I think it would be very useful, especially for potential users, if we could see some example code right there on Github. People are lazy and downloading the entire program just to look at some code is going to turn off 95% of casual browsers. I might be more likely to download if I could see some sample code beforehand.

Nishkalkashyap commented 5 years ago

Can sketches be only shared in a binary format?

To be precise to answer that line of inquiry, YES. Sketches can only be shared as a binary.

But i believe what you're trying to say is that you want to see the code of a sketch in the repo itself without opening it in the Quark software. That certainly could be done. In-fact, you don't even need to write your code in Quark and you can use the real file system of your machine just like you do for your every project. (This feature is not documented in the website yet).

But this would totally contradict a good part of the reason as to why this project exists, still I could certainly consider this option for future projects.

nukeop commented 5 years ago

Nice, as an easy alternative you could just create a repository where you share the code of some example sketches in text form. I'm especially interested in that web browser with split view (and a command palette if I'm reading the gifs correctly).