This repository has been archived on 2024-12-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

26 lines
469 B
Go
Executable File

package main
import (
"frostfire.io/dir2opdspse/app/cmd"
"github.com/urfave/cli/v2"
"log"
"mime"
"os"
)
func main() {
_ = mime.AddExtensionType(".cbz", "application/x-cbz")
app := cli.NewApp()
app.Name = "dir2opdspse"
app.Usage = "A lightweight OPDS server with OPDS-PS support."
app.Version = "0.0.1+dev"
app.Commands = []*cli.Command{
&cmd.Serve,
}
if err := app.Run(os.Args); err != nil {
log.Fatalf("Failed to start application: %v", err)
}
}