← Back to Home

xatspace Template Code

Publish your xatspace with GitHub Pages

  1. Sign in to GitHub. Create a new repository (e.g., my-xatspace). Keep it Public.
  2. Add files: Click “Add file” → “Upload files”. Upload these three files from this template: index.html, styles.css, script.js.
  3. Commit changes at the bottom of the page.
  4. Enable Pages: Go to Settings → Pages. Under “Build and deployment” choose “Deploy from branch”. Select branch main and folder /root, then Save.
  5. Wait ~1–2 minutes. A green success will show your site URL. Click it to open your xatspace.
  6. Multiple templates: create a folder per template (e.g., neon/, retro/) and place that template’s three files inside. Access them at .../neon/, .../retro/.
  7. Editing later: open files on GitHub and click the pencil to edit. Commit to redeploy.
  8. Custom domain (optional): In Pages, add your domain. Create a CNAME at your DNS pointing to username.github.io.
Tip: Copy each section below into its matching file name. Don’t paste CSS/JS into HTML unless you want a single-file version.

HTML

index.html
Loading...

CSS

styles.css
Loading...

JS

script.js
Loading...