Skip to main content

🍕 velog-hits

velog-hits는 자신의 velog 게시글 조회수 통계를 종합해서 한 눈에 보기 쉽도록 HTML 파일로 만들어주는 프로젝트입니다.

📍 Demo Image

Demo Image

📍 시작하기

1) 파이썬 버전

  • Python >= 3.8

2) 설치

  • 조회수 종합 통계 데이터를 저장할 폴더 생성

    $ mkdir velog-hits-data
    
  • 생성한 폴더로 이동

    $ cd velog-hits-data
    
  • pip 설치

    $ pip install velog-hits
    

📍 사용방법

1) 도움말 명령어

$ velog-hits -h
usage: velog-hits [-h] -u USERNAME -at ACCESSTOKEN

Velog Hits

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Velog Username
  -at ACCESSTOKEN, --accesstoken ACCESSTOKEN
                        Your Velog Access Token

2) Velog Hits 실행

⚠️ Access Token을 모르신다면 해당 기능을 사용하실 수 없습니다.

Velog Hits를 사용하기 위해서는 자신의 Velog Username(=ID)Access Token이 필요합니다.
"조회수 통계"는 로그인 했을 때만 볼 수 있는 기능이기 때문에 Access Token이 필요합니다. Access Token을 통해 본인임을 인증할 수 있습니다.

$ velog-hits -u {username} -at {access_token}
'{username}'님의 조회수 데이터를 가져오고 있으니 잠시만 기다려주세요:)
'{username}'님의 조회수 데이터를 모두 가져왔습니다!!
HTML로 변환을 시작합니다...
Velog Hits Success!!
Velog Hits Result: {오늘날짜.html 파일 위치 경로}

3) 결과 확인

결과로 나온 {오늘날짜.html 파일 위치 경로} 부분을 복사한 후 웹 브라우저를 열고 주소창에 붙여넣기합니다.

조회수 종합 통계 데이터는 .../velog-hits-data/htmlhits/에 저장됩니다.

  • 명령어를 실행시킨 위치에 htmlhits/ 폴더가 생성되고 htmlhits/오늘날짜.html 파일이 생성됩니다.
  • 그렇기 때문에 시작하기-설치 부분에서 데이터 저장 폴더를 생성하고 해당 폴더로 이동한 것입니다.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

velog_hits-1.0.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file velog_hits-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: velog_hits-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6

File hashes

Hashes for velog_hits-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c8da7030127352beeaeb0bc42c60295568b5fed5da0a8516da4a5d1ad46ce7
MD5 939afa344b2454fbffc38c3a053ee0c6
BLAKE2b-256 9f1d7125be7c84becbd7b7b4be1d4c2f85643abfc414dfa9475c3c48c5db1d6b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page