jbaron / cats

Code Assistant for TypeScript
Apache License 2.0
409 stars 66 forks source link

Feature request: web edition #143

Open tijmenvangulik opened 9 years ago

tijmenvangulik commented 9 years ago

Is it possible to make an web edition of cats? My website makes use of the typescript ace playground editor which is still on typescript 0.9. It is not easy to upgrade this project and it seems that cats is the only project which is capable of newer typescript releases. The feature of writing typescript plugins within the website it selves it very cool check it out (http://www.vangulik.org/Ergometer/) It would be great if there will be a web edition of cats (maybe more limited) which can run in a normal website.

jbaron commented 9 years ago

Right now the dependencies on nodewebkit and other native features are limited. The main non-html API being used are the menubar and file IO. So it would be possible for example to:

1) replace nodewebkit menubar with the qooxdoo menubar (relative small effort).

2) Replace file IO with and API that gets its content for example from GItHUB (a bigger effort).

So certainly possible. That being said, the effort is right now focused on making it more feature complete. However if anyone want to give this a go, more than happy to accept patches.

I’ll see if I can make the API that are “native" very explicit, so that is very clear what need to be changed from an implementation point of view.

On 07 Feb 2015, at 20:27, Tijmen van Gulik notifications@github.com wrote:

Is it possible to make an web edition of cats? My website makes use of the typescript ace playground editor which is still on typescript 0.9. It is not easy to upgrade this project and it seems that cats is the only project which is capable of newer typescript releases. The feature of writing typescript plugins within the website it selves it very cool check it out (http://www.vangulik.org/Ergometer/ http://www.vangulik.org/Ergometer/) It would be great if there will be a web edition of cats (maybe more limited) which can run in a normal website.

— Reply to this email directly or view it on GitHub https://github.com/jbaron/cats/issues/143.

tijmenvangulik commented 9 years ago

Thank you for the quick reply. Making the native / none native clear would be a great help. I was already starting on converting cats to web, but I stopped because it was for me not clear what exactly needed to be done and how much effort it would be.