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

Live Cmder Terminal on website #15

Open
DRSDavidSoft opened this issue May 8, 2018 · 1 comment
Open

Live Cmder Terminal on website #15

DRSDavidSoft opened this issue May 8, 2018 · 1 comment

Comments

@DRSDavidSoft
Copy link
Owner

DRSDavidSoft commented May 8, 2018

Cmder Web Terminal

I'm working on a HTML+CSS live Cmder terminal window, which can be used in the website instead of the current jpeg file. (This has been also previously suggested by @JoshuaKGoldberg in cmderdev#15.)

There is currently a working demo here which you can have a look:
https://github.com/DRSDavidSoft/cmderdev.github.io/blob/gh-pages/.workspace/cmder-web.html

Here's a screenshot:
cmder-web-sc

I think it's working now, but I need to:

  • add the typing effect
  • make sure it works on each machine

If someone is interested to contribute to the design, or the testing process, it'd be appreciated.


On another note, I'd like to split the website's CSS rules into separate files (e.g. design.css, terminal.css and also terminal.js which would contain the live Cmder preview. I need to know if the maintainers (@Stanzilla and @MartiUK) approve this.

@DRSDavidSoft
Copy link
Owner Author

moved from cmderdev#15 (comment)

I think this approach is better than simply embedding a gif file, as it won't look good on >100% dpi displays, takes a lot of useless disk-space space and bandwidth, and most importantly is not responsive. Instead, I've used jQuery Terminal to actually display a terminal with text.

I hope @samvasko approves! he doesn't seem to work on Cmder these days. I wonder if he's still on Windows, or switched to Linux/macOS.

Anyways, as @schaazzz suggests, we can use an image polyfill at first, and after the terminal window is created, replace it with that. But it won't be needed as these days everybody seems to have Javascript enabled. It's enabled by default on Android/iOS, Chrome & Edge on Windows.

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

No branches or pull requests

1 participant