# GitHub Pages URL Shortener

> Clean Markdown view of GeekNews topic #3216. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3216](https://news.hada.io/topic?id=3216)
- GeekNews Markdown: [https://news.hada.io/topic/3216.md](https://news.hada.io/topic/3216.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-11-17T10:53:23+09:00
- Updated: 2020-11-17T10:53:23+09:00
- Original source: [github.com](https://github.com/nelsontky/gh-pages-url-shortener)
- Points: 11
- Comments: 2

## Topic Body

- 깃헙 페이지와 이슈를 이용한 단축 URL 생성기

1. 단축 URL을 생성하려면 URL을 제목으로 이슈를 생성

2. 이슈 번호가 단축 URL이 됨

- CNAME으로 gh-pages 에 자신의 도메인 연결

- 실제로는 404.html 이 모든 redirection을 처리

## Comments



### Comment 3534

- Author: heycalmdown
- Created: 2020-11-17T10:58:23+09:00
- Points: 1

아이디어 좋네요.

### Comment 3533

- Author: xguru
- Created: 2020-11-17T10:53:27+09:00
- Points: 1

음 이거 GitHub Issues 를 어뷰징 하는 느낌이긴 한데, 이런식으로 처리할 수 있다는 시도가 재미나네요.

비슷하게 GitHub Actions 를 이용한 URL Shortener 도 있습니다.

https://github.com/wesleytodd/short
