https://github.com/itsjimi/jack
🏗 Serve files, connect to websocket, etc... Jack is an amazing web development tool
https://github.com/itsjimi/jack
development-tools files fileserver go server static-server websocket websocket-client ws
Last synced: 9 months ago
JSON representation
🏗 Serve files, connect to websocket, etc... Jack is an amazing web development tool
- Host: GitHub
- URL: https://github.com/itsjimi/jack
- Owner: ItsJimi
- License: mit
- Created: 2017-04-24T19:31:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T13:49:09.000Z (12 months ago)
- Last Synced: 2025-03-29T12:30:32.751Z (10 months ago)
- Topics: development-tools, files, fileserver, go, server, static-server, websocket, websocket-client, ws
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jack
🏗 Amazing web development tool
## Install
```shell
go install github.com/ItsJimi/jack@latest
```
## Usage
```shell
$ jack
```
```shell
NAME:
Jack - 🏗 Amazing web development tool
USAGE:
jack [global options] command [command options] [arguments...]
VERSION:
0.1.1
COMMANDS:
serve, s serve static files
connect, c connect to websocket server
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config value path of config file (default: ".jack.json")
--help, -h show help
--version, -v print the version
```
## Commands
### Serve
Start a web server to serve static files
#### Usage
```shell
jack serve
```
#### Options
- `-addr="0.0.0.0"`
- `-port="8080"`
- `-path="."`
### Connect
[WIP]
## Config file
You can create a `.jack.json` in a directory to load a configuration instead of flags
```json
{
"addr": "127.0.0.1",
"port": 1234,
"path": "./"
}
```
## Contribute
Feel free to fork and make pull requests
## License
[MIT](https://github.com/ItsJimi/jack/blob/master/LICENSE)