https://github.com/MohammadMD1383/verve
https://github.com/MohammadMD1383/verve
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/MohammadMD1383/verve
- Owner: MohammadMD1383
- Created: 2022-09-11T05:14:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-16T18:54:18.000Z (over 3 years ago)
- Last Synced: 2025-04-06T00:26:19.627Z (12 months ago)
- Language: V
- Size: 2.93 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-v - verve - Simple and fast static file server. (Applications / Command-line)
README
# verve - V Serve
simple, fast and powerful static file server with no dependencies written in [V](vlang.io)
## usage
```bash
# serve current directory
verve
# serve ./prod/ directory
# use -d or --dir
verve -d prod
# set port other than 7777
# use -p or --port
verve -p 3000
```
by default verve will try to find `index.html` in the root of `` and serve it at `localhost:/`
## build from source
```bash
# compile
v .
# run
./verve -d -p
```