docs: update outdated imgur hero with self-hosted animated demo#3081
docs: update outdated imgur hero with self-hosted animated demo#3081livlign wants to merge 1 commit intocmderdev:masterfrom
Conversation
The previous hero was a static PNG hosted on imgur (http://i.imgur.com/g1nNf0I.png). External image hosts are a linkrot liability — if imgur purges the asset the README breaks silently. This commit adds images/hero.gif (1200x500, 135 KB) and updates the README to reference the local path. The animation shows a realistic cmder session in the Monokai palette: portable %CMDER_ROOT%, git log, then four rotating prompts that showcase the bundled unix tools and clink readline integration.
|
@livlign Thank you for the amazing hero animation! 👍🏻 ❤️ We have been meaning to update the image, and it looks amazing 🎉 |
|
@livlign Could you please specify what assets (incl. font) you used to create the animated hero? |
|
@DRSDavidSoft Thank you for reviewing! About the SVG — that'll be possible, but I need to ask a couple of questions first:
|
|
@livlign Thank you for the exact details!
Yes, please, ideally, we would like to re-use the same hero on the website's code as well, so that it could be displayed on cmder.app, too. In fact, I've been considering an "interactive" version of the console in a test branch I made several years ago, and I would prefer to base that work against the generated HTML/CSS that you made using Claude, for an updated look and feel. Additionally, I would prefer an HTML/CSS or SVG solution over GIF, since:
As it is now, the generated hero animation needs a bit of tweaking as well to look like a "Windows Terminal" app, instead of a macOS terminal one. It's a great start for the modernization of the hero animation! 👍🏻
I'm aiming for an animated SVG instead of a static one, but other Cmder developers/maintainers can also weigh in as well. I understand that the SVG code wouldn't be byte-identical to the GIF, but I was hoping that conversion from the pure HTML/CSS would be a task with less effort involved. I guess it would be best first to share the generated HTML/CSS as a raw .zip attachment in this PR, instead of committing them right away as I could investigate and have a look (also, sorry if it would take some time for me to fully review and integrate it, as I am busy with some other aspects of the project, but I'm super interested to integrate this Claude-generated hero animation into both the README and website, so thank you for any help and the contribution!)
I'm thinking in terms of a CI/CD build system that would automatically generate the final resulting animation (be it SVG, GIF or a combination of both) using the GitHub actions infrastructure. Meaning that if/when a developer decides to make a change and tweak the parameters (for e.g. choosing the newer Atom Dark color scheme instead of the current Monokai-based one), then the result would be automatically built without a manual human involvement. For now, let's keep things simple and simply have a look at the source files, and we can decide about the best way to integrate this into the Cmder project's documentation that would keep these requirements in mind. Sorry about the long wall of text, and thank you for the contribution! 🙏🏻 👌🏻 |
|
@DRSDavidSoft Thank you for sharing your thoughts and visions! I updated the terminal to Windows version. Increased the terminal height and made commands appear below each other so it is more like a real session in Cmder. Please find the attachment with the HTML, SVG, GIF, and the Readme with the instructions how to tweak them. It is a pleasure to contribute to this project. Just let me know if you need any changes to the PR. |
Summary
http://i.imgur.com/g1nNf0I.png) with a self-hosted animated GIF atimages/hero.gif.%CMDER_ROOT%, agit log, then four rotating prompts demonstrating the bundled unix tools (curl,where), clink readline (clink --version), and git (git pull). 1200×500, 135 KB, 10 s loop.Preview: once this branch is pushed, GitHub renders
./images/hero.gifinline in the README at the same spot the imgur screenshot used to sit.Test plan
images/hero.gifloads at the README path (check on the PR view)