Русский | English
Configuration generator for WARP with support for various deployment platforms.
- Alternatively, can be deployed via cli:
vercel deploy - Run locally:
vercel dev - Vercel Functions limitations (with Edge runtime)
- Alternatively, can be deployed via cli:
netlify deploy - Run locally:
netlify dev - Functions limitations
- Edge functions limitations
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Run production build
npm run start
# Linting
npm run lint├── app/ # Next.js App Router
│ ├── api/warp/route.ts # API endpoint for config generation
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Main page
├── components/ # React components
│ ├── icons/
│ │ └── custom-icons.tsx # Custom service icons
│ ├── ui/ # shadcn/ui components
│ ├── config-options.tsx # Configuration settings component
│ ├── theme-provider.tsx # Theme provider (dark/light mode)
│ └── warp-generator.tsx # Main generator component
├── data/ # Static data
│ ├── services-config.json # Available services configuration
│ └── ip-ranges.json # IP ranges for each service
├── functions/
│ └── api/warp.js # Cloudflare Workers API function
├── worker/
│ └── index.js # Cloudflare Worker entry point
├── hooks/ # React hooks
├── lib/ # Core business logic
│ ├── builder/
│ │ └── warp-config-builder.ts # WireGuard config builder
│ ├── cloudflare-api.ts # Cloudflare WARP API client
│ ├── crypto-utils.ts # Cryptographic utilities
│ ├── ip-ranges.ts # IP ranges manager
│ ├── qr-generator.ts # QR code generator
│ ├── types.ts # TypeScript types and interfaces
│ ├── utils.ts # Common utilities (cn, etc.)
│ ├── warp-service.ts # Main WARP generation service
│ └── warpConfig.ts # Legacy compatibility
├── public/ # Static files
├── types/
│ └── services.ts # Service types
├── utils/
│ └── services.ts # Services manager (ServicesManager)
├── .gitignore # Git ignore rules
├── components.json # shadcn/ui configuration
├── LICENSE # MIT license
├── netlify.toml # Netlify configuration
├── next.config.mjs # Next.js configuration
├── package.json # Project dependencies
├── postcss.config.mjs # PostCSS configuration
├── tailwind.config.ts # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
├── vercel.json # Vercel configuration
├── wrangler.jsonc # Cloudflare Workers configuration
├── README_ru.md # Project documentation in Russian
└── README.md # Project documentation in English
The project uses Next.js 14 with App Router and the following setup:
- TypeScript
- Tailwind CSS
- ESLint
- Radix UI components
- Automatic image optimization
The project is configured for static generation with server-side rendering capability for API routes.
| Platform | Support | Complexity | Deployment Time |
|---|---|---|---|
| Vercel | ✅ Full | 🟢 Low | ~3 minutes |
| Netlify | ✅ Full | 🟡 Medium | ~5 minutes |
| Cloudflare Workers | ✅ Full | 🟡 Medium | ~5 minutes |
MIT License
- Fork the repository
- Create a feature branch
- Make your changes
- Create a Pull Request
- Telegram Bot: t.me/warp_generator_bot
- Main Site: warp2.llimonix.pw
- Vercel Mirror: warply2.vercel.app
- Netlify Mirror: getwarp2.netlify.app
- Cloudflare Mirror: warp.llimonix.workers.dev
- Telegram Channel: ллимоникс </>