Rename to faceclaimer

This commit is contained in:
tiltowait
2025-10-20 22:12:28 -07:00
parent cb1baf18a0
commit a181519ce5
8 changed files with 13 additions and 17 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
images
image-processor
faceclaimer

View File

@ -1,4 +1,4 @@
# image-processor
# faceclaimer
A lightweight web API for processing and managing character profile images from Discord. Images are converted to WebP prior to saving.
@ -11,7 +11,7 @@ go build .
## Usage
```bash
./image-processor --base-url <url> [options]
./faceclaimer --base-url <url> [options]
```
### Command-Line Options
@ -26,7 +26,7 @@ go build .
### Example
```bash
./image-processor --base-url https://images.example.com --port 8080 --quality 85
./faceclaimer --base-url https://images.example.com --port 8080 --quality 85
```
## API Endpoints

View File

@ -12,8 +12,8 @@ import (
"github.com/spf13/cobra"
"image-processor/checks"
"image-processor/routes"
"faceclaimer/checks"
"faceclaimer/routes"
)
var (
@ -25,7 +25,7 @@ var (
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "image-processor",
Use: "faceclaimer",
Short: "API for managing character profile images.",
Long: `A web API for uploading and deleting character images uploaded to Discord.

View File

@ -12,7 +12,7 @@ import (
"github.com/gen2brain/webp"
"image-processor/checks"
"faceclaimer/checks"
)
// imageFromBytes converts the bytes data to an Image.

2
go.mod
View File

@ -1,4 +1,4 @@
module image-processor
module faceclaimer
go 1.24.7

View File

@ -1,10 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
package main
import "image-processor/cmd"
import "faceclaimer/cmd"
func main() {
cmd.Execute()

View File

@ -13,8 +13,8 @@ import (
"github.com/gin-gonic/gin"
"go.mongodb.org/mongo-driver/bson/primitive"
"image-processor/checks"
"image-processor/convert"
"faceclaimer/checks"
"faceclaimer/convert"
)
type Config struct {

View File

@ -12,7 +12,7 @@ import (
"github.com/gin-gonic/gin"
"image-processor/checks"
"faceclaimer/checks"
)
func init() {