GitHub | Issues, PRs, Discussions & Releases Exporter

Export full GitHub issues, PRs, discussions, and release notes to Markdown, HTML, or ZIP — includes all comments, reviews, diffs, and timelines. Single-page or batch export with pause/resume.

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v6.0.1 2026-03-30
  • v6.0 2026-03-30
  • v5.6.6 2026-02-26
  • v5.6.5 2026-02-26

    Name updated.

  • v5.6.4 2026-02-06

    Changelog: v1.4 → v5.6.4


    Script Renamed

    GitHub | Releases Full Topic ExporterGitHub Repo Exporter — Releases · Issues · PRs · Discussions


    Major Changes

    Complete Architecture Rewrite

    • Entire script rebuilt from the ground up, moving from a single-purpose tool to a multi-feature exporter
    • Replaced HTML page scraping approach with direct GitHub REST API and GraphQL API calls
    • Reorganized code into self-contained modules (Releases, Issues, UI) instead of a flat function structure

    Releases: New Data Source

    • No longer scrapes rendered GitHub release pages or fetches lazy-loaded asset fragments from the DOM
    • Now pulls all release data directly from the GitHub Releases API, including full asset metadata
    • Release note bodies are now rendered from raw Markdown using the marked library instead of copying pre-rendered HTML
    • Auto-links issue/PR references (#123), @username mentions, commit SHA hashes, and cross-repo references within release notes
    • Assets now display download counts, SHA256 digests, upload dates, and file sizes
    • Assets are automatically classified by type (Installer, macOS, Linux, Archive, Signature, Checksum, Attestation, Mobile, Source)
    • Source code archive links (zip and tar.gz) are automatically included
    • Emoji reactions on releases are now displayed (👍👎😄🎉😕❤️🚀👀)

    New Feature: Issues, Pull Requests & Discussions Index

    • Brand new capability to export a complete index of all Issues, Pull Requests, and Discussions in a repository
    • Uses the GitHub REST API for Issues and Pull Requests, and the GraphQL API for Discussions
    • Supports selective export — choose any combination of Issues, PRs, and Discussions via checkboxes
    • Number range filtering allows targeting specific items (e.g., 1-500 or 1,5,10-50)
    • When a token is set and a range is specified, uses efficient GraphQL batch lookups instead of paginating through all pages
    • Tracks open/closed/not planned/answered status for each item
    • Displays labels associated with each item
    • Items are sorted by number in the final output
    • Includes a summary count broken down by type
    • Output clearly notes this is an index listing only — titles, status, and links, not full content

    Authentication Support

    • Added GitHub Personal Access Token management with save, clear, and masked display
    • Token is persisted across sessions and page loads
    • Increases API rate limit from 60 to 5,000 requests per hour
    • Required for Discussions export and GraphQL batch queries
    • Token input section is collapsible with a status badge showing whether a token is set

    Rate Limit Handling & Resume

    • Detects rate limiting (HTTP 403 with zero remaining) and pauses automatically
    • Displays rate limit status and reset time for both Releases and Issues sections independently
    • Export can be resumed from where it stopped after the rate limit resets — no need to start over
    • Tracks pagination position, GraphQL batch index, and discussion cursor for seamless resumption

    UI Overhaul

    Old UI Removed

    • Removed the single floating green "Load All Releases" button
    • Removed the post-fetch "Download .html" and "Download .txt" action buttons that replaced the main button

    New Panel UI

    • Added a collapsible floating panel accessed via a "📋 Repo Lister" toggle button
    • Panel contains separate sections for Releases and Issues/PRs/Discussions, each with independent controls
    • Each section has a multi-state action button (Start → Cancel → Resume → New Export) that reflects current status
    • Each section has three output buttons: open HTML in a new tab, download as HTML, and download as Markdown
    • All output buttons are disabled until data is available
    • Added real-time status display showing item counts, number ranges, and progress
    • Added light/dark theme toggle with preference persistence
    • Added debug log toggle per section with a scrollable log viewer and clear button
    • Added Ko-Fi support link
    • Displays the current repository name in the panel header
    • Panel automatically constrains its height to fit the viewport
    • Panel width locks during fetching to prevent layout flicker from changing status text

    Export Format Changes

    Removed

    • Plain text (.txt) export has been removed entirely — this previously extracted text from the DOM with special handling for blockquotes and code blocks
    • HTML export no longer copies GitHub's stylesheets and page structure

    Added

    • All HTML exports are now fully self-contained with custom dark-themed CSS — no external dependencies, works completely offline
    • Markdown (.md) export added for both Releases and Issues/PRs/Discussions
    • Release HTML output uses styled cards with tag badges, author/date metadata, collapsible asset tables with full details, and reaction badges
    • Issues HTML output uses color-coded status indicators (green for open, red for closed/not planned), type labels, and associated labels
    • Issues output includes a disclaimer noting it is an index listing only

    Scope & Navigation Changes

    Broader Page Matching

    • Previously only activated on release pages (/releases)
    • Now activates on all repository pages, with intelligent detection to exclude non-repo pages (settings, explore, trending, etc.)

    SPA Navigation Support

    • Added listeners for GitHub's Turbo-based single-page navigation events
    • Handles turbo:load, turbo:render, turbo:frame-load, and popstate events
    • Includes a polling fallback that checks for URL changes every second
    • Releases data resets automatically when navigating to a different repository
    • UI is created or removed dynamically based on whether the current page is a valid repository

    New Dependencies

    • marked library (v17.0.1) — used to render Markdown release notes into HTML
    • GM_openInTab — opens generated HTML previews in a new browser tab
    • GM_getValue / GM_setValue — persists authentication token and user preferences across sessions

    Persistent Preferences

    The following settings are now saved and restored automatically:

    • GitHub Personal Access Token
    • Light/dark theme choice
    • Issues checkbox state
    • Pull Requests checkbox state
    • Discussions checkbox state
    • Debug log toggle state (separate for Releases and Issues sections)
  • v1.4 2026-01-17