No Description

Tone 5b49c5a913 Support hidden files :) 1 year ago
.github 30d6543b01 Build static binary 1 year ago
cmd 5b49c5a913 Support hidden files :) 1 year ago
web 44c441f145 Rework everything and modernize (#1) 1 year ago
.gitignore 44c441f145 Rework everything and modernize (#1) 1 year ago
Dockerfile 6c5ddf0b55 Update readme. Update dockerfile to reflect ENV change 1 year ago
LICENSE 44c441f145 Rework everything and modernize (#1) 1 year ago
README.md 6c5ddf0b55 Update readme. Update dockerfile to reflect ENV change 1 year ago
go.mod 44c441f145 Rework everything and modernize (#1) 1 year ago
go.sum 44c441f145 Rework everything and modernize (#1) 1 year ago
main.go 44c441f145 Rework everything and modernize (#1) 1 year ago

README.md

Sakuin (索引)

Sakuin is an http file indexer written in Go. It exposes your files from a given directory, simply and nicely.

Building

cd web/
yarn install && yarn compile
cd ../
go get -v ./...
go build -v ./...

Usage

Usage:
  sakuin [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  serve       Start the HTTP server

Flags:
      --config string   config file (default is $HOME/.sakuin.yaml)
  -h, --help            help for sakuin
  -t, --toggle          Help message for toggle

Building Docker image

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v ./...
docker build .