Skip to content
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

Web based version of nin10kit #6

Open
TricksterGuy opened this issue Apr 29, 2015 · 2 comments
Open

Web based version of nin10kit #6

TricksterGuy opened this issue Apr 29, 2015 · 2 comments

Comments

@TricksterGuy
Copy link
Owner

No description provided.

@Shubhang
Copy link

Would this require a total rewrite of the program?

@TricksterGuy
Copy link
Owner Author

No. Only a frontend interface would need to be written, almost all of the code can be reused.

One could write a webpage using a form asking for images, and options mirroring that of the CLI interface, and when submitted, the server could just form the proper command and execute the cli version of the program server side and then display the output or have the user download it in some way.

Another approach would be to simply make bindings for most of the internal library stuff (stuff like SWIG, CLIF, Boost.Python) for a more web friendly programming language (ruby for Ruby on Rails, and I'm sure python has a web framework), Then you can write a website as normally and then you can just write the web page in whatever language you want, and then call the bound methods which could then run the C++ code internally.

And there may be some C++ libraries (like emscripten) that would make it easy to port a desktop application for the web instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants