Site Builder Studioindex.pxl Deployment for Vercel, cPanel, Railway & HTML Hosts

Build a Complete index.pxl Website & Deploy Anywhere

Generate production-ready files (index.pxl, index.html, vercel.json / server.js, and .env) protected by PXL Vault V2 with encrypted server companion communication via ptaditech.xyz or vercel.app.

1. Configure Your Project

Choose a template, hosting platform, and protection level

// ====================================================================
// PXL PRODUCTION SITE BUNDLE (index.pxl) — VAULT V2 SEALED
// Copyright (c) 2026 Peter Joram — Tanzania | Beyond Code. Beyond Limits.
// Official CDN: https://ptaditech.xyz/pxl-runtime.js
// ====================================================================
pxl_vault "PXL_VAULT_CIPHER_V2:CA7DA7A2.wGdehuzpgllgV+YV5ENQ4KplZq/Gs0KLmv0ONtxJ0fBjV81LLOw7QVu3zcwdpPOoY6rnZJR7g3IY6G2fp1FOk4F5qmXjp0RS8YsJLKlMnyHiojHd5MdPm1dLSNdvtc9a03NYl4wK/t3Cidg/X9UMxQDVC22ehQR7Cn2aSe69JZ7nAP3wyfwFfoWwWKAh3otsoQkCSjg+Q8NxIjmBmV5U39YTEnHwKf84pqN4A6d3hlhepbn5+pC0NWatZ/2o8EkH1mgfawTRvn3Vy20Z9y/HtqR/567xqGcllDuoTdCh30e0BLPJSa57QFXk6zZNKutLwUjLpL8wb8bSTOWdGam4j3i9YJviedh5YpHmirLpoCemm3Q1ArnsxtYUU000RlMWpyC6OyZZfZ13uCMD4lHvcjrC/GTCAv2aQqTNbNPjQ0yW91SnVSLypY74zb1Bu9rgdxCASBnQqXTUT8CjGe0CPR4vBlX6gXUjyK/fb/nZPTlRfzQW4tGKYVjFvyWcucOmg+J2XJe0e1STdh8/neqx2huPxQAFivsiMQhddiVIEXra4cblMQUZS4qpZ3zdjGS7M8vFD5Y=" {
  shield = "peter-joram";
  security_level = "PXL-VAULT-V2";
  companion_api = "/api/pxl/s";
  tamper_protection = "MAXIMUM";
}
Live Preview — index.pxl
Copyright © Peter Joram
Full Procedures for Building & Deploying PXL Projects

Step-by-Step Guide: From Local Development to Vercel, cPanel & Railway

Step 1: Author index.pxl & Validate

Every PXL project starts with a .pxl source file (such as index.pxl). Type-check, lint, and format before deployment:

node bin/pxl.js check index.pxl
node bin/pxl.js lint index.pxl
node bin/pxl.js fmt index.pxl
node bin/pxl.js run index.pxl --allow-env --allow-net
Step 2: Embed in .html via Official Script Links

When deploying an HTML/CSS frontend to Vercel, Netlify, or GitHub Pages, load <script type="text/pxl" src="index.pxl"> alongside either official runtime link:

<div id="app"></div>
<script type="text/pxl" src="index.pxl"></script>
<script src="https://ptaditech.xyz/pxl-runtime.js"></script>
Step 3: MySQL Secrets (.env) & Companion /api/pxl/s

Never place credentials inside .html or pxl-runtime.js. Configure MYSQL_HOST, MYSQL_SSL (false|true|strict), PXL_DB_STEALTH_KEY, and PXL_COMPANION_SECRET in your platform Environment Variables.

Step 4: Deploy to Vercel & Other Platforms
  • Vercel: Place index.pxl, index.html, and vercel.json in the same project directory, then run vercel --prod or connect your GitHub repository.
  • cPanel (Node.js): Upload server.js + index.pxl, open Setup Node.js App, set Startup file to server.js, add .env variables, and click Restart.
  • Railway / Render: Set the start command to npm start and configure MYSQL_SSL=true.
Copyright & SEO Checklist: Generate sitemap.xml before building (npm run generate:sitemap) so Google indexes all routes and your official logo.
Copyright © 2026 Peter Joram
Production Readiness Checklist

Want to Test Live & Export Standalone HTML5 or Vault V2?

Open PXL Playground