This project aspires to design a command-line application, the Custom Logo SVG Generator, to enable users to craft simple, personalized SVG logos swiftly. Through a series of prompts, the application collects user preferences like a text of up to three characters, its desired color (either via a keyword or a hexadecimal value), a choice of shape (circle, triangle, or square), and the respective shape's color. Harnessing these inputs, the program then produces an SVG file named logo.svg. Upon successful generation, users receive a confirmation "Generated logo.svg" in the command line. When visualized in any browser, the logo manifests as a 300x200 pixel image that perfectly mirrors the specified attributes, serving as a quick and efficient tool for immediate logo design necessities.
To clone the repository, navigate to the directory you want to clone the repository into.
Then, run the following command.
git clone 'git@github.com:Verouge/SVG-Generator.git'To install dependencies, run the following command:
npm iTo use the application, run the following command. Then answer the prompts to generate a README.md file.
npm startPlease contact me to add your contributions
This project is licensed under the MIT license.
Copyright <2023> <Brandon Zhang>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Brandon Zhang
Inquirer 8.2.4
Path 0.12.7
Canvas 2.11.2
If you have any questions, please feel free to contact me via email or on GitHub.
Email: branola1998628@gmail.com
GitHub: Verouge
