Commit of all existing code.

This commit is contained in:
2024-12-06 11:55:31 -07:00
commit 1f7234997b
17 changed files with 498 additions and 0 deletions
Executable
+25
View File
@@ -0,0 +1,25 @@
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)
}
}