salvo-static-files
OfficialServe static files and assets in Salvo apps.
Authorsalvo-rs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Serving static files and embedded assets is a common requirement for web apps, but configuring routes, defaults, caching, and SPA fallbacks can be error-prone when using a framework like Salvo.
Core Features & Use Cases
- Serve static directories with optional defaults and directory listings.
- Serve single files and embedded assets via RustEmbed support.
- SPA-friendly fallbacks and cache-control options for production deployments.
- Use cases: serving CSS/JS/images, delivering uploads or public assets, or embedding assets for a single-binary deployment.
Quick Start
Set up a Salvo app to serve static files from a directory with a default file and optional directory listing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: salvo-static-files Download link: https://github.com/salvo-rs/salvo-skills/archive/main.zip#salvo-static-files Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.