Skip to content

mingyeongho/solved.ac-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📌✨solved.ac-box

Image

브론즈부터 마스터까지 👑, 당신의 solved.ac 티어를 한눈에


Overview

이 프로젝트는 solved.ac api를 사용하여 유저 정보를 가져오고, rest.js를 통해 GitHub Gist에 다음 정보를 업데이트합니다:

  • 🏷️ 자기소개 (Bio)
  • 📈 현재 티어 및 레이팅
  • ✅ 해결한 문제 수 및 순위

매일 자정 데이터를 업데이트하며, 수동 업데이트를 할 수 있습니다.

Setup

Prep work

  1. Github Public Gist를 만들어주세요. (https://gist.github.com/)

    Gist description은 비워주세요!

    Contents에는 아무 내용이나 적어주세요! (.만 찍어도 가능)

  2. gist 스코프만을 가지는 토큰을 만들고 복사해주세요. (https://github.com/settings/tokens/new)

    유효 기간은 No expiration을 체크해주세요.

Project setup

  1. 이 저장소를 Fork 해주세요.

  2. Setting > Secrets and variables > Actions에서 Secrets을 만들어주세요.

    Type Name Description
    Repository Secrets GH_TOKEN Prep work, 2단계에서 생성한 토큰
    Repository Secrets GIST_ID Prep work, 1단계에서 생성한 Gist의 ID (Gist URL의 영숫자 부분)
    Repository Secrets USERNAME solved.ac의 유저 ID

다음과 같이 작성해주세요.

Image
  1. Fork된 저장소의 Actions 탭으로 가서 I understand my workflows, go ahead and enable them버튼을 눌러주세요.

  2. 최초 한 번 Update Gist를 실행시켜 주세요.

  1. Image
  2. Image
  3. Image
  1. Github Profile에서 Customize your pins를 눌러 생성된 Gist를 고정해주세요.

How to run the workflow manually

  1. Fork된 저장소의 Actions 탭으로 가세요.
  2. Update Gist workflow를 선택해주세요.
  3. Run workflow를 눌러 실행시켜주세요.

License

MIT

About

브론즈부터 마스터까지 👑, 당신의 solved.ac 프로필을 한눈에

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •