firebase-hosting-basics
Skill506 starsChanged 5 months agoApache-2.0View on GitHub
Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.
- Commits and pushes
6 other projects use a version of this, 5 of them edited.
Adopted by
Most recently taken up by
- renansouza12/mixtape-edited, first seen Oct 13, 2026
- rolandtolnay/llm-toolkitedited, first seen Oct 11, 2026
- baliadventours/Tripbone-SaaS-Productionedited, first seen Aug 5, 2026
- VolantTyler/Cognitive-Bridge-Antigravityedited, first seen Jun 5, 2026
- kumaran-is/claude-code-onboardingtheir own version, first seen May 25, 2026
- adrianhajdin/skildedited, first seen Apr 15, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 5
- adrianhajdin/skild★ 4189% same
- rolandtolnay/llm-toolkit★ 189% same
- VolantTyler/Cognitive-Bridge-Antigravity★ 189% same
- baliadventours/Tripbone-SaaS-Production★ 089% same
- renansouza12/mixtape-★ 089% same
Wrote their own version · 1
- kumaran-is/claude-code-onboarding★ 35same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- extension-to-functions-codebaseSkill
- firebase-ai-logic-basicsSkill
- firebase-analyticsSkill
- firebase-app-hosting-basicsSkill
- firebase-auth-basicsSkill
- firebase-basicsSkill
- firebase-crashlyticsSkill
- firebase-data-connectSkill
- firebase-firestoreSkill
- firebase-remote-config-basicsSkill
- firebase-security-rules-auditorSkill
- firestore-rules-creationSkill
- xcode-project-setupSkill
The file
Files
hosting-basics
This skill provides instructions and references for working with Firebase Hosting, a fast and secure hosting service for your web app, static and dynamic content, and microservices.
Overview
Firebase Hosting provides production-grade web content hosting for developers. With a single command, you can deploy web apps and serve both static and dynamic content to a global CDN (content delivery network).
Key Features:
- Fast Content Delivery: Files are cached on SSDs at CDN edges around the world.
- Secure by Default: Zero-configuration SSL is built-in.
- Preview Channels: View and test changes on temporary preview URLs before deploying live.
- GitHub Integration: Automate previews and deploys with GitHub Actions.
- Dynamic Content: Serve dynamic content and microservices using Cloud Functions or Cloud Run.
Hosting vs App Hosting
Choose Firebase Hosting if:
- You are deploying a static site (HTML/CSS/JS).
- You are deploying a simple SPA (React, Vue, etc. without SSR).
- You want full control over the build and deploy process via CLI.
Choose Firebase App Hosting if:
- You are using a supported full-stack framework like Next.js or Angular.
- You need Server-Side Rendering (SSR) or ISR.
- You want an automated "git push to deploy" workflow with zero configuration.
Instructions
1. Configuration (firebase.json)
For details on configuring Hosting behavior, including public directories, redirects, rewrites, and headers, see configuration.md.
2. Deploying
For instructions on deploying your site, using preview channels, and managing releases, see deploying.md.
3. Emulation
To test your app locally:
npx -y firebase-tools@latest emulators:start --only hostingThis serves your app at http://localhost:5000 by default.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

