Skip to main content
Version: 1.0

Getting Started

This page covers running Too Much Tools from source. To run the ready-made Docker image instead, see Self-Hosting.

Prerequisites​

  • Node.js 20 or newer
  • pnpm 9 (the repository pins it with the packageManager field; enable it with corepack enable)

Install and run​

corepack enable          # makes pnpm available
pnpm install
pnpm dev # http://localhost:3000

Scripts​

ScriptWhat it does
pnpm devStart the dev server (hot reload).
pnpm buildProduction build (Next.js standalone output).
pnpm build:staticStatic export to ./out (no Node server needed).
pnpm startRun the production build.
pnpm testRun unit tests once (Vitest).
pnpm test:watchRun tests in watch mode.
pnpm test:e2eRun the Playwright end-to-end tests.
pnpm typechecktsc --noEmit.
pnpm lintESLint (flat config).
pnpm formatPrettier write.
pnpm create-toolScaffold a new tool.
pnpm generate:contentRegenerate the tool page content registry.

Before opening a pull request, everything should pass:

pnpm typecheck && pnpm lint && pnpm test && pnpm build

Project layout​

.
├─ docs/ # developer documentation
├─ public/ # static assets
├─ scripts/
│ └─ create-tool.mjs # tool scaffolder
├─ src/
│ ├─ app/ # Next.js App Router
│ │ ├─ layout.tsx # root layout, theme, metadata
│ │ ├─ page.tsx # homepage
│ │ ├─ not-found.tsx
│ │ └─ tools/[toolId]/ # dynamic tool routes (SSG)
│ ├─ components/
│ │ ├─ command-palette/ # Ctrl/⌘K palette
│ │ ├─ home/ # homepage browser + cards
│ │ ├─ layout/ # app header
│ │ ├─ theme/ # ThemeProvider + toggle
│ │ ├─ tool/ # ToolHeader, ToolEditor, SendToMenu, ConverterLayout…
│ │ └─ ui/ # Button, CopyButton, ExecutionBadge, FavoriteButton…
│ ├─ lib/
│ │ ├─ tool-sdk/ # ToolDefinition, ToolDataType, categories, defineTool
│ │ ├─ registry/ # registry access, search, Send-To compatibility
│ │ ├─ preferences/ # local-only preference store + hooks
│ │ ├─ transfer/ # in-memory Send-To payload buffer
│ │ ├─ worker/ # Web Worker helpers
│ │ └─ util/ # small utilities
│ └─ tools/
│ ├─ registry.ts # THE list of installed tools
│ └─ <tool-id>/ # one folder per tool
├─ next.config.ts
├─ eslint.config.mjs
└─ package.json

Toolchain notes​

  • Next.js 16 removed next lint, so the lint script uses the ESLint CLI directly.
  • Vitest 4 requires Vite 6+, so vite is an explicit dev dependency.

Next: read the Architecture overview.