A flexible icon generator that generates icon and stores them for ease of use.
- Modular architecture for easy extension
- Efficient icon management and storage
- Customizable icon sets
- Automatic icon importation and organization (from github repo. E.g. https://github.com/phosphor-icons/core/tree/main/assets/regular)
icon-generator/
├── src/
│ ├── core/ # Core functionality
│ ├── data/ # Icon data and configurations
│ └── utils/ # Utility functions
└── scripts/ # Build and utility scripts
- Clone the repository:
git clone https://github.com/builtnorth/icon-generator.git
cd icon-generator- Generate icons & follow prompts:
npm run generate-iconsThe script will prompt you for:
- GitHub repository URL (e.g., https://github.com/phosphor-icons/core/tree/main/assets/regular)
- Icon set name (e.g., phosphor)
- Icon set label (e.g., Phosphor Icons)
This will:
- Download SVG icons from the repository
- Create a data file in
src/data/ - Create a configuration file in
src/core/icons/ - Update the store.js with the new icon set
To remove an icon set:
npm run remove-iconsThis will"
- Remove the icon data file
- Remove the icon config file
- Remove references to icon library in store.js
Contributions are welcome! Please feel free to submit a Pull Request.
GPL-2.0-or-later
This 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.
Use of this library is at your own risk. The authors and contributors of this project are not responsible for any damage to your website or any loss of data that may result from the use of this library.
While we strive to keep this library up-to-date and secure, we make no guarantees about its performance, reliability, or suitability for any particular purpose. Users are advised to thoroughly test the library in a safe environment before deploying it to a live site.
By using this library, you acknowledge that you have read this disclaimer and agree to its terms.