Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

Repository files navigation

BotID Starter Repo

This is a minimal Next.js app that uses Vercel BotID to protect a route from advanced bots.

Getting Started

Install the dependencies:

npm install

Run the development server:

npm run dev

Open http://localhost:3000 with your browser notice:

  • layout.tsx containing <BotIdClient> protecting `/api/generate
  • api/generate/route.ts calling checkBotId and using the result to block the user
  • generate-button.tsx fetching the protected route and showing the result on the page

Using BotID

For up-to-date information, please check out the BotID documentation.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Next.js starter template for using Vercel BotID

Resources

Stars

26 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages