git clone https://github.com/projectdiscovery/interactsh-web.git
cd interactsh-web
npm install
# 或
yarn install
npm run dev
# 或
yarn dev
npm run build
npm start
# 或
yarn build
yarn start
使用 Docker 构建并运行:
docker build -t interactsh-web .
docker run -p 3000:3000 interactsh-web
在根目录创建 .env.local 文件以自定义配置:
src/
├── app/ # Next.js App Router pages
│ ├── page.tsx # Main application page
│ ├── layout.tsx # Root layout
│ ├── styles.scss # Page styles
│ ├── terms/ # Terms page
│ └── components/ # Page-specific components
├── components/ # Reusable UI components
│ ├── appLoader/
│ ├── customHost/
│ ├── detailedRequest/
│ ├── header/
│ ├── icons/ # SVG icon components
│ ├── notificationsPopup/
│ ├── requestsTable/
│ ├── resetPopup/
│ ├── tabSwitcher/
│ └── toggleBtn/
├── lib/ # Utility functions and types
│ ├── index.ts # Core functionality
│ ├── localStorage/ # Local storage management
│ ├── notify/ # Notification services
│ ├── registry.tsx # styled-components registry
│ └── types/ # TypeScript type definitions
├── helpers/ # Fallback loaders
├── styles/ # Global styles
└── theme.ts # Theme configuration
MIT 许可证 - 详见 LICENSE.md。
| 变量 | 描述 | 默认值 |
|---|
NEXT_PUBLIC_HOST | 默认 Interactsh 服务器主机 | oast.fun |
NEXT_PUBLIC_TOKEN | 身份验证令牌(可选) | - |
NEXT_PUBLIC_CIDL | 关联 ID 长度 | 20 |
NEXT_PUBLIC_CIDN | 关联 ID Nonce 长度 | 13 |