Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

😷 Get a temporary QR-code, which to use to entrance public facilities using the NAVER QR-CheckIn service. μ§‘ν•©μ‹œμ„€ μΆœμž…μ„ μœ„ν•œ λŒ€ν•œλ―Όκ΅­ μ „μžμΆœμž…λͺ…λΆ€ QR 체크인에 μ‚¬μš©λ˜λŠ” QR 이미지λ₯Ό λΉ λ₯΄κ²Œ μΆ”μΆœν•©λ‹ˆλ‹€.

stevejkang/covid19-qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

covid19-qrcode

Get a temporary QR-code, which to use to entrance public facilities using the NAVER QR-CheckIn service.
μ§‘ν•©μ‹œμ„€ μΆœμž…μ„ μœ„ν•œ λŒ€ν•œλ―Όκ΅­ μ „μžμΆœμž…λͺ…λΆ€ QR 체크인에 μ‚¬μš©λ˜λŠ” QR 이미지λ₯Ό λΉ λ₯΄κ²Œ μΆ”μΆœν•©λ‹ˆλ‹€.

Last Commit

πŸ“Œ IMPORTANT NOTICE
이 ν”„λ‘œμ νŠΈλŠ” λ„€μ΄λ²„μ—μ„œ μ œκ³΅ν•˜λŠ” "μ§‘ν•©μ‹œμ„€ μΆœμž…μ„ μœ„ν•œ QR 체크인 κΈ°λŠ₯"을 μ΄μš©ν•˜μ˜€μŠ΅λ‹ˆλ‹€. 
넀이버와 λ¬΄κ΄€ν•œ ν”„λ‘œμ νŠΈλ‘œ μ–Έμ œλ“  지원이 쀑단될 수 μžˆμŠ΅λ‹ˆλ‹€. 
개인적으둜 μ§‘ν•©μ‹œμ„€ μ΄μš©μ‹œ 였랜 μ‘°μž‘ λ“±μœΌλ‘œ μƒκΈ°λŠ” λΆˆνŽΈν•¨μ„ 느껴 이λ₯Ό κ°„μ†Œν™”ν•˜κ³ μž λ§Œλ“€κ²Œ 된 ν”„λ‘œμ νŠΈμž…λ‹ˆλ‹€. 
λ‹€μ–‘ν•œ λ°©ν–₯으둜의 μ•…μš©μ„ λ§‰κ³ μž μ½”λ“œμƒμœΌλ‘œ API ν˜ΈμΆœν•  수 μžˆλŠ” ν˜•νƒœλ‘œ μ œμž‘ν–ˆμŒμ—λ„, 
λˆ„κ΅¬λ‚˜ μ‚¬μš©ν•  수 μžˆλŠ” μ£Όμ†Œ(μ„œλΉ„μŠ€)λ₯Ό μ œκ³΅ν•˜λŠ” 것이 μ•„λ‹Œ μ˜€ν”ˆμ†ŒμŠ€λ‘œλ§Œ κ³΅μœ ν•˜λ©°, 
μ‚¬μš©ν•¨μ— μžˆμ–΄ λͺ¨λ“  μ±…μž„μ€ μ „μ μœΌλ‘œ μ‚¬μš©ν•˜λŠ” κ°œμΈμ— μžˆμŠ΅λ‹ˆλ‹€. 

* 이 ν”„λ‘œμ νŠΈλŠ”, μ΅œμ΄ˆμ— 넀이버 QR 체크인 단계 쀑 ν•˜λ‚˜μΈ "κ°œμΈμ •λ³΄ μˆ˜μ§‘ 및 μ œκ³΅μ— λ™μ˜" 과정을 
headless둜 μƒλž΅ν•˜κ³  λ™μ˜ν•œ κ²ƒμœΌλ‘œ κ°„μ£Όν•©λ‹ˆλ‹€. 

* 이 ν”„λ‘œμ νŠΈλŠ” 2FA, ν˜Ήμ€ 기타 λ‘œκ·ΈμΈμ„ κ²€μ¦ν•˜κΈ° μœ„ν•œ μˆ˜λ‹¨μ„ μ‚¬μš©ν•˜κ±°λ‚˜ ν•„μš”λ‘œν•˜λŠ” 경우 
μ˜ˆμƒμΉ˜ λͺ»ν•œ 였λ₯˜κ°€ λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€. 

How To Use?

  1. app/controllers/qr.controllers.tsμ—μ„œ YOUR_ID와 YOUR_PASSWORDλ₯Ό 본인의 섀정에 맞좰 μ—…λ°μ΄νŠΈν•©λ‹ˆλ‹€.
// ...
router.get('/', (request: Request, response: Response) => {
  getQrCode({
    id: 'YOUR_ID',
    password: 'YOUR_PASSWORD'
  }).then((qrCodeResult) => {
// ...    
  1. npm run build둜 μ‹€ν–‰ν•©λ‹ˆλ‹€. μ΄λ•Œ ν•΄λ‹Ή μ„œλ²„λ‘œ μ™ΈλΆ€μ—μ„œ 접속이 κ°€λŠ₯ν•΄μ•Όν•˜λ©°, ν¬νŠΈλŠ” 3000이 κΈ°λ³Έ κ°’μž…λ‹ˆλ‹€. 상황에 따라 pm2, foreverλ₯Ό μ‚¬μš©ν•˜μ—¬ μ‹€ν–‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
$ npm i
$ npm run build
  1. <YOUR_HOST>:3000/qr을 iOS Shotcuts 앱에 λ“±λ‘ν•©λ‹ˆλ‹€. (ν…œν”Œλ¦ΏμœΌλ‘œ λ°”λ‘œ μ‹œμž‘ν•˜κΈ°)


iOS 14λΆ€ν„° μ§€μ›ν•˜λŠ” μœ„μ ―μœΌλ‘œ λ§Œλ“€μ–΄ μ‚¬μš©ν•˜λ©΄ μ•„λž˜μ²˜λŸΌ ν™ˆ ν™”λ©΄μ—μ„œ λ°”λ‘œ QR μ½”λ“œλ₯Ό 얻을 수 μžˆμŠ΅λ‹ˆλ‹€.

Giphy

Troubleshooting

  • ...chrome-linux/chrome: error while loading shared libraries: xxxxxxx.so: cannot open shared object file: No such file or directory on AWS EC2 ubuntu

    $ sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm-dev libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget

    Reference here

License

MIT

Author

stevejkang iam@juneyoung.io

Hits

About

😷 Get a temporary QR-code, which to use to entrance public facilities using the NAVER QR-CheckIn service. μ§‘ν•©μ‹œμ„€ μΆœμž…μ„ μœ„ν•œ λŒ€ν•œλ―Όκ΅­ μ „μžμΆœμž…λͺ…λΆ€ QR 체크인에 μ‚¬μš©λ˜λŠ” QR 이미지λ₯Ό λΉ λ₯΄κ²Œ μΆ”μΆœν•©λ‹ˆλ‹€.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published