supadocs
A Next.js template for technical docs with AI chat, out of the box.
File Explorer
- route.ts
- route.ts
- actions.ts
- layout.tsx
- opengraph-image.png
- twitter-image.png
- copy-doc-button.tsx
- mdx-components.tsx
- page.tsx
- layout.tsx
- favicon.ico
- header.tsx
- layout.tsx
- page.tsx
- actions.tsx
- code-block-copy-button.tsx
- code-block.tsx
- conversation.tsx
- message.tsx
- prompt-input.tsx
- reasoning.tsx
- response.tsx
- app-sidebar.tsx
- chat-modal.tsx
- chat.tsx
- data-stream-handler.tsx
- data-stream-provider.tsx
- greeting.tsx
- icons.tsx
- message-actions.tsx
- message.tsx
- messages.tsx
- mode-toggle.tsx
- multimodal-input.tsx
- providers.tsx
- theme-provider.tsx
- toast.tsx
- how-to-use-supadocs.mdx
- index.mdx
- use-messages.tsx
- use-scroll-to-bottom.tsx
- docs.ts
- errors.ts
- shiki.ts
- types.ts
- utils.ts
- components.json
- eslint.config.js
- next-env.d.ts
- next.config.mjs
- package.json
- postcss.config.mjs
- tsconfig.json
- chunk.ts
- embeddings.ts
- index.ts
- utils.ts
- eslint.config.js
- package.json
- tsconfig.json
- base.js
- next.js
- package.json
- react-internal.js
- README.md
- base.json
- nextjs.json
- package.json
- react-library.json
- README.md
- .gitkeep
- alert-dialog.tsx
- avatar.tsx
- button-group.tsx
- button.tsx
- collapsible.tsx
- dialog.tsx
- dropdown-menu.tsx
- input.tsx
- select.tsx
- separator.tsx
- sheet.tsx
- sidebar.tsx
- skeleton.tsx
- textarea.tsx
- tooltip.tsx
- .gitkeep
- use-mobile.ts
- utils.ts
- globals.css
- components.json
- eslint.config.js
- package.json
- postcss.config.mjs
- tsconfig.json
- tsconfig.lint.json
- 20251022043454_init.sql
- .gitignore
- config.toml
- .env.example
- .eslintrc.js
- .gitignore
- .npmrc
- AGENTS.md
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- turbo.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pnpm
View Details ▼
pnpm
Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.
pnpm init
Create a `package.json` file:
pnpm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
pnpm add {{module_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
supabase
View Details ▼
supabase
Develop, deploy, and manage Supabase projects locally and on the cloud.
supabase login
Log in to Supabase using an access token:
supabase init
Initialize a new Supabase project in the current directory:
supabase start
Start the local Supabase development stack:
copy
View Details ▼
copy
Copy files.
COPY {{path/to/source_file}} {{path/to/destination_file}}
Copy a file:
