Repository Analysis

nextai-translator/nextai-translator

基于 ChatGPT API 的划词翻译浏览器插件和跨平台桌面端应用 - Browser extension and cross-platform desktop application for translation based on ChatGPT API.

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
24,913
Stars
TypeScript
Language
68,011
Lines of Code
231
Files
22
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 3LOW 19

Pattern Findings

22 matches across 4 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers15 hits · 16 pts
SeverityFileLineSnippet
LOWscripts/release.py4def get_current_version_from_tag():
LOWsrc/tauri/utils.ts100export async function bindQuickTranslatorHotkey(oldHotKey?: string) {
LOWsrc/common/openai-api-path.ts13export function isResponsesCapableOpenAIModel(model: string | undefined | null): boolean {
LOWsrc/common/openai-api-path.ts24export function getRecommendedOpenAIAPIPath(model: string | undefined | null): string {
LOWsrc/common/components/Settings.tsx200function LanguageDetectionEngineSelector({ value, onChange, onBlur }: ILanguageDetectionEngineSelectorProps) {
LOWsrc/common/components/Settings.tsx1036function RestorePreviousPositionCheckbox({ value, onChange, onBlur }: RestorePreviousPositionCheckboxProps) {
LOWsrc/common/components/Settings.tsx1054function SelectInputElementsCheckbox({ value, onChange, onBlur }: SelectInputElementsProps) {
LOWsrc/common/components/Settings.tsx1073function ReadSelectedWordsFromInputElementsCheckbox({
LOWsrc/common/components/ActionForm.tsx71function ActionThinkingLevelSelector({ value, onChange }: ActionThinkingLevelSelectorProps) {
LOWsrc/common/services/promotion.ts97function getPromotionItemShowedKey(item: IPromotionItem) {
LOWsrc/common/services/promotion.ts101function getPromotionItemNeverDisplayKey(item: IPromotionItem) {
LOWsrc/common/services/promotion.ts107export async function checkShouldShowPromotionNotification() {
LOWsrc/common/services/promotion.ts161export async function isPromotionItemNeverDisplay(item?: IPromotionItem): Promise<boolean> {
LOWsrc/common/services/promotion.ts172export async function setPromotionItemNeverDisplay(item?: IPromotionItem) {
LOWsrc/common/services/promotion.ts184export async function unsetPromotionItemNeverDisplay(item?: IPromotionItem) {
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMsrc-tauri/gen/schemas/acl-manifests.json1{"aptabase":{"default_permission":null,"permissions":{"allow-track-event":{"identifier":"allow-track-event","description
MEDIUMsrc-tauri/gen/schemas/plugin-manifests.json1{"app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":[
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOWsrc-tauri/src/writing.rs1// Writing flow: stream a translation into whatever input box the user has
LOWsrc-tauri/src/writing.rs281pub fn finish_writing() {
LOWsrc-tauri/src/windows.rs901fn apply_quick_translator_panel_traits(window: &tauri::WebviewWindow) {
LOWsrc-tauri/src/windows.rs1041// A small floating, focus-less, click-through HUD anchored just below the
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMscripts/release.py60 # Create a new tag for the current release.