This is the OWASP BLT website running on Cloudflare Pages. It features the same design as the main BLT repository homepage but optimized for Cloudflare's edge network.
- Fast Performance: Runs on Cloudflare's global edge network
- Same Design: Matches the exact design of the BLT main homepage
- Modern Stack: Built with vanilla JavaScript, CSS, and HTML
- Responsive: Fully responsive design for all devices
- Static Site: Deployed as a static site on Cloudflare Pages
- Node.js (v16 or higher)
- npm or yarn
- Cloudflare account (for deployment)
- Clone the repository:
git clone https://github.com/OWASP-BLT/BLT-on-Cloudflare.git
cd BLT-on-Cloudflare- Install dependencies:
npm install- Build the static site:
npm run buildThis generates public/index.html from the template in src/index.js.
Run the development server:
npm run devThis will start a local development server at http://localhost:8787
Deploy to Cloudflare Pages using automatic Git integration:
- Connect your repository to Cloudflare Pages
- Set build command:
npm run deploy(ornpm run build) - Set build output directory:
public - Deploy!
See DEPLOYMENT.md for detailed deployment instructions.
BLT-on-Cloudflare/
├── src/
│ └── index.js # HTML template source
├── public/
│ ├── index.html # Generated HTML (from build)
│ ├── css/
│ │ └── styles.css # Styling
│ └── js/
│ └── main.js # JavaScript functionality
├── scripts/
│ └── build.js # Build script to generate HTML
├── wrangler.toml # Cloudflare Pages configuration
├── package.json # Project dependencies
└── README.md # This file
The project uses a build script to generate the static HTML:
- The HTML template is defined in
src/index.js - Running
npm run buildextracts the template and generatespublic/index.html - The
public/directory contains all files served by Cloudflare Pages
Note: If you modify src/index.js, remember to run npm run build to regenerate the HTML file.
The design is based on the official OWASP BLT homepage with:
- Clean, modern interface
- Red accent color (#dc2626) matching OWASP branding
- Responsive grid layouts
- Smooth animations and transitions
- Component showcase section
- Partner highlights
- Main BLT Repository: OWASP-BLT/BLT
- Live Site: owaspblt.org
- OWASP Project Page: OWASP Bug Logging Tool
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
- OWASP BLT Team
- OWASP Foundation for supporting the BLT project
- Cloudflare for providing Workers platform
- All contributors to the main BLT project