Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ changelog:
release:
github:
owner: gremllm
name: schema
name: lib
draft: false
prerelease: auto
name_template: "Release {{.Tag}}"
4 changes: 2 additions & 2 deletions PROJECT_OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ Returns: Optimized markdown with product details
#### How It Works

```
schema/
lib/
├── cmd/
│ └── libschema/ CGO build target
├── internal/
Expand All @@ -414,7 +414,7 @@ package main

import "C"
import (
"github.com/gremllm/schema/internal/converter"
"github.com/gremllm/lib/internal/converter"
)

//export Convert
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# LLM Schema

[![Tests](https://github.com/gremllm/schema/actions/workflows/test.yml/badge.svg)](https://github.com/gremllm/schema/actions/workflows/test.yml)
[![Release](https://github.com/gremllm/schema/actions/workflows/release.yml/badge.svg)](https://github.com/gremllm/schema/actions/workflows/release.yml)
[![Tests](https://github.com/gremllm/lib/actions/workflows/test.yml/badge.svg)](https://github.com/gremllm/lib/actions/workflows/test.yml)
[![Release](https://github.com/gremllm/lib/actions/workflows/release.yml/badge.svg)](https://github.com/gremllm/lib/actions/workflows/release.yml)

A Go middleware for serving LLM-optimized versions of web content. Instead of forcing LLMs to parse verbose HTML with navigation, ads, and boilerplate, websites can serve token-minimized markdown versions at `.md` URLs.

Expand All @@ -22,7 +22,7 @@ A Go middleware for serving LLM-optimized versions of web content. Instead of fo
## Project Structure

```
schema/
lib/
├── cmd/
│ ├── server/ # Example HTTP server for testing
│ └── libschema/ # CGO library for cross-language support
Expand Down Expand Up @@ -54,7 +54,7 @@ package main

import (
"net/http"
"github.com/gremllm/schema/internal/middleware"
"github.com/gremllm/lib/internal/middleware"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/libschema/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "C"
import (
"unsafe"

"github.com/gremllm/schema/internal/converter"
"github.com/gremllm/lib/internal/converter"
)

//export Convert
Expand Down
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"net/http"

"github.com/gremllm/schema/internal/middleware"
"github.com/gremllm/lib/internal/middleware"
)

func main() {
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module github.com/gremllm/schema
module github.com/gremllm/lib

go 1.25.5

require golang.org/x/net v0.48.0

require golang.org/x/text v0.32.0 // indirect
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
golang.org/x/net v0.48.0 h1:zyQRTTrjc33Lhh0fBgT/H3oZq9WuvRR5gPC70xpDiQU=
golang.org/x/net v0.48.0/go.mod h1:+ndRgGjkh8FGtu1w1FGbEC31if4VrNVMuKTgcAAnQRY=
golang.org/x/text v0.32.0 h1:ZD01bjUt1FQ9WJ0ClOL5vxgxOI/sVCNgX1YtKwcY0mU=
golang.org/x/text v0.32.0/go.mod h1:o/rUWzghvpD5TXrTIBuJU77MTaN0ljMWE47kxGJQ7jY=
2 changes: 1 addition & 1 deletion internal/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"strings"

"github.com/gremllm/schema/internal/converter"
"github.com/gremllm/lib/internal/converter"
)

// responseWriter is a wrapper around http.ResponseWriter that captures the response
Expand Down