MCPcopy
hub / github.com/DMarby/picsum-photos

github.com/DMarby/picsum-photos @main sqlite

repository ↗ · DeepWiki ↗
222 symbols 852 edges 61 files 128 documented · 58%
README

Lorem Picsum

Lorem Ipsum... but for photos.
Lorem Picsum is a service providing easy to use, stylish placeholders.

Sponsors

Proudly powered by Fastly

License

MIT. See LICENSE

Extension points exported contracts — how you extend this code

Processor (Interface)
Processor is an image processor [2 implementers]
internal/image/image.go
RouteMatcher (Interface)
RouteMatcher matches routes [1 implementers]
internal/handler/route_matcher.go
Provider (Interface)
Provider is an interface for getting and setting cached objects
internal/cache/cache.go
Provider (Interface)
Provider is an interface for listing and retrieving images
internal/database/database.go
Provider (Interface)
Provider is an interface for retrieving images
internal/storage/storage.go
Handler (FuncType)
Handler wraps a http handler and deals with responding to errors
internal/handler/handler.go
LoaderFunc (FuncType)
LoaderFunc is a function for loading data into a cache
internal/cache/cache.go

Core symbols most depended-on inside this repo

Run
called by 40
internal/queue/queue.go
Get
called by 35
internal/storage/storage.go
Set
called by 31
internal/cache/cache.go
InternalServerError
called by 16
internal/handler/handler.go
ServeHTTP
called by 12
internal/handler/handler.go
logError
called by 10
internal/api/api.go
SaveToJpegBuffer
called by 9
internal/vips/vips.go
SaveToWebPBuffer
called by 9
internal/vips/vips.go

Shape

Function 107
Method 78
Struct 28
Interface 5
FuncType 2
TypeAlias 2

Languages

Go98%
TypeScript2%

Modules by API surface

internal/vips/vips.go14 symbols
internal/queue/queue.go8 symbols
internal/database/file/file.go8 symbols
internal/api/list.go8 symbols
internal/imageapi/api_test.go7 symbols
internal/image/vips/image.go7 symbols
internal/database/database.go7 symbols
internal/cache/cache.go7 symbols
internal/vips/vips_test.go6 symbols
internal/params/params.go6 symbols
internal/imageapi/image.go6 symbols
internal/health/health.go6 symbols

Dependencies from manifests, versioned

dario.cat/mergov1.0.2 · 1×
github.com/andybalholm/brotliv1.2.0 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/bep/godartsass/v2v2.5.0 · 1×
github.com/bep/golibsassv1.2.0 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/felixge/httpsnoopv1.0.4 · 1×
github.com/fsnotify/fsnotifyv1.9.0 · 1×
github.com/go-json-experiment/jsonv0.0.0-2025102717094 · 1×

For agents

$ claude mcp add picsum-photos \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact