Source code for indieweb-glue.
The information below may be outdated. For the latest version, check the repository.
A service that presents IndieWeb data in a non-CORS-restricted manner for embedding.
master branch code is running as a public service.
/api/hcard?url=URL returns a JSON containing some information found in the representative h-card on the page referenced by URL (if indeed there is a representative h-card).
/api/photo?url=URL returns the file referenced in the
u-photo property of the abovementioned h-card.
/api/pageinfo?url=URL returns a JSON containing some information about the page referenced by URL.
/api/opengraph?url=URL returns a JSON containing some (currently very minimal) information from the OpenGraph metadata that the page referenced by URL contains.
go build and run on your own server, if you wish. Settings are controlled through environment variables:
$URL- the URL of the instance, defaults to
$PORT- the port to run on, defaults to
$MEMCACHIER_PASSWORD- credentials to use
memcached; if not supplied, the in-memory cache is used.