Dynamically serving up lucide icons
| .config/cspell | ||
| src | ||
| vendor | ||
| .gitignore | ||
| .gitmodules | ||
| Cargo.lock | ||
| Cargo.toml | ||
| cspell.config.yaml | ||
| README.md | ||
luciders Server
Dynamically serving up lucide icons. Powered by 🦀 Rust!
Please see /info endpoint handler in src/main.rs for more API details.
Setup Instructions
You will want a copy of the icons dir from the Lucide Github Repo in the root of this project. If you are developing this project, you can simply clone the configured submodule:
git submodule update --init --recursive
If you are deploying to production, you can provide a directory path in the first argument to the binary. For example, if you have the icons in /var/www/icons:
./luciders /var/www/icons
Only .svg files will be read from that directory. The server's default port is 7878, although this can be configured with the PORT environment variable.