When comparing Bitbucket Pages vs Surge, the Slant community recommends Bitbucket Pages for most people. In the question“What are the best website hosting providers?” Bitbucket Pages is ranked 9th while Surge is ranked 15th. The most important reason people chose Bitbucket Pages is:
BitBucket allows users to have free private repositories as long as it's a team smaller than 5 that is working on a project. In other words, BitBucket charges per team member and not per repository member. This feature may make BitBucket, even BitBucket pages better than for example GitHub for some, since the static page's source code won't be open source, but it can still be viewed on the browser, so for static page hosting per se it is not a big deal.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Free private repositories
BitBucket allows users to have free private repositories as long as it's a team smaller than 5 that is working on a project. In other words, BitBucket charges per team member and not per repository member. This feature may make BitBucket, even BitBucket pages better than for example GitHub for some, since the static page's source code won't be open source, but it can still be viewed on the browser, so for static page hosting per se it is not a big deal.
Pro Multiple authentication methods
BitBucket supports GitHub, Twitter, Facebook, OpenID, Google and even GitHub authentication.
Pro Free Tier
Unlimited projects, deployments, and collaborators in free tier which also includes basic SSL. Pro options for those who need it cost $13/month (or all you can eat top tier at $30/mo) which gives you auto-provisioning SSL certificates on custom domains.
Pro Automatic Clean URLS
/page resolves /page.html
Pro Custom 404.html files
Catch-all 200.html files.
Pro Six Keystrokes to publish site
Type surge and hit enter in your project directory to deploy.
Pro pushState support for single page apps
Great for front ends like React and Vue.
Pro Automatic Gziping
Auto gzips and sends gziped files.
Pro Supports Jekyll and Grunt and other CIs
Pro Far-future expire headers
Pro Support on Slack
Live Chat Support.
Pro ent (intelligently) about trailing slashes (“/”)
Pro Fully featured CLI tool
Provides a CLI tool to easily deploy using terminal with surge
command.
Pro Atomic Deploys
Deployments are fast, instant, and atomic - with zero chance of collisions.
Cons
Con Does not support .pdf by default
Does not support .pdf. To get PDF support you have to add a credit card by running surge card
(though no charges apply).