diff --git a/gh-cli/github-app-manifest-form.html b/gh-cli/github-app-manifest-form.html new file mode 100644 index 0000000..fc45977 --- /dev/null +++ b/gh-cli/github-app-manifest-form.html @@ -0,0 +1,155 @@ + + +
+Before using this form, you need to serve this HTML file over HTTP. Run one of these commands in the directory containing this file:
+Then open: http://localhost:8000/github-app-manifest-form.html
+Once you get the code back from GitHub, you can use it with the conversion script:
+Or manually with gh CLI:
+Before using this form, you need to serve this HTML file over HTTP. Run one of these commands in the directory containing this file:
+Then open: http://localhost:8000/github-app-manifest-form.html
+Once you get the code back from GitHub, you can use it with the conversion script:
+Or manually with gh CLI:
+"
+echo ""
+echo "The form now includes local server setup instructions and automatic code handling!"
diff --git a/scripts/github-app-manifest-flow/github-app-manifest-form-example.html b/scripts/github-app-manifest-flow/github-app-manifest-form-example.html
new file mode 100644
index 0000000..2151e9f
--- /dev/null
+++ b/scripts/github-app-manifest-flow/github-app-manifest-form-example.html
@@ -0,0 +1,160 @@
+
+
+
+
+ GitHub App Manifest Test
+
+
+
+
+ GitHub App Manifest Test
+
+
+ What happens next:
+
+ - Start a local server (see instructions below)
+ - Click "Create GitHub App" below
+ - GitHub will redirect you to review and create the app
+ - After creation, GitHub redirects back with a temporary code
+ - The code will be automatically displayed and you can copy it
+
+
+
+
+ 🚀 How to start local server (click to expand)
+
+ Before using this form, you need to serve this HTML file over HTTP. Run one of these commands in the directory containing this file:
+
+# Python 3
+python3 -m http.server 8000
+
+# Python 2
+python -m SimpleHTTPServer 8000
+
+# Node.js (if you have npx)
+npx http-server -p 8000
+
+# PHP
+php -S localhost:8000
+
+ Then open: http://localhost:8000/github-app-manifest-form.html
+
+
+
+
+ ⚠️ Important Notes (click to expand)
+
+
+
+ - This will create a real GitHub App! Make sure you understand what you're doing.
+ - The app will be created for organization 'joshjohanning-org'.
+ - You can delete the app later from GitHub's settings if needed.
+ - Make sure you're accessing this page via http://localhost:8000, not file://
+
+
+
+
+
+
+
+
+
+
+
+ 📋 How to use the manifest code (click to expand)
+
+ Once you get the code back from GitHub, you can use it with the conversion script:
+
+./create-github-app-from-manifest.sh YOUR_CODE_HERE
+
+ Or manually with gh CLI:
+
+gh api \
+ --method POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ /app-manifests/YOUR_CODE_HERE/conversions
+
+
+
+
+
+
+
+