Skip to content
프로젝트

소개

surge.sh CDN용 CLI

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+2
in 7 days
+2
in 15 days
+5
in 1 month
+10

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

surge - static web publishing

One command from a directory, or a single HTML file, to a live URL. Free custom domains and SSL certificates on every plan, served from 10 regions, with over 18 million deployments published.

surge-help

Publish

npx surge <path> <domain>

surge ./dist lucid-example.surge.sh

Your project is now live in 10 regions globally! View it at https://lucid-example.surge.sh...

surge-publish-results

The first run asks for an email and password, which creates your account. To keep the command around, install it globally:

npm install -g surge

A single HTML file

surge page.html my-page.surge.sh

The file is published as the domain's index.html. If the page uses images or stylesheets next to it, surge lists them; publish the folder to include them.

Custom domains

Publish to any domain you own, then point its DNS at Surge. The certificate is provisioned for you, free.

surge ./dist example.com

See custom domains.

CI and agents

Mint a token on your own machine, then pass it with --token wherever surge runs. No login step, no prompts:

surge tokens add --domain example.com -m "ci"
npx surge ./dist example.com --token <token>

The SURGE_TOKEN environment variable works too, and keeps the token out of shell history and logs. A token can be scoped to one domain. Publishing has limits on every plan; a rate-limited publish answers with how long to wait. See CI & automation for GitHub Actions and other runners.

Documentation

surge.sh/docs covers publishing, revisions and rollbacks, collaborators, DNS, SSL, and the API, which can do everything the CLI does.

License

Copyright © 2012-2026 Chloi Inc. Released under the ISC License.

"Surge" is a trademark of Chloi Inc.

관련 프로젝트 살펴보기

불러오는 중…