Logo search, if you are feeling lucky! Or just want to embed logos in another website without doing any work.
The site now runs as an Astro app deployed to Cloudflare Workers.
You need:
- Node.js and npm
- Wrangler via the project dependencies
Install dependencies and start local development:
npm install
npm run devYou can also use ./run.sh, which now delegates to npm run dev.
The Worker configuration lives in wrangler.jsonc.
This project does not use Astro sessions or a session KV binding.
For local development, create a .dev.vars file for bindings and secrets such as:
FORCE_HOST=
GKG_ACCESS_TOKEN=
GKG_LOCATION=global
GKG_PROJECT_ID=
LOGODEV_PUBLIC_KEY=
BUILD_COMMIT=For deployed environments, set sensitive values with Wrangler secrets:
wrangler secret put GKG_ACCESS_TOKEN
wrangler secret put GKG_PROJECT_IDDeploy with:
npm run deployI'm running this server for free at Cloudflare. You can use it for light non-commercial stuff.
If it starts costing me money, it will go away. Or worse.
Google Knowledge Graph
To get results from the Google Knowledge Graph, you need to enable the API and set the environment variables:
GKG_ACCESS_TOKEN: rungcloud auth print-access-tokenGKG_PROJECT_ID: configured in Google CloudGKG_LOCATION: always "global"