This scaffold provides a working VS Code extension shell named QuickHost Pro.
Features included:
- Sidebar webview: "Deploy to Free Hosting"
- Detects project type (static / React / Next)
- Runs build if needed, then deploys via
npxwrappers:npx netlify-cli deployfor Netlifynpx vercelfor Vercelnpx gh-pagesfor GitHub Pages
- Shows live URL, Copy Link button, Redeploy action
- Stores deployment history in globalState
How to use
- Open this folder in VS Code.
- Run
npm installto get dev tools (optional for development). - Press F5 to run the extension in Extension Development Host.
Commands
QuickHost: Set Netlify Token— store your Netlify Personal Access Token securely in VS Code SecretStorage.QuickHost: Set Vercel Token— store your Vercel token.QuickHost: Set GitHub Token— store your GitHub token for pages deployments (optional).QuickHost: Show Deployment History— view and copy previous deployment URLs.
Token setup is optional if the CLIs prompt you for login; storing tokens enables unattended deployments from the extension.
Notes
- For Netlify/Vercel deployments, it's easiest to set tokens in workspace settings
quickhost.netlify_tokenorquickhost.vercel_tokenor provide sessions when prompted by the CLIs. - This scaffold uses
npxto run hosting CLIs so no global install is required.