Add GitHub DeepWiki Button

Add a DeepWiki button to GitHub repository navigation

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
heakjo
今日安裝
0
安裝總數
2
評價
0 0 0
版本
0.2
建立日期
2025-08-15
更新日期
2025-08-15
尺寸
7.0 KB
授權條款
未知
腳本執行於

简短描述:

在 GitHub 仓库的导航栏中添加一个“DeepWiki”按钮,用于快速访问其对应的 DeepWiki 页面。

详细描述:

这个脚本通过在 GitHub 仓库的导航栏(“Insights”按钮旁边)添加一个方便的“DeepWiki”按钮来增强您的浏览体验。

DeepWiki 是一个为代码仓库提供 AI 驱动的深度解析和文档说明的网站。通过此脚本,您只需一次点击,即可直接跳转到当前浏览仓库的 DeepWiki 页面,省去了手动复制粘贴URL的麻烦。

功能特性:

  • 无缝集成: 按钮被直接添加到 GitHub 导航栏中,外观与原生按钮一致。
  • 智能识别: 脚本会自动根据当前仓库的用户名和仓库名生成正确的 DeepWiki 链接。
  • 稳定可靠: 能够可靠地应对 GitHub 的动态页面加载机制(兼容 PJAX 和 Turbo 事件),并对 GitHub 的UI小幅更新有较好的兼容性。

Short Description:

Adds a "DeepWiki" button to the GitHub repository navigation bar for quick access to its corresponding DeepWiki page.

Full Description:

This script enhances your GitHub experience by adding a convenient "DeepWiki" button to the repository navigation bar (next to "Insights").

DeepWiki provides AI-powered insights and documentation for code repositories. With this script, you can navigate directly to the DeepWiki page for any public repository with a single click, saving you the effort of manually copying and pasting the URL.

Features:

  • Seamless Integration: The button is added directly into the GitHub navigation bar, looking like a native feature.
  • Smart Detection: Automatically constructs the correct DeepWiki URL based on the current repository's username and name.
  • Robust and Reliable: Works reliably with GitHub's dynamic page loading (handles PJAX and Turbo events) and is resilient to minor UI changes.