Comments (13)
Added support of a terminal in v6.7.0.
from cloudcmd.
Unfortunately no, Console uses jq-consle. You can hack around. I think this is a useful feature, but I do not know how to implement it.
Maybe you will have some ideas.
from cloudcmd.
hmm, I'm looking for a lightweight web file explorer and console with authentication. Where cloudcmd brightened my eyes. Unfortunately I have the limitation of use requirement of services like application consoles, screen, atop, vim..
I assume this isn't possible and looking for a library kinda failed. The only one I found which would go towards this direction is GateOne. I guess its optional implementation would be a hassle, wouldn't it?
(authentication bridge + button to start in a new window or in a lightbox from cloudcmd)
An alternative I thought about. Do you see way of tail -F a log while at the same time being able to send commands which get wrapped with the screen args? This could emulate screen attaching.
(screen -S <id> -X stuff '<command>'`echo -ne '\015'`)
from cloudcmd.
Main problem with GetOne
it is not designed for using as a node.js library or midleware, it's written on python
, it's to large dependency for Cloud Commander
.
butterfly works good, it also python based.
tty.js could be great but it is doesn't work on windows (and on unix has troubles) and doesn't maintained.
Any way you could use Cloud Commander
as file manager and GateOne
(or any other) as terminal in other tab.
If you find some terminal npm module that fits your needs, works stable (even on windows, and would be great if without c++ code) and maintained, let me know.
from cloudcmd.
alright thanks. Would you recommend butterfly or tty.js on a unix system? Could I use cloud commanders auth system or should I use it as middleware and build a custom auth system?
offtopic: ever thought about pastebin, gist upload for text files?
from cloudcmd.
A quick research let me came up with these. I will test them and see how well they work with highly used utils like screen, vim, htop. But if you know some of them and can say this one won't work.. This one doesn't work on windows.. you could save me a lot of testing time :) (I still hope we can find one that is worth being implanted directly into cloudcmd)
- (https://github.com/Runnable/dockworker) + https://github.com/chjj/term.js - demo: http://bellard.org/jslinux/ (didn't bother to test due to inactivity age)
- https://github.com/Gottox/terminal.js implemented in https://github.com/Gottox/node-webterm (works great. color support, screen, atop, htop, vim all works)
- https://github.com/pm2-hive/pm2-webshell - demonstrating htop on the screenshots (my favorite, as it even comes with a tab like system and everything which I tested works perfect, but don't look at the git structure :D)
- https://github.com/rabchev/web-terminal (doesn't support interactive gui's)
- https://github.com/krishnasrinivas/wetty (works great. color support, screen, atop, htop, vim all works)
from cloudcmd.
offtopic: ever thought about pastebin, gist upload for text files?
No, I have not. But there is github gist uploader, you could try it.
I had problems with term.js
it is not maintained. But maybe now situations is better, I think you definitely should test this things.
from cloudcmd.
I don't think it is what you are looking for. Take a look at the last commits, they are purely pull req based since 2014 https://github.com/chjj/term.js/commits/master You might wanna give Runnable's fork a try if you like: https://github.com/Runnable/term.js But overall it is inactive. Edit: well he isn't doing much more than moving colors around :(
What about the other ones? wetty, terminal.js and webshell?
from cloudcmd.
wetty
uses pty.js
that doesn't maintained and dosn't works on windows but works pretty good on linux.
terminal.js
works not as good (have issues with mc
).
webshell
uses same unsupported fork of tty.js
and depends on pm2
.
from cloudcmd.
I see. In my opinion the possibility to use vim, screen... is already a major step forward. But I haven't used mc for a long time, still there wouldn't be many features left cloudcmd offers which mc doesn't cover :P
About pty and windows, there is an up to date pull req: chjj/pty.js#111
JamesMGreene also picked it up under the new name of node-partty: https://github.com/JamesMGreene/node-partty it also includes windows compatibility JamesMGreene/node-partty@8bb1493 (I hope he only is on a break and continues)
from cloudcmd.
You could try install cloudcmd v2.0.0 with:
npm i [email protected]
Than do next things:
cd node_modules/cloudcmd
npm i partty
An change 12 line in lib/server/terminal.js
(I tried to use pty.js
but had a lot problems with it so I drop it):
tryRequire('pty.js') -> tryRequire('pty.js')
After that run:
node bin/cloudcmd
You could start terminal with shift + ~
.
from cloudcmd.
thanks, I'll do that :)
from cloudcmd.
Closed until proper terminal library will be found.
from cloudcmd.
Related Issues (20)
- fix(restafary) onFS: Windows system access file error HOT 2
- feat: Supports injecting scripts into the client HOT 9
- ESM
- Limit path that is accessible HOT 2
- Unique "ROOT" directory for each side of the 2 panel view HOT 1
- Files missing after cancelling move due to EACESS error HOT 3
- Moving files in the same partition path will result in a copy file operation HOT 9
- supervisor or systemd support ? HOT 2
- not able to edit file HOT 2
- feat: a row at the top with Bookmarks/shortcuts to different folder locations HOT 3
- Docker: Could not do a head request for "coderaiser/cloudcmd:latest-alpine" HOT 4
- Large number of files missing or deleted by aborting in the middle of a move file process HOT 5
- feat: Hook upon upload/download HOT 10
- DOMException: Failed to register a ServiceWorker for scope -- when using self signed certificates on Chrome HOT 4
- using AWS Cloudfront, the login authentication can not pass. HTTP 401 HOT 4
- Update docker/build-push-action
- enoent error HOT 24
- Copy recursive preserving permissions HOT 4
- --packer "zip" don't work HOT 9
- Files get deleted on aborting move HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudcmd.