firebase-hosting-basics

Configure and deploy Firebase Hosting for static web apps and SPAs.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/minh1609/hmnm --skill firebase-hosting-basics-minh1609
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-hosting-basics
Source: https://github.com/minh1609/hmnm/tree/main/.agents/skills/firebase-hosting-basics
Command: npx skills add https://github.com/minh1609/hmnm --skill firebase-hosting-basics-minh1609

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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.

Core Features & Use Cases

  • 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.

Quick Start

Initialize hosting for your project and deploy your static site using the Firebase CLI.

Frequently Asked Questions about firebase-hosting-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a static site or SPA to Firebase Hosting?

Deploy a static site or SPA to Firebase Hosting by initializing your project with the Firebase CLI, configuring the firebase.json file, and running the deploy command to serve your web app globally over a secure CDN.

Can I test changes on a preview URL before deploying live to Firebase Hosting?

Yes, Firebase Hosting provides preview channels that generate temporary URLs. You can view and test changes on these preview URLs before promoting them to your live production environment.

How does Firebase Hosting handle SSL and content delivery for web apps?

Firebase Hosting provides zero-configuration SSL by default and caches files on SSDs at CDN edges around the world, ensuring fast and secure content delivery for your web app.

Does Firebase Hosting support dynamic content and microservices?

Firebase Hosting serves dynamic content and microservices by integrating with Cloud Functions or Cloud Run, allowing you to host static frontend files alongside dynamic backend APIs.

Can I automate Firebase Hosting deployments with GitHub?

Yes, you can automate Firebase Hosting deployments by integrating with GitHub Actions to automatically generate preview URLs for pull requests and deploy changes to live channels upon merge.

How do I configure custom rewrites and local emulation for Firebase Hosting?

Configure custom rewrites in the firebase.json hosting settings to route requests appropriately, and use the Firebase CLI local emulation feature to test your hosting configuration locally before deploying.