Files
RepoFoundry/howto/img/github-3-tokens-classic.svg
T
Tirsvad 08d0371da5 Add a step-by-step how-to for the Gitea and GitHub tokens
howto/create-access-tokens.md walks through creating the Gitea access token
and the GitHub classic personal access token that RepoFoundry needs, with nine
illustrations in howto/img/, how to hand the tokens to the script, how to keep
them safe and what the script's token errors mean.

The README's Token permissions section now links to it.
2026-10-08 12:54:46 +08:00

2 lines
7.1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 440" width="880" height="440" role="img" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif"><defs><clipPath id="win"><rect x="8" y="8" width="864" height="424" rx="10"/></clipPath><filter id="sh" x="-10%" y="-10%" width="130%" height="140%"><feDropShadow dx="0" dy="3" stdDeviation="4" flood-color="#1f2328" flood-opacity="0.18"/></filter></defs><rect x="0" y="0" width="880" height="440" rx="0" fill="#ffffff" /><rect x="8" y="8" width="864" height="424" rx="10" fill="#fff" stroke="#aab3bd" stroke-width="1" /><g clip-path="url(#win)"><rect x="8" y="8" width="864" height="36" rx="0" fill="#e8ecf1" /><line x1="8" y1="44" x2="872" y2="44" stroke="#cfd6de" stroke-width="1"/><circle cx="28" cy="26" r="5.5" fill="#ff5f57"/><circle cx="46" cy="26" r="5.5" fill="#febc2e"/><circle cx="64" cy="26" r="5.5" fill="#28c840"/><rect x="86" y="14" width="764" height="24" rx="12" fill="#fff" stroke="#cfd6de" stroke-width="1" /><path d="M104 22.5 v-2 a3 3 0 0 1 6 0 v2" fill="none" stroke="#6b7480" stroke-width="1.4"/><rect x="102" y="22" width="10" height="8" rx="1.5" fill="#6b7480" /><text x="120" y="30.5" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#3b434b" text-anchor="start">https://github.com/settings/apps</text><rect x="8" y="44" width="864" height="56" rx="0" fill="#f6f8fa" /><line x1="8" y1="100" x2="872" y2="100" stroke="#d1d9e0" stroke-width="1"/><circle cx="40" cy="72" r="14" fill="#1f2328"/><text x="40" y="77" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="11" font-weight="700" fill="#fff" text-anchor="middle">GH</text><rect x="76" y="58" width="250" height="28" rx="6" fill="#fff" stroke="#aab3bd" stroke-width="1" /><text x="90" y="77" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Type / to search</text><rect x="760" y="58" width="34" height="28" rx="6" fill="#fff" stroke="#aab3bd" stroke-width="1" /><text x="777" y="77" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="16" font-weight="600" fill="#59636e" text-anchor="middle">+</text><circle cx="826" cy="72" r="15" fill="#9aa4af"/><circle cx="826" cy="68.7" r="5.3999999999999995" fill="#fff"/><path d="M816.7 83.7 Q826 72.75 835.3 83.7 Z" fill="#fff"/><text x="40" y="132" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="20" font-weight="700" fill="#1f2328" text-anchor="start">Developer settings</text><text x="48" y="170" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">GitHub Apps</text><text x="48" y="200" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">OAuth Apps</text><text x="48" y="230" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#1f2328" text-anchor="start">Personal access tokens</text><polygon points="231,223.5 241,223.5 236,229.5" fill="#1f2328"/><text x="68" y="260" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Fine-grained tokens</text><rect x="60" y="270" width="190" height="30" rx="6" fill="#ddf4ff" /><text x="68" y="290" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#1f2328" text-anchor="start">Tokens (classic)</text><rect x="56" y="266" width="198" height="38" rx="8" fill="rgba(209,36,47,0.07)" stroke="#d1242f" stroke-width="3" /><circle cx="54" cy="266" r="13" fill="#d1242f" stroke="#fff" stroke-width="2"/><text x="54" y="271" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#fff" text-anchor="middle">1</text><text x="270" y="290" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#d1242f" text-anchor="start">Open Tokens (classic)</text><text x="310" y="170" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="20" font-weight="600" fill="#1f2328" text-anchor="start">Personal access tokens (classic)</text><rect x="646" y="148" width="200" height="34" rx="6" fill="#1f883d" /><text x="746.0" y="169.55" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="600" fill="#fff" text-anchor="middle">Generate new token</text><polygon points="819.5,162.75 828.5,162.75 824,168.25" fill="#fff"/><rect x="560" y="190" width="286" height="112" rx="8" fill="#fff" stroke="#d1d9e0" stroke-width="1" filter="url(#sh)"/><text x="576" y="216" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="600" fill="#1f2328" text-anchor="start">Generate new token</text><text x="576" y="234" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="12" font-weight="400" fill="#59636e" text-anchor="start">Fine-grained, repo-scoped</text><line x1="560" y1="246" x2="846" y2="246" stroke="#d1d9e0" stroke-width="1"/><rect x="564" y="252" width="278" height="46" rx="6" fill="#ddf4ff" /><text x="576" y="272" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#1f2328" text-anchor="start">Generate new token (classic)</text><text x="576" y="290" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="12" font-weight="400" fill="#59636e" text-anchor="start">For general use</text><rect x="562" y="250" width="282" height="50" rx="6" fill="rgba(209,36,47,0.07)" stroke="#d1242f" stroke-width="3" /><circle cx="556" cy="262" r="13" fill="#d1242f" stroke="#fff" stroke-width="2"/><text x="556" y="267" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#fff" text-anchor="middle">3</text><rect x="642" y="144" width="208" height="42" rx="8" fill="rgba(209,36,47,0.07)" stroke="#d1242f" stroke-width="3" /><circle cx="642" cy="146" r="13" fill="#d1242f" stroke="#fff" stroke-width="2"/><text x="642" y="151" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#fff" text-anchor="middle">2</text><text x="310" y="340" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Tokens you have generated can be used to access the GitHub API.</text><rect x="310" y="358" width="536" height="50" rx="8" fill="#f6f8fa" stroke="#d1d9e0" stroke-width="1" /><rect x="326" y="376" width="160" height="10" rx="5.0" fill="#e6eaef" /></g></svg>