meganz / MEGAcmd

Command Line Interactive and Scriptable Application to access MEGA
Other
1.94k stars 407 forks source link

Feature Request: MEGAcmd console feature on the web client #705

Open sanjarcode opened 2 years ago

sanjarcode commented 2 years ago

This is a feature request.

I wish to sometimes use MEGAcmd, but installing and setting it up is a pain, because I have 2 laptops and one is dual booted with Windows + Linux.

All this setup could be avoided if the MEGA web app had a console feature in it, something like the console provided by Amazon EC2 (of course with file management options only - cd, mv, ls).

This won't be very hard to implement, as a set of secure commands already exist (mega- ones).

jx-mega commented 2 years ago

Unfortunately, it is not viable at the moment and it is not an easy task.

Such behaviour (despite UX/UI/Implementing such console in the WebClient), would need to: a) construct a command line interpreter in WebClient (an entirely new project) that uses WebClient kernel to provide similar functionality as MEGAcmd does or b) implement a loopback HTTP server (similar to the one MEGAsync uses for integration with the WebClient) that reads WebClient queries and executes them via the MEGAcmd server on MEGAcmd, with a mechanism to ensure both are logged into the same account. Plus instruct the user to have MEGAcmd logged into the same account and running.

Anyway thank you for sharing your feedback with us, we would review it in the future for implementation if considered.

sanjarcode commented 2 years ago

Can you see what tech AWS console uses, maybe you can reuse that?

sanjarcode commented 2 years ago

Also, is it possible for me to create such a console - meaning does MEGA provide authentication and other APIs to do so.