shit is a lightweight file server written in go designed for quickly sharing files and directories over http
it supports serving single or multiple files, directories, or a combination of both with features like mime type detection, directory browsing, and tls
it is meant to be a temporary command only ran for quick file sharing which is why it uses temporary redirects and explicitly prevents caching
go install github.com/notwithering/shit@latestyay -S shit-git$ shit dir/ a.txt b.txt
$ curl 127.0.0.1:8080
dir/
a.txt
b.txt
$ curl 127.0.0.1:8080/dir
c.txtthis project uses the following dependencies with the license as noted:
- github.com/alecthomas/kong - MIT License
each dependency retains its respective license. for more details refer to their official documentation or source code