Firefox 브라우저 부가 기능
  • 확장 기능
  • 테마
    • Firefox용
    • 사전 및 언어 팩
    • 다른 브라우저 사이트
    • Android 부가 기능
로그인
PR Token Diff for GitHub 미리보기

PR Token Diff for GitHub 제작자: Jamison Lahman

Shows the estimated token difference of a GitHub pull request next to GitHub's line-count diffstat.

0 (리뷰 0개)0 (리뷰 0개)
사용자 1명사용자 1명
Firefox를 다운로드하고 확장 기능을 받으세요
파일 다운로드

확장 메타 데이터

정보
Line counts don't tell you how much LLM context a pull request consumes. This extension adds an estimated token diff wherever GitHub shows its line-count diffstat.

━ What you get
• A header badge on every PR: +12,345 −6,789 tokens, right beside GitHub's own +/− line counts
• Per-file token badges in the Files changed view
• Hover any badge for the exact added/removed estimate

━ How it works
The extension fetches the PR's .diff through your existing GitHub session — no API token, no OAuth, works on private repos you can already see. The unified diff is parsed locally (renames, binaries, and mode changes handled) and token counts are estimated per file, then cached with ETag revalidation so repeat visits are instant.

Counts are a fast heuristic estimate (identifier sub-word splitting blended with a chars-per-token ratio), not an exact BPE tokenization — accurate enough to judge whether a PR fits in a model's context window.

━ Privacy
• No data collection, no analytics, no external services
• Talks only to github.com / patch-diff.githubusercontent.com
• Zero runtime dependencies

Source code: https://github.com/jmelahman/github-token-diff-extension
리뷰어 0명이 0점으로 평가함
로그인하여 이 확장 기능의 평점을 남겨주세요
아직 평점이 없습니다

별점 저장됨

5
0
4
0
3
0
2
0
1
0
아직 리뷰 없음
권한 및 데이터

필수 권한:

  • github.com에서 사용자의 데이터에 접근

선택적 권한:

  • github.com에서 사용자의 데이터에 접근
  • patch-diff.githubusercontent.com에서 사용자의 데이터에 접근

데이터 수집:

  • 개발자는 이 확장 기능이 데이터 수집을 요구하지 않는다고 밝히고 있습니다.
더 알아보기
추가 정보
부가 기능 링크
  • 홈 페이지
  • 지원 이메일
  • 부가 기능 ID 복사
버전
0.1.4
크기
20.05 KB
최근 업데이트
2달 전 (2026년 7월 15일)
관련 카테고리
  • 웹 개발 도구
라이선스
GNU General Public License v3.0 전용
버전 목록
  • 모든 버전 보기
모음집에 추가
이 부가 기능 신고
Mozilla 홈페이지로 이동

부가 기능

  • 소개
  • Firefox 부가 기능 블로그
  • 확장 기능 워크샵
  • 개발자 허브
  • 개발자 정책
  • 커뮤니티 블로그
  • 포럼
  • 버그 신고
  • 리뷰 지침

다운로드

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

최신 빌드

  • Nightly
  • Beta

기업용 Firefox

  • Enterprise

커뮤니티

  • Connect
  • Contribute
  • Developer

팔로우

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 개인 정보
  • 쿠키
  • 법률

특별한 고지가 없는 한, 본 사이트의 콘텐츠는 Commons Attribution Share-Alike License v3.0 또는 그 이후 버전에 따라 사용이 허가됩니다.