GitHub Pages

Publish a GitHub repository as a static site. Public-repo Pages is free; 100 GB monthly bandwidth is a soft limit.

···
html
<div class="host-demo"><div class="host-head"><strong>GITHUB PAGES · SOFT LIMIT</strong><span id="status">MONTHLY USAGE</span></div><div class="host-visual"><div class="gh-visual"><div class="gh-grid"><span>REPO</span><span>BUILD</span><span id="gh-transfer">TRANSFER 0 GB</span></div><div class="gh-boundary">100 GB / MONTH <b>SOFT</b></div><div class="meter"><i id="gh-bar"></i></div></div></div><div class="host-control"><span id="usage-label"></span><input id="usage" type="range" aria-label="Monthly usage" min="0" max="200" step="10" value="60"></div><div class="host-note">2026-10-06 공식 가격 기준 · 단순화(세금·지역 할증 제외)</div></div>
css
.host-demo{width:min(94vw,850px);height:min(90vh,340px);padding:clamp(9px,2.4vmin,18px);border:1px solid var(--line);border-radius:14px;background:var(--surface);display:flex;flex-direction:column;gap:clamp(5px,1.6vmin,11px);overflow:hidden;font:600 clamp(11px,2.4vmin,16px)/1.25 ui-sans-serif,-apple-system,sans-serif}.host-head{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.host-head strong{color:var(--accent);font-size:1.05em}.host-head span{color:var(--muted);font-size:.78em;text-align:right}.host-visual{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.host-control{display:flex;align-items:center;gap:8px;color:var(--fg);font-variant-numeric:tabular-nums}.host-control span{min-width:44%;font-size:.88em}.host-control input{flex:1;width:20px;accent-color:var(--accent)}.host-note{color:var(--muted);font-size:.66em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.host-demo *{min-width:0}.meter{height:clamp(11px,3.4vmin,24px);border-radius:99px;background:var(--line);overflow:hidden}.meter>i{display:block;height:100%;width:0;background:var(--accent);transition:width .35s}.big{font-size:clamp(18px,5.5vmin,34px);font-weight:800;font-variant-numeric:tabular-nums;color:var(--accent)}.muted{color:var(--muted)}.gh-visual{width:86%;display:grid;gap:clamp(5px,2vmin,12px)}.gh-grid{display:flex;gap:5px}.gh-grid span{flex:1;border:1px solid var(--line);border-radius:6px;padding:clamp(4px,1.5vmin,10px);text-align:center;font-size:.7em}.gh-grid span:last-child{color:var(--accent);border-color:var(--accent)}.gh-boundary{display:flex;justify-content:space-between;font-size:.72em;color:var(--muted)}.gh-boundary b{color:var(--accent-3)}
js
const input=document.getElementById('usage');const label=document.getElementById('usage-label');const status=document.getElementById('status');let manual=false;function paint(){const value=Number(input.value);label.textContent=value+' GB bandwidth';document.getElementById('gh-transfer').textContent='TRANSFER '+value+' GB';document.getElementById('gh-bar').style.width=Math.min(100,value)+'%';status.textContent=value>100?'SOFT LIMIT · NO OVERAGE RATE':'PUBLIC REPO · FREE';}paint();let direction=1;setInterval(()=>{if(manual)return;const next=Number(input.value)+10*direction;if(next>200||next<0){direction*=-1;return}input.value=String(next);paint()},850);input.addEventListener('input',()=>{manual=true;paint()});

GitHub Pages serves static files from a repository. It fits project docs, open-source pages, and personal portfolios without server code.

As of 2026-10, GitHub Free is $0 USD/month and supports Pages from public repositories. Site size is capped at 1 GB; 100 GB monthly bandwidth and 10 builds per hour are soft limits. No official per-GB overage rate is listed. Team is $4 USD/user/month and supports private-repository Pages.

Pages is not intended as free hosting for online transactions or SaaS. Do not treat the 100 GB soft limit as a guaranteed billable free tier. The demo flags the boundary without inventing a cost.

When to use

Use GitHub Pages for docs or a portfolio; compare Cloudflare Pages for a commercial static site and Netlify for previews and functions.

Open as page ↗