Skip to content

t0n3/sakuin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .