2023/03/08

, ,

Alist, 구글 공유 드라이브 추가하기 #2

Alist, 구글 공유 드라이브 추가하기 #2

Alist, 구글 공유 드라이브 추가하기 #1」에 이은 두 번째 방법은 초보 사용자에겐 조금은 어려워 보일 수도 있지만(AutoRclone 사용자에겐 매우 익숙한 작업), 좀 더 나은 성능을 원한다면 충분히 고려할 필요가 있다.

Alist에서 기본으로 제공하는 client id와 client secret을 사용해 구글 드라이브를 이용해도 큰 문제는 없지만, 구글 클라우드 플랫폼에서 직접 발급받은 client id와 client secret을 사용했을 때와 비교하면 아무래도 반응 속도, 지연, 업/다운로드 속도 면에서 조금은 차이가 난다.

두 번째 방법: 나만의 client_id client_secret 발급받기

Get client_id client_secret issued from Google Cloud Platform

1. client id와 client secret을 발급받으려면, 일단 구글 클라우드 플랫폼에 로그인해 프로젝트를 생성하자. 나 같은 경우 프로젝트 이름을 Alist라고 지었다.

Get client_id client_secret issued from Google Cloud Platform

2. [APIs & Services] > [Eanbled APIs & Services] 메뉴로 이동해 Google Drive API를 활성화한다.

Get client_id client_secret issued from Google Cloud Platform
Get client_id client_secret issued from Google Cloud Platform
Get client_id client_secret issued from Google Cloud Platform
Get client_id client_secret issued from Google Cloud Platform

3. OAuth client ID를 받으려면 ① [CONFIGURE CONSENT SCREEN] 과정을 거쳐야 한다.

[External]을 선택하고 ② [CREATE]를 선택한다.

다음 화면에서 ③ [App name], [User support email], (맨 아래의) [Developer contact information] 정도만 입력하고 다음으로 넘어가고, 이후 [Scopes], [Test users], [Summary] 과정은 딱히 살펴볼 것은 없다. 그냥 기본값으로.

끝으로 ④ [PUBLISH APP]을 클릭해 [CONFIGURE CONSENT SCREEN] 과정을 무사히 마무리하자.

Get client_id client_secret issued from Google Cloud Platform

4. 인제 client id와 client secret을 얻을 수 있는 마지막 한 수만 남았다.

[Credentials] > [OAuth clinet ID] > [Creat OAuth client ID] 과정을 마치면 client id와 client secret 값을 얻을 수 있다.

Get client_id client_secret issued from Google Cloud Platform

5. 이렇게 얻은 값을 「Alist, 구글 공유 드라이브 추가하기 #1」에서 했던 그대로 rclone에 사용해 refresh_token 값을 얻을 수 있고, 이 세 값을 Alist [Storages]에 사용하면 기존보다 빠릿빠릿한 구글 드라이브를 사용할 수 있다.

비록 보잘 것 없지만 광고 수익(Ad revenue)은 블로거의 콘텐츠 창작 의욕을 북돋우는 강장제이자 때론 하루하루를 이어주는 즐거움입니다

Share:

0 comments:

댓글 쓰기

댓글은 검토 후 게재됩니다.
본문이나 댓글을 정독하신 후 신중히 작성해주세요