CLI application that generates a new Unkey API key and writes it to a file.
CLI login example built with Unkey
This template involves a deployed Next.js web app in examples/nextjs
and a command-line script in /src/index.ts.
. To run through the auth flow locally:
pnpm install
at the rootweb
pnpm install
pnpm dev
to run the web appcd ..
to navigate back to the rootpnpm dev login
to run the CLI script in dev modeSee the diagram below:
npx @unkey/cli-demo login
does the following:
.unkey
Vercel has a CLI for deploying web applications (as well as a their more frequently used web app)
If you want to deploy your frontend with their CLI, you:
vercel login
to log in to the web app and set a local credential in .vercel
vercel deploy
which takes local files and uploads them to the Vercel CI/CD to be deployed.This is a simplified example the kind of tool that you could build with this template.
2500 verifications and 100K successful rate‑limited requests per month. No CC required.