@tteg/tteg
v0.1.0
Published
Unsplash stock photos without registration or API keys
Maintainers
Readme
tteg
Unsplash stock photos without registration or API keys.
import { getImageUrl, getImages } from 'tteg';
// Get one image URL
const url = await getImageUrl('coffee shop', { orientation: 'landscape' });
// Get multiple images
const photos = await getImages('startup office', { count: 5 });
// → [{ url, thumb, title }, ...]
// Raw API response
const data = await search('mountain sunset', { count: 3 });No API key. No registration. No setup. Just install and use.
Free tier: 50 queries/day per IP.
Also available as
- CLI:
uv tool install tteg→tteg save "query" ./output - HTTP API:
curl "https://tteg-api-53227342417.asia-south1.run.app/search?q=coffee+shop" - MCP server:
uvx tteg-mcpfor Claude Code, Cursor, Codex - Embed widget:
<div data-tteg="coffee shop"></div><script src="https://tteg.kushalsm.com/embed.js"></script>
GitHub · Try it live · PyPI
