https://github.com/praveenjuge/mynaui-favicons
Simple & Quick Favicons Generator.
https://github.com/praveenjuge/mynaui-favicons
favicon favicon-generator favicons
Last synced: 2 months ago
JSON representation
Simple & Quick Favicons Generator.
- Host: GitHub
- URL: https://github.com/praveenjuge/mynaui-favicons
- Owner: praveenjuge
- License: mit
- Created: 2023-12-22T09:58:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T17:20:46.000Z (over 1 year ago)
- Last Synced: 2024-05-01T19:28:38.103Z (about 1 year ago)
- Topics: favicon, favicon-generator, favicons
- Language: JavaScript
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# MynaUI Favicons
Simple & Quick Favicons Generator.
Give a input SVG File. It gives six favicon files [that covers most needs](https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs).
## Usage
Run the script using `npx` and provide your SVG file as input:
```bash
npx @mynaui/favicons [path-to-your-svg-file]
```or using bun:
```bash
bunx @mynaui/favicons [path-to-your-svg-file]
```### Options
- `--input` or `-i`: Specify the input SVG file.
- `--quality` or `-q`: Set the quality of the PNG images (default is 85).
- `--name` or `-n`: Set the name for the manifest file (default is 'TODO').Example:
```bash
npx @mynaui/favicons --input your_icon.svg --quality 90 --name "Your App Name"
```## Output
The script will generate the following files in the same directory as the input SVG:
- `favicon.ico`
- `favicon-optimized.svg`
- `apple-touch-icon.png`
- `icon-192.png`
- `icon-512.png`
- `manifest.webmanifest`## Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
## License
This project is licensed under [MIT](https://github.com/praveenjuge/mynaui-favicons/blob/main/LICENSE).