# Blip - 간단한 Geolocation 서버

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

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=2533](https://news.hada.io/topic?id=2533)
- GeekNews Markdown: [https://news.hada.io/topic/2533.md](https://news.hada.io/topic/2533.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-07-27T09:43:33+09:00
- Updated: 2020-07-27T09:43:33+09:00
- Original source: [github.com](https://github.com/runway7/blip)
- Points: 7
- Comments: 3

## Topic Body

- Google App Engine 을 이용해서 접속한 사용자의 위치 정보를 가져오는 API 서버

- CORS 세팅으로 클라이언트에서 간단히 이용 가능

- 접속 사용자의 도시/지역/국가/위도/경도 정보를 JSON으로 리턴

- Go 로 작성된 오픈소스

## Comments



### Comment 2417

- Author: tujuc
- Created: 2020-07-27T11:33:46+09:00
- Points: 1

커밋 마지막이 너무 오래됐네요..;

좀 수정이 필요할 수도 있겠군요...

### Comment 2418

- Author: xguru
- Created: 2020-07-27T11:56:23+09:00
- Points: 1
- Parent comment: 2417
- Depth: 1

저게 아마 GAE쪽이 하나도 바뀐게 없어서 딱히 손 안대도 되는걸로 알고 있습니다.

http://blip.runway7.net/

해당 코드는 아직도 잘 돌아가는걸로 봐서는요 ㅎㅎ

### Comment 2411

- Author: xguru
- Created: 2020-07-27T09:44:13+09:00
- Points: 1

보통 회사에서 접속자의 Geolocation 정보를 알기 위해 MaxMind 를 사거나 하는데,

그걸 대신하거나 MixMind 가 무료로 제공하는 GeoLite2 를 사용하는 방식들도 있는데요.

위 Blip은 오픈소스고, GAE의 값을 이용하기 때문에 거의 무료티어 만으로 사용 가능합니다.

CDN인 CloudFlare 가 제공 하는 위치 데이터를 이용하는 법도 있습니다.

- http://ifconfig.io/ 좀 더 다양한 값을 리턴해 줍니다. 소스는 https://github.com/georgyo/ifconfig.io 에 Go 코드

- https://github.com/jlxw/geoip CloudFlare + Heroku. JavaScript 코드

- CloudFlare Worker 로 직접 만들기 https://maxkostinevich.com/blog/serverless-geolocation/
