Files
RepoFoundry/howto/img/gitea-2-applications.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.5 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 470" width="880" height="470" 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="454" 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="470" rx="0" fill="#ffffff" /><rect x="8" y="8" width="864" height="454" 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://git.tirsystem.com/user/settings</text><rect x="8" y="44" width="864" height="46" rx="0" fill="#f8f9fa" /><line x1="8" y1="90" x2="872" y2="90" stroke="#d8dde3" stroke-width="1"/><rect x="24" y="56" width="22" height="22" rx="5" fill="#21ba45" /><text x="35" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#fff" text-anchor="middle">G</text><text x="58" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="16" font-weight="700" fill="#1f2328" text-anchor="start">Gitea</text><text x="140" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Dashboard</text><text x="228.60000000000002" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Issues</text><text x="295.0" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Pull requests</text><text x="413.2" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Milestones</text><text x="509.2" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">Explore</text><circle cx="760" cy="67" r="12" fill="none" stroke="#9aa4af" stroke-width="1.5"/><text x="760" y="72" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="16" font-weight="600" fill="#6b7480" text-anchor="middle">+</text><circle cx="806" cy="67" r="13" fill="#9aa4af"/><circle cx="806" cy="64.14" r="4.68" fill="#fff"/><path d="M797.94 77.14 Q806 67.65 814.06 77.14 Z" fill="#fff"/><polygon points="822,66.0 830,66.0 826,71.0" fill="#59636e"/><rect x="30" y="112" width="210" height="324" rx="8" fill="#fff" stroke="#d1d9e0" stroke-width="1" /><text x="46" y="135" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Profile</text><line x1="30" y1="148" x2="240" y2="148" stroke="#e6eaef" stroke-width="1"/><text x="46" y="171" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Account</text><line x1="30" y1="184" x2="240" y2="184" stroke="#e6eaef" stroke-width="1"/><text x="46" y="207" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Appearance</text><line x1="30" y1="220" x2="240" y2="220" stroke="#e6eaef" stroke-width="1"/><text x="46" y="243" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Security</text><line x1="30" y1="256" x2="240" y2="256" stroke="#e6eaef" stroke-width="1"/><rect x="31" y="257" width="208" height="34" rx="0" fill="#e8f0fb" /><text x="46" y="279" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="700" fill="#1f2328" text-anchor="start">Applications</text><line x1="30" y1="292" x2="240" y2="292" stroke="#e6eaef" stroke-width="1"/><text x="46" y="315" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">SSH / GPG Keys</text><line x1="30" y1="328" x2="240" y2="328" stroke="#e6eaef" stroke-width="1"/><text x="46" y="351" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Actions</text><line x1="30" y1="364" x2="240" y2="364" stroke="#e6eaef" stroke-width="1"/><text x="46" y="387" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Organizations</text><line x1="30" y1="400" x2="240" y2="400" stroke="#e6eaef" stroke-width="1"/><text x="46" y="423" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14" font-weight="400" fill="#59636e" text-anchor="start">Repositories</text><rect x="26" y="254" width="218" height="40" rx="8" fill="rgba(209,36,47,0.07)" stroke="#d1242f" stroke-width="3" /><circle cx="22" cy="274" r="13" fill="#d1242f" stroke="#fff" stroke-width="2"/><text x="22" y="279" 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="290" y="134" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="18" font-weight="700" fill="#1f2328" text-anchor="start">Manage Access Tokens</text><line x1="290" y1="146" x2="850" y2="146" stroke="#d1d9e0" stroke-width="1"/><text x="290" y="172" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="13" font-weight="400" fill="#59636e" text-anchor="start">These tokens grant access to your account using the Gitea API.</text><rect x="290" y="190" width="560" height="56" rx="8" fill="#f6f8fa" stroke="#d1d9e0" stroke-width="1" /><rect x="306" y="206" width="150" height="10" rx="5.0" fill="#e6eaef" /><rect x="306" y="224" width="260" height="10" rx="5.0" fill="#e6eaef" /><text x="290" y="280" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="16" font-weight="700" fill="#1f2328" text-anchor="start">Generate New Token</text><rect x="290" y="296" width="270" height="32" rx="6" fill="#fff" stroke="#aab3bd" stroke-width="1" /><rect x="304" y="308" width="90" height="10" rx="5.0" fill="#e6eaef" /><text x="290" y="378" font-family="'Segoe UI', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="16" font-weight="700" fill="#59636e" text-anchor="start">Manage OAuth2 Applications</text></g></svg>