qtpi

command module
v0.0.0-...-fd467e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 18 Imported by: 0

README

QtPi

Text 1-833-659-1332 for cute animal photos and fun facts about pi.

Scan the QR code below (or click this link) to add the QtPi contact to your device.

Visit me online at https://qtpi.io.

Running locally

PORT=8080 \
ANTHROPIC_API_KEY=... \
UNSPLASH_ACCESS_KEY=... \
TWILIO_AUTH_TOKEN=... \
go run .

All four environment variables are required; the server exits at startup if any is missing. Captions and photo search terms are generated with a single Claude (claude-opus-4-8) structured-output call; photos come from the Unsplash API — the app searches 15 candidates and picks the one whose description best matches the requested animal. GET /healthz returns 200 for uptime checks.

Note: deployments previously used OPENAI_AUTH_TOKEN (replaced by ANTHROPIC_API_KEY) and PEXELS_AUTH_TOKEN (replaced by UNSPLASH_ACCESS_KEY).

QtPi QR code

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL