Repository navigation
seo: sync sitemap with real routes + auto-deploy workflow - #10
Draft
jetforgedev wants to merge 1 commit into
Draft
jetforgedev wants to merge 1 commit into
jetforgedev wants to merge 1 commit into
Conversation
- sitemap: drop /token/[mint] (thin, opaque base58 URLs dilute crawl budget); add /creators/[wallet] pulled from the creators API so real, keyword-rich profile pages get indexed instead. - Add noindex to /token/[mint] and /r/[code] (portfolio already had it). - robots.txt: Disallow /token/, /portfolio/, /r/ so Googlebot doesn't crawl them at all. - Add .github/workflows/deploy.yml: SSH-based auto-deploy to the VPS on push to main, with a workflow_dispatch trigger and per-app targets. Requires repo secrets VPS_HOST, VPS_USER, VPS_SSH_KEY (VPS_PORT optional). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013M79BQfnQFQ5CpVxQKUpi7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two changes bundled together:
1. Sitemap / robots sync
The live sitemap listed a lot of routes that hurt more than they help, and missed some that would help. Cleanup:
/token/[mint]fromsitemap.ts. Token pages are thin, near-duplicate structures keyed by opaque base58 mint addresses. With thousands of them (many spam / rugs), they dilute crawl budget and lower perceived domain quality. Pump.fun, Moonshot etc. don't index individual token pages either./creators/[wallet]tositemap.ts— top 50 by volume, pulled fromGET /api/creators?metric=volume&limit=50. These are keyword-rich (display name, bio) and are real SEO wins.noindexmetadata to/token/[mint](followkept so link equity flows) and/r/[code](nofollow— pure redirect)./portfolio/[wallet]already hadnoindex,nofollow.robots.txt: addedDisallow: /token/,/portfolio/,/r/. Cleaner signal to Googlebot to skip crawling them entirely.2. Auto-deploy workflow
New
.github/workflows/deploy.yml:main(and manualworkflow_dispatchwithfrontend/backend/bothtargets).appleboy/ssh-action, doesgit reset --hard origin/main,npm ci+ build +pm2 restartfor the selected apps.concurrencygroup ensures deploys queue rather than race.Required repo secrets before this runs successfully (Settings → Secrets and variables → Actions):
VPS_HOST—187.77.143.74VPS_USER—rootVPS_SSH_KEY— a private SSH key whose public half is in/root/.ssh/authorized_keyson the VPSVPS_PORT— optional, defaults to 22Files changed
frontend/src/app/sitemap.tsfrontend/src/app/token/[mint]/page.tsxfrontend/src/app/r/[code]/page.tsxfrontend/public/robots.txt.github/workflows/deploy.ymlTest plan
curl -s https://jetforge.io/sitemap.xml | grep -c tokenshould be0;grep -c creators/should be > 1.curl -sI https://jetforge.io/token/<any-mint>— response HTML should include<meta name="robots" content="noindex,follow">.curl -s https://jetforge.io/robots.txtshows the three newDisallowlines.sitemap.xmlso Google recrawls immediately.🤖 Generated with Claude Code
https://claude.ai/code/session_013M79BQfnQFQ5CpVxQKUpi7
Generated by Claude Code