-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Collaborative web version and multiple language of a book #1868
Comments
Thanks, I'm glad you find novelWriter useful 😃 Making a web version would basically require a complete rewrite more or less from scratch, since the current app is written using a widget-based framework that is not web-compatible. Considering how much time it takes running this project, there is no way I have the capacity to do this. So that would be for someone else to do in a parallel project. As for collaborative, sync, cloud, etc features, this too is covered in #815 "Frequently Requested Features". The multi-language part of your request is a different option that could be implemented, although it is technically difficult to handle in terms of multiple spell-checkers. But if you could create a separate feature request for this, I'm happy to keep it in the backlog. I have some ideas how to implement this. I will close this issue as the collaborative web part will not be implemented in this project, although I'd be happy to assist on a parallel project that uses the same project structure. A bunch of the core classes could likely be ported over. |
Thanks for your meaningful insight. I also read the Frequently Requested Features note and i'm sorry for not reading it first hand. I actually started a a web application which concentrate on book making after trying various and not finding one that have the whole set of features I'd wanted and quickly noticed the amount of work it was. PS: I ll create an additional issue for the multi language feature |
Depends what level of integration we're talking about. I would not want to make the current app a front end for some cloud-like service as I've mentioned. However, being able to transfer the project in an interchangeable format would be an option. I've adapted most of the data file formats to JSON that are capable of being merged into one file. The project file is still XML, but is internally mostly JSON-serialisable. What I meant, in any case, is that I've been working towards separating the GUI part from the core/data code internally in the app. This means that it is possible, at least in principle, to slap a new frontend on the core functionality of novelWriter. Most of the core code is in the |
Which is why i was mentioning "optional", i meant eventually configurable on the project. but I understand your point.
I'm not sure this would fit with my idea as I want to leverage a versioning system to collaborators who won't understand them. I wanted to provide a load/save api that would leverage git and fix the conflicts as automatically as possible since the api would be fully aware of the format but I have yet to try how that goes. I may have to do some research before i can propose something that suits both our needs or just try to fully integrate the non-ui part of novel writter into a new app but that remains a lot of work. As a side note, is there a plan for plugins on novelwritter ? |
My point is that of the functionality and syntax of novelWriter is what you'd like to use, and the GUI is anyway non-transferable to web, then I'd be willing to collaborate on tailoring the core code to work in that context. Possibly even packaging it into a library. The web service could be running on Python and Flask and serve the data through an API for instance. I'm not a (web) fornt end dev, so I can't help much on that front. But I do a lot of Python back end work.
Yes and no. I'm considering a framework for writing text analysis tools so that it is easier to contribute them for specific languages and methods, but it would be more of a module framework rather than a third party plugin/extension framework. Also, text analysis just needs to be passed a lump of text to analyse, so the internal API is relatively simple. A more integrated plugin framework would be harder to develop and maintain. I suppose the lowest hanging fruit is a framework to replace the storage class with an API wrapper, which could work for your case. I wrote the storage class as a passthrough of all I/O so I can implement #977. |
I'm have absolutely zero experience in python and i would never make anything secure without many years of experience if i worked my backend in python. Plus i would postpone my other projects if I went that way. haha. Those tools are for our primary projects (for me a book and a visual novel) so going too far is out of the question for either of us. Either way, a web front end has many limitations and is only written in html/javascript/css. I could never import a python package in the front end and that a front end code would be necessary for performance reasons (MD to HTML parsing in the backend for exemple would be out of the question). So I'll save you the trouble of making a python package at least for my ideas. Just for the info, i work my backend in C# aspnet core and my front in vuejs.
I took a look and also found #383. This lead me to two ideas based on what your said:
The last solution would also be a way to partially implement #383 (I could provide an api for the diffs and history if going through the api wrapper is enough for you) and add collaborative work directly to novelwritter while solving my problems. Well, I'm waiting to see what you think of this. what do you intend to make your api wrapper able to do ? and how configurable ? |
Just forget what i mentioned. I realised that my idea wouldn't work when working offline. Replacing the storage with an api wrapper wouldn't be a solution for me. I need to think of something else. ^^ |
Hello,
First I would like to thank you for this marvelous tool. I can't get away from markdown since i discovered it over 15 years ago and it is much better to write with novelWriter than simple markdown editors.
I was wondering if a web version of the editor was possible or if it would be possible to derive novelWriter to make a collaborative web version. Also it would be nice to have multiple language of a book handled in a single project. We would put two language side by side to easily translate.
I can see two needs here:
I am aware of the technological difficulties those ideas would bring and that such features wouldn't come in version 2 of novelWritter or perhaps would warrant an extention project integrating novelWriter.
Thanks,
The text was updated successfully, but these errors were encountered: