Closed mintbomb27 closed 2 years ago
Hey there! Can you assign this issue to me?
Also, how should it scale with the size of the terminal? Or should it be fixed-size?
Edit: can it be multi-colored or only black/white?
Hey @vini-fda ! Thank you for showing interest! It can be of a fixed size that isn't too small or too big. If you could scale it with the terminal, then great! It can be multicolored. Do check the design at #3 and try to accommodate a block where you can add the art.
Assigning the issue.
Ok, cool! I'm thinking something like oh-my-zsh's ASCII logo. Do you guys have an "official font" in mind, as a reference? Currently I'm using FiraCode, which has ligatures(but obviously using ligature features in the ASCII art would make it non-accessible for others, so I'm not doing that).
This is how the oh-my-zsh logo looks on my terminal:
I've also taken the liberty of using this website and this one for inspiration for the ASCII art. Here are some outputs with my font in my terminal(with some slight modifications):
EDIT:
Just for fun, here's how it looks with lolcat:
Hey @vini-fda We liked the second one the most. Great work! For now, adding it in the help command output and in the readme would suffice.
(PS: the colours look 😍)
How should I go about adding it to the help command? I've looked into clap's documentation but didn't find out how to add a "logo" or anything like that. For now, I've added it to the commands.yml
file, at the about page:
name: Templa-rs
version: "1.0.0"
author: IEEE-VIT. <contact@ieeevit.org>
about: |
████████╗███████╗███╗ ███╗██████╗ ██╗ █████╗ ██████╗ ███████╗
╚══██╔══╝██╔════╝████╗ ████║██╔══██╗██║ ██╔══██╗ ██╔══██╗██╔════╝
██║ █████╗ ██╔████╔██║██████╔╝██║ ███████║ ██████╔╝███████╗
██║ ██╔══╝ ██║╚██╔╝██║██╔═══╝ ██║ ██╔══██║ ██╔══██╗╚════██║
██║ ███████╗██║ ╚═╝ ██║██║ ███████╗██║ ██║ ██║ ██║███████║
╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝
Solves all boilerplate template needs!
Here's how cargo run -- --help
looks on my terminal:
Also, how should I implement the rainbow version? Because currently I've just saved the piped output of lolcat into a file, and it has a ton of terminal color codes:
[38;2;123;240;20m█[39m[38;2;128;237;17m█[39m[38;2;132;235;15m█[39m[38;2;136;233;13m█[39m[38;2;140;231;12m█[39m[38;2;144;228;10m█[39m[38;2;149;225;8m█[39m[38;2;153;223;7m█[39m[38;2;157;220;6m╗[39m[38;2;161;217;5m█[39m[38;2;165;214;4m█[39m[38;2;169;211;3m█[39m[38;2;173;207;2m█[39m[38;2;177;204;1m█[39m[38;2;181;201;1m█[39m[38;2;185;197;1m█[39m[38;2;188;194;1m╗[39m[38;2;192;190;1m█[39m[38;2;196;186;1m█[39m[38;2;199;182;1m█[39m[38;2;203;179;1m╗[39m[38;2;206;175;2m [39m[38;2;209;171;2m [39m[38;2;213;167;3m [39m[38;2;216;163;4m█[39m[38;2;219;159;5m█[39m[38;2;222;154;7m█[39m[38;2;224;150;8m╗[39m[38;2;227;146;9m█[39m[38;2;230;142;11m█[39m[38;2;232;138;13m█[39m[38;2;234;133;15m█[39m[38;2;237;129;17m█[39m[38;2;239;125;19m█[39m[38;2;241;121;21m╗[39m[38;2;243;116;23m [39m[38;2;244;112;26m█[39m[38;2;246;108;29m█[39m[38;2;247;104;31m╗[39m[38;2;249;100;34m [39m[38;2;250;96;37m [39m[38;2;251;92;40m [39m[38;2;252;88;43m [39m[38;2;253;84;46m [39m[38;2;253;80;50m [39m[38;2;254;76;53m█[39m[38;2;254;72;56m█[39m[38;2;254;68;60m█[39m[38;2;254;64;64m█[39m[38;2;254;61;67m█[39m[38;2;254;57;71m╗[39m[38;2;254;54;75m [39m[38;2;253;50;79m [39m[38;2;253;47;83m [39m[38;2;252;44;87m [39m[38;2;251;41;91m [39m[38;2;250;38;95m█[39m[38;2;249;35;99m█[39m[38;2;248;32;103m█[39m[38;2;246;29;107m█[39m[38;2;245;26;111m█[39m[38;2;243;24;116m█[39m[38;2;241;22;120m╗[39m[38;2;239;19;124m [39m[38;2;237;17;128m█[39m[38;2;235;15;133m█[39m[38;2;233;13;137m█[39m[38;2;230;11;141m█[39m[38;2;228;10;145m█[39m[38;2;225;8;149m█[39m[38;2;222;7;154m█[39m[38;2;219;6;158m╗[39m[38;2;216;4;162m[39m
[38;2;136;233;13m╚[39m[38;2;140;231;12m═[39m[38;2;144;228;10m═[39m[38;2;149;225;8m█[39m[38;2;153;223;7m█[39m[38;2;157;220;6m╔[39m[38;2;161;217;5m═[39m[38;2;165;214;4m═[39m[38;2;169;211;3m╝[39m[38;2;173;207;2m█[39m[38;2;177;204;1m█[39m[38;2;181;201;1m╔[39m[38;2;185;197;1m═[39m[38;2;188;194;1m═[39m[38;2;192;190;1m═[39m[38;2;196;186;1m═[39m[38;2;199;182;1m╝[39m[38;2;203;179;1m█[39m[38;2;206;175;2m█[39m[38;2;209;171;2m█[39m[38;2;213;167;3m█[39m[38;2;216;163;4m╗[39m[38;2;219;159;5m [39m[38;2;222;154;7m█[39m[38;2;224;150;8m█[39m[38;2;227;146;9m█[39m[38;2;230;142;11m█[39m[38;2;232;138;13m║[39m[38;2;234;133;15m█[39m[38;2;237;129;17m█[39m[38;2;239;125;19m╔[39m[38;2;241;121;21m═[39m[38;2;243;116;23m═[39m[38;2;244;112;26m█[39m[38;2;246;108;29m█[39m[38;2;247;104;31m╗[39m[38;2;249;100;34m█[39m[38;2;250;96;37m█[39m[38;2;251;92;40m║[39m[38;2;252;88;43m [39m[38;2;253;84;46m [39m[38;2;253;80;50m [39m[38;2;254;76;53m [39m[38;2;254;72;56m [39m[38;2;254;68;60m█[39m[38;2;254;64;64m█[39m[38;2;254;61;67m╔[39m[38;2;254;57;71m═[39m[38;2;254;54;75m═[39m[38;2;253;50;79m█[39m[38;2;253;47;83m█[39m[38;2;252;44;87m╗[39m[38;2;251;41;91m [39m[38;2;250;38;95m [39m[38;2;249;35;99m [39m[38;2;248;32;103m [39m[38;2;246;29;107m█[39m[38;2;245;26;111m█[39m[38;2;243;24;116m╔[39m[38;2;241;22;120m═[39m[38;2;239;19;124m═[39m[38;2;237;17;128m█[39m[38;2;235;15;133m█[39m[38;2;233;13;137m╗[39m[38;2;230;11;141m█[39m[38;2;228;10;145m█[39m[38;2;225;8;149m╔[39m[38;2;222;7;154m═[39m[38;2;219;6;158m═[39m[38;2;216;4;162m═[39m[38;2;213;3;166m═[39m[38;2;210;3;170m╝[39m[38;2;207;2;174m[39m
[38;2;149;225;8m [39m[38;2;153;223;7m [39m[38;2;157;220;6m [39m[38;2;161;217;5m█[39m[38;2;165;214;4m█[39m[38;2;169;211;3m║[39m[38;2;173;207;2m [39m[38;2;177;204;1m [39m[38;2;181;201;1m [39m[38;2;185;197;1m█[39m[38;2;188;194;1m█[39m[38;2;192;190;1m█[39m[38;2;196;186;1m█[39m[38;2;199;182;1m█[39m[38;2;203;179;1m╗[39m[38;2;206;175;2m [39m[38;2;209;171;2m [39m[38;2;213;167;3m█[39m[38;2;216;163;4m█[39m[38;2;219;159;5m╔[39m[38;2;222;154;7m█[39m[38;2;224;150;8m█[39m[38;2;227;146;9m█[39m[38;2;230;142;11m█[39m[38;2;232;138;13m╔[39m[38;2;234;133;15m█[39m[38;2;237;129;17m█[39m[38;2;239;125;19m║[39m[38;2;241;121;21m█[39m[38;2;243;116;23m█[39m[38;2;244;112;26m█[39m[38;2;246;108;29m█[39m[38;2;247;104;31m█[39m[38;2;249;100;34m█[39m[38;2;250;96;37m╔[39m[38;2;251;92;40m╝[39m[38;2;252;88;43m█[39m[38;2;253;84;46m█[39m[38;2;253;80;50m║[39m[38;2;254;76;53m [39m[38;2;254;72;56m [39m[38;2;254;68;60m [39m[38;2;254;64;64m [39m[38;2;254;61;67m [39m[38;2;254;57;71m█[39m[38;2;254;54;75m█[39m[38;2;253;50;79m█[39m[38;2;253;47;83m█[39m[38;2;252;44;87m█[39m[38;2;251;41;91m█[39m[38;2;250;38;95m█[39m[38;2;249;35;99m║[39m[38;2;248;32;103m [39m[38;2;246;29;107m [39m[38;2;245;26;111m [39m[38;2;243;24;116m [39m[38;2;241;22;120m█[39m[38;2;239;19;124m█[39m[38;2;237;17;128m█[39m[38;2;235;15;133m█[39m[38;2;233;13;137m█[39m[38;2;230;11;141m█[39m[38;2;228;10;145m╔[39m[38;2;225;8;149m╝[39m[38;2;222;7;154m█[39m[38;2;219;6;158m█[39m[38;2;216;4;162m█[39m[38;2;213;3;166m█[39m[38;2;210;3;170m█[39m[38;2;207;2;174m█[39m[38;2;203;1;178m█[39m[38;2;200;1;182m╗[39m[38;2;196;1;185m[39m
[38;2;161;217;5m [39m[38;2;165;214;4m [39m[38;2;169;211;3m [39m[38;2;173;207;2m█[39m[38;2;177;204;1m█[39m[38;2;181;201;1m║[39m[38;2;185;197;1m [39m[38;2;188;194;1m [39m[38;2;192;190;1m [39m[38;2;196;186;1m█[39m[38;2;199;182;1m█[39m[38;2;203;179;1m╔[39m[38;2;206;175;2m═[39m[38;2;209;171;2m═[39m[38;2;213;167;3m╝[39m[38;2;216;163;4m [39m[38;2;219;159;5m [39m[38;2;222;154;7m█[39m[38;2;224;150;8m█[39m[38;2;227;146;9m║[39m[38;2;230;142;11m╚[39m[38;2;232;138;13m█[39m[38;2;234;133;15m█[39m[38;2;237;129;17m╔[39m[38;2;239;125;19m╝[39m[38;2;241;121;21m█[39m[38;2;243;116;23m█[39m[38;2;244;112;26m║[39m[38;2;246;108;29m█[39m[38;2;247;104;31m█[39m[38;2;249;100;34m╔[39m[38;2;250;96;37m═[39m[38;2;251;92;40m═[39m[38;2;252;88;43m═[39m[38;2;253;84;46m╝[39m[38;2;253;80;50m [39m[38;2;254;76;53m█[39m[38;2;254;72;56m█[39m[38;2;254;68;60m║[39m[38;2;254;64;64m [39m[38;2;254;61;67m [39m[38;2;254;57;71m [39m[38;2;254;54;75m [39m[38;2;253;50;79m [39m[38;2;253;47;83m█[39m[38;2;252;44;87m█[39m[38;2;251;41;91m╔[39m[38;2;250;38;95m═[39m[38;2;249;35;99m═[39m[38;2;248;32;103m█[39m[38;2;246;29;107m█[39m[38;2;245;26;111m║[39m[38;2;243;24;116m [39m[38;2;241;22;120m [39m[38;2;239;19;124m [39m[38;2;237;17;128m [39m[38;2;235;15;133m█[39m[38;2;233;13;137m█[39m[38;2;230;11;141m╔[39m[38;2;228;10;145m═[39m[38;2;225;8;149m═[39m[38;2;222;7;154m█[39m[38;2;219;6;158m█[39m[38;2;216;4;162m╗[39m[38;2;213;3;166m╚[39m[38;2;210;3;170m═[39m[38;2;207;2;174m═[39m[38;2;203;1;178m═[39m[38;2;200;1;182m═[39m[38;2;196;1;185m█[39m[38;2;193;1;189m█[39m[38;2;189;1;193m║[39m[38;2;186;1;196m[39m
[38;2;173;207;2m [39m[38;2;177;204;1m [39m[38;2;181;201;1m [39m[38;2;185;197;1m█[39m[38;2;188;194;1m█[39m[38;2;192;190;1m║[39m[38;2;196;186;1m [39m[38;2;199;182;1m [39m[38;2;203;179;1m [39m[38;2;206;175;2m█[39m[38;2;209;171;2m█[39m[38;2;213;167;3m█[39m[38;2;216;163;4m█[39m[38;2;219;159;5m█[39m[38;2;222;154;7m█[39m[38;2;224;150;8m█[39m[38;2;227;146;9m╗[39m[38;2;230;142;11m█[39m[38;2;232;138;13m█[39m[38;2;234;133;15m║[39m[38;2;237;129;17m [39m[38;2;239;125;19m╚[39m[38;2;241;121;21m═[39m[38;2;243;116;23m╝[39m[38;2;244;112;26m [39m[38;2;246;108;29m█[39m[38;2;247;104;31m█[39m[38;2;249;100;34m║[39m[38;2;250;96;37m█[39m[38;2;251;92;40m█[39m[38;2;252;88;43m║[39m[38;2;253;84;46m [39m[38;2;253;80;50m [39m[38;2;254;76;53m [39m[38;2;254;72;56m [39m[38;2;254;68;60m [39m[38;2;254;64;64m█[39m[38;2;254;61;67m█[39m[38;2;254;57;71m█[39m[38;2;254;54;75m█[39m[38;2;253;50;79m█[39m[38;2;253;47;83m█[39m[38;2;252;44;87m█[39m[38;2;251;41;91m╗[39m[38;2;250;38;95m█[39m[38;2;249;35;99m█[39m[38;2;248;32;103m║[39m[38;2;246;29;107m [39m[38;2;245;26;111m [39m[38;2;243;24;116m█[39m[38;2;241;22;120m█[39m[38;2;239;19;124m║[39m[38;2;237;17;128m [39m[38;2;235;15;133m [39m[38;2;233;13;137m [39m[38;2;230;11;141m [39m[38;2;228;10;145m█[39m[38;2;225;8;149m█[39m[38;2;222;7;154m║[39m[38;2;219;6;158m [39m[38;2;216;4;162m [39m[38;2;213;3;166m█[39m[38;2;210;3;170m█[39m[38;2;207;2;174m║[39m[38;2;203;1;178m█[39m[38;2;200;1;182m█[39m[38;2;196;1;185m█[39m[38;2;193;1;189m█[39m[38;2;189;1;193m█[39m[38;2;186;1;196m█[39m[38;2;182;1;200m█[39m[38;2;178;1;203m║[39m[38;2;174;2;207m[39m
[38;2;185;197;1m [39m[38;2;188;194;1m [39m[38;2;192;190;1m [39m[38;2;196;186;1m╚[39m[38;2;199;182;1m═[39m[38;2;203;179;1m╝[39m[38;2;206;175;2m [39m[38;2;209;171;2m [39m[38;2;213;167;3m [39m[38;2;216;163;4m╚[39m[38;2;219;159;5m═[39m[38;2;222;154;7m═[39m[38;2;224;150;8m═[39m[38;2;227;146;9m═[39m[38;2;230;142;11m═[39m[38;2;232;138;13m═[39m[38;2;234;133;15m╝[39m[38;2;237;129;17m╚[39m[38;2;239;125;19m═[39m[38;2;241;121;21m╝[39m[38;2;243;116;23m [39m[38;2;244;112;26m [39m[38;2;246;108;29m [39m[38;2;247;104;31m [39m[38;2;249;100;34m [39m[38;2;250;96;37m╚[39m[38;2;251;92;40m═[39m[38;2;252;88;43m╝[39m[38;2;253;84;46m╚[39m[38;2;253;80;50m═[39m[38;2;254;76;53m╝[39m[38;2;254;72;56m [39m[38;2;254;68;60m [39m[38;2;254;64;64m [39m[38;2;254;61;67m [39m[38;2;254;57;71m [39m[38;2;254;54;75m╚[39m[38;2;253;50;79m═[39m[38;2;253;47;83m═[39m[38;2;252;44;87m═[39m[38;2;251;41;91m═[39m[38;2;250;38;95m═[39m[38;2;249;35;99m═[39m[38;2;248;32;103m╝[39m[38;2;246;29;107m╚[39m[38;2;245;26;111m═[39m[38;2;243;24;116m╝[39m[38;2;241;22;120m [39m[38;2;239;19;124m [39m[38;2;237;17;128m╚[39m[38;2;235;15;133m═[39m[38;2;233;13;137m╝[39m[38;2;230;11;141m [39m[38;2;228;10;145m [39m[38;2;225;8;149m [39m[38;2;222;7;154m [39m[38;2;219;6;158m╚[39m[38;2;216;4;162m═[39m[38;2;213;3;166m╝[39m[38;2;210;3;170m [39m[38;2;207;2;174m [39m[38;2;203;1;178m╚[39m[38;2;200;1;182m═[39m[38;2;196;1;185m╝[39m[38;2;193;1;189m╚[39m[38;2;189;1;193m═[39m[38;2;186;1;196m═[39m[38;2;182;1;200m═[39m[38;2;178;1;203m═[39m[38;2;174;2;207m═[39m[38;2;170;3;210m═[39m[38;2;166;3;213m╝[39m[38;2;162;4;216m[39m[m[?25h[?1;5;2004l
Hey @vini-fda yeah adding to the command.yml
works. If you could also add to the README, would be great! The rainbow version, I'm not sure if it'll support a lot of terminals? If adding that to the command.yml works, then please go for it. But make sure it supports all the terminals.
Design an ASCII Art Logo with the name "Templa-rs".
Add it to the TUI preferably as a block as well as in the help command output.