THUMOS ADMIN
THUMOS ADMIN
Overview Members Squads Cycles Courses Manual
Quick Actions
Open Editor Stripe Dashboard
All Members
NameEmailPlanSquadStreakRankStatusActions
Squads
Cycles
#StartEndStatusWinnerActions

System Manual

How It All Works

THUMOS runs on one Cloudflare Worker (thumos-api) + one D1 database (thumos-db). Every page, bot, and admin tool reads from and writes to the same database. There is one source of truth.

The Member Journey

  1. Discovery — they land on thumos.academy
  2. Payment — checkout sends them to Stripe ($1,997 or 3x$699). OR they use an invite link (free)
  3. Account Created — Stripe webhook fires → Worker creates user in D1 → welcome email sent with login credentials
  4. Login — they log in at thumos.academy/login with email + password from their welcome email
  5. Onboarding — 3 steps: sign the commitment, set milestones with an AI prompt (body/women/money), write first gratitude post
  6. Telegram Link — "Join Squad" button opens a bot DM that auto-links their Telegram to their account
  7. Join Groups — they join their squad group + THUMOS main group on Telegram
  8. Daily Life — every weekday they post Action: what I did + Grateful: one thing in their squad. Bot detects it, records it, shows their streak
  9. Courses — watch videos on thumos.academy/courses, mark lessons complete, progress tracked
  10. Cycle End — after 30 days, declare milestones hit/miss. Winning squad gets a private call with Sam

Post Detection

The Telegram bot watches for messages that have Action: AND Grateful: at the start of a line. Both required. One post per weekday — duplicates silently ignored. Weekend posts are recorded but don't count toward score.

Streak = consecutive weekdays posted. Weekends don't break it. Miss a weekday → streak resets to 0.

Scoring System

Personal score per cycle = (posts ÷ weekdays × 50) + (milestones hit ÷ 3 × 50) = max 100 per cycle

Squad score = same formula but aggregated across all squad members, percentage-based

Cumulative score persists across cycles and determines rank.

RankPointsTypical Timeline
Initiate0-1990-3 months
Journeyman200-4993-6 months
Adept500+8-12 months

Cycles

~30 days per cycle. Leaderboard resets each cycle. Rank persists forever.

Start a cycle → resets all squad scores, creates new cycle record. Old cycle marked "ended".

End a cycle → pick winning squad. They get a private debrief with Sam.

New members mid-cycle: excluded from squad score that cycle.

Milestones

3 per user per cycle: Body, Women, Money. Set during onboarding or cycle start.

Visible to squad immediately. Cannot be changed once submitted.

At cycle end: declare hit or miss. Early completion allows optional new milestone (no extra points).

Automated Systems

SystemWhenWhat
Stripe webhookOn paymentCreates user + sends welcome email
Post detectionEvery message in squadChecks format → records post → responds with 🔥
8pm reminderEvery hour (checks user timezone)If it's 8pm for a user and they haven't posted → bot messages squad
Score recalc5:00 UTC dailyRecalculates all squad scores
Bot auto-linkUser taps deep linkLinks Telegram ID to THUMOS account
Group welcomeUser joins squadBot sends welcome message with post format

Invite Codes

Free members use invite links: thumos.academy/invite?code=FORGEDAY1

CodeSquadFor
FORGEDAY1Squadron LambdaOG fight camp / BDE members
FORGETHETASquadron ThetaSecond group

To add new codes: edit INVITE_CODES in worker.js and redeploy.

Telegram Groups

GroupPurposeInvite
THUMOSAll members + Sam. Topics enabled.Link
Squadron Lambda (Λ)First squadLink
Squadron Theta (Θ)Second squadLink

Bot: @ThumosAI

Infrastructure

ComponentServiceURL
APICloudflare Workerthumos-api.q-2f4.workers.dev
DatabaseCloudflare D1thumos-db
Main siteCloudflare Pagesthumos.academy
EditorCloudflare Pageseditor.thumos.academy
AdminCloudflare Pagesadmin.thumos.academy
VideosCloudflare StreamStream IDs in D1
PaymentsStripeProduct: prod_UILptFYD8wxzKO
EmailResend[email protected]
BotTelegram@ThumosAI

7-Day Guarantee

Not a trial. Full access from day 1. If they do the work (daily posts, course engagement) and it's not for them after 7 days, full refund. Manual process — review and process through Stripe dashboard.

Deploy Commands

# Deploy API (Worker)
cd selene/markets/thumos/deploy_api && npx wrangler deploy

# Deploy main site
npx wrangler pages deploy "selene/markets/thumos/deploy_main" --project-name=thumos-academy --commit-dirty=true

# Deploy editor
npx wrangler pages deploy "selene/markets/thumos/deploy_editor" --project-name=thumos-editor --commit-dirty=true

# Deploy admin
npx wrangler pages deploy "selene/markets/thumos/deploy_admin" --project-name=thumos-admin --commit-dirty=true

# Or: git push (auto-deploys main site)
Course Health
CourseLessonsRed FlagsOrangeResolved