Skip to main content

Tech Stack

The v2 platform is designed for performance and privacy, leveraging edge computing.

Runtime

Cloudflare Workers (Edge Serverless)

Language

TypeScript (Backend) & Vanilla JS (Frontend)

Deployment

Wrangler 4 (Cloudflare CLI)

Assets

Workers Assets (Static Hosting)

Routing

Routes are handled in src/worker.ts. The Worker serves both static assets (via Workers Assets binding) and dynamic routes.
RouteDescription
/Homepage
/aboutAbout page
/services/dnsDNS Service Page
/tool/gfuGoogle Form Unlocker
/tool/wifiWiFi Password Extractor
/blog/*Dynamic Blog Routing
/contributeContribute page
/termsTerms of Service
/privacyPrivacy Policy
/licenseLicense information

Shortcuts & Redirects

  • /bypass/services/dns
  • /dns/services/dns
  • /forms/tool/gfu
  • /wifi/tool/wifi
  • /discord → Discord Invite
  • /github → GitHub Profile

Development

Prerequisites

  • Node.js v18+
  • npm/yarn

Local Setup

1

Clone

Clone the repository to your local machine: bash git clone https://github.com/hapara-fail/website.git cd website
2

Install

Install dependencies: bash npm install
3

Run

Start the local development server: bash npm run dev This uses Wrangler to build the Worker and serve the site locally (typically http://127.0.0.1:8787).

Deployment

Deployments are managed via Wrangler.
npm run deploy
Requires authentication via wrangler login.