Skip to content

Saad-Alali/commentmind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommentMind — Static Landing Site

Static landing page for CommentMind (commentmind.com) — an AI service that manages and replies to TikTok comments for Saudi e-commerce businesses. English, pure HTML/CSS/JS, hosted on GitHub Pages.

Project structure

index.html                                  Main landing page (English)
privacy.html                                Privacy Policy (English)
terms.html                                  Terms of Service (English)
auth/tiktok/callback/index.html             TikTok OAuth callback placeholder
auth/tiktok/account/callback/index.html     TikTok account OAuth callback placeholder
assets/css/style.css                        Shared stylesheet
CNAME                                       Custom domain for GitHub Pages
.nojekyll                                   Disables Jekyll processing on Pages

Before you deploy: activate the contact form

The early-access form in index.html posts to formsubmit.co (free, no signup) at help@commentmind.com. One-time setup:

  1. After deploying, submit the form once yourself — formsubmit.co will email an activation link to help@commentmind.com. Click it. All later submissions arrive in that inbox.
  2. (Optional, recommended) formsubmit.co's activation email also gives you a random alias string — swap the email in the FORM_ENDPOINT URL for that alias so the address isn't visible in the page source.

Step 1 — Create the GitHub repository and push the site

  1. Sign in to github.com and click New repository (the + icon, top right).

  2. Name it e.g. commentmind-site, set it to Public (required for GitHub Pages on the free plan), and click Create repository (don't add a README — we already have one).

  3. On your machine, from this folder, run:

    git init
    git add .
    git commit -m "CommentMind landing site"
    git branch -M main
    git remote add origin https://github.com/YOUR_USERNAME/commentmind-site.git
    git push -u origin main

    Replace YOUR_USERNAME with your GitHub username.

Step 2 — Enable GitHub Pages

  1. In the repository on GitHub, go to Settings → Pages (left sidebar).
  2. Under Build and deployment:
    • Source: Deploy from a branch
    • Branch: main, folder / (root) → click Save.
  3. Wait 1–2 minutes. The site becomes available at https://YOUR_USERNAME.github.io/commentmind-site/.

Step 3 — Add the custom domain (commentmind.com)

  1. Still in Settings → Pages, under Custom domain, type commentmind.com and click Save.
    • This works together with the CNAME file already in the repo (GitHub may commit/update it automatically — that's fine).
  2. Leave the page open; GitHub will show a DNS check that stays pending until Step 4 is done.
  3. After DNS propagates and the check passes, tick Enforce HTTPS (may take up to 24 h to become available while GitHub issues the TLS certificate).

Step 4 — DNS records in GoDaddy

  1. Sign in to godaddy.comMy Products → next to commentmind.com click DNS (or Manage DNS).

  2. Delete any existing A records for @ and any existing CNAME/forwarding record for www (e.g. GoDaddy's "Parked" record).

  3. Add four A records pointing the apex domain at GitHub Pages' servers:

    Type Name Value TTL
    A @ 185.199.108.153 Default
    A @ 185.199.109.153 Default
    A @ 185.199.110.153 Default
    A @ 185.199.111.153 Default
  4. Add one CNAME record for www:

    Type Name Value TTL
    CNAME www YOUR_USERNAME.github.io Default

    Replace YOUR_USERNAME with your GitHub username (note: it's the username domain, not the repository name, and no https://).

  5. Save. Propagation usually takes 10–60 minutes (up to 48 h worst case). You can check with:

    nslookup commentmind.com
    nslookup www.commentmind.com

    commentmind.com should resolve to the four 185.199.10x.153 addresses, and www should point at YOUR_USERNAME.github.io.

  6. Back in GitHub Settings → Pages, confirm the DNS check turns green, then enable Enforce HTTPS.

Done — the site is live at https://commentmind.com (with www.commentmind.com redirecting automatically).

Updating the site

Edit the files, then:

git add .
git commit -m "Describe your change"
git push

GitHub Pages redeploys automatically within a minute or two.

Notes

  • .nojekyll prevents GitHub Pages from running Jekyll, so all folders (including auth/) are served exactly as-is.
  • The OAuth callback URLs to register in the TikTok Developer Portal are:
    • https://commentmind.com/auth/tiktok/callback/
    • https://commentmind.com/auth/tiktok/account/callback/
  • Contact: help@commentmind.com

About

CommentMind - AI-powered TikTok comment management for Saudi e-commerce (commentmind.com)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors