Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jozan/iconstash
icons for an app
https://github.com/jozan/iconstash
Last synced: 25 days ago
JSON representation
icons for an app
- Host: GitHub
- URL: https://github.com/jozan/iconstash
- Owner: jozan
- License: mit
- Created: 2023-07-15T17:29:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-24T15:04:24.000Z (over 1 year ago)
- Last Synced: 2024-11-14T11:17:24.337Z (3 months ago)
- Language: TypeScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iconstash
preprocessed svg & png icons for an app i'm building.
## usage
you need [`bun`](https://bun.sh) installed in your system. also fish shell. and
ripgrep. and inkscape.then you need to fetch all the icons to your machine
```
$ bun i
```### copy `svg` files out of `node_modules`
```
$ ./converter.fish
```### generate the file that the app needs by running
```
$ ./generate.fish
```copy output of that to the app with the generated svgs's.
### running watcher (optional)
```
$ ./pbwatcher.fish
```watcher is useful when you want to filter out icons from the set. it works by
checking the content on the clipboard periodically and populating
`filter_heroicons` file.keep watcher running in the background and copy icon names you want to filter
out to your clipboard. it'll run `generate.fish` for you.`pbwatcher.fish` is intended to be used on macOS but can be easily converted
to be used in other systems as well by modifying the script to use `xclip`
for example.