From 8395342e9e36bc3f80192d485d5122525ec0f0b4 Mon Sep 17 00:00:00 2001 From: jyeontu Date: Wed, 12 Nov 2025 16:12:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=A2=A8=E6=BB=B4=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E6=8F=92=E4=BB=B6dist=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 8196 -> 8196 bytes .gitignore | 2 +- bookmarks-plus/README.en.md | 100 ++++++++++++++++++ bookmarks-plus/README.md | 95 ++++++++++++++++- .../dist.zip" | Bin 0 -> 14566 bytes 5 files changed, 193 insertions(+), 4 deletions(-) create mode 100644 bookmarks-plus/README.en.md create mode 100644 "\345\242\250\346\273\264\346\217\222\344\273\266/dist.zip" diff --git a/.DS_Store b/.DS_Store index 3bd9932c120d8116e57edf30bcb64c367c901f15..ffe962f68a0a4e8cc671d0593cc717ea08ae6a47 100644 GIT binary patch delta 93 zcmZp1XmOa}&nUAoU^hRb%w`^e5=K!|BLf`;U2_AoS{;RIOAyDz*lhDu!63HD`^7nV e%7TmXa`N-i85kHCH~$fT%?=V3K^6tdfB^u>>=;}C delta 39 vcmZp1XmOa}&nUeyU^hRb^kyD`62{5BA|9Jh2+FffEK}IbF7beUVwo%e0fY?T diff --git a/.gitignore b/.gitignore index 4068516..7cdb4e8 100644 --- a/.gitignore +++ b/.gitignore @@ -118,4 +118,4 @@ dmypy.json package-lock.json node_modules/ 网页拼音注释/ -*.zip \ No newline at end of file +# *.zip \ No newline at end of file diff --git a/bookmarks-plus/README.en.md b/bookmarks-plus/README.en.md new file mode 100644 index 0000000..645e81a --- /dev/null +++ b/bookmarks-plus/README.en.md @@ -0,0 +1,100 @@ +# Bookmarks Plus (Chrome Extension) + +A modern Chrome bookmarks manager extension built with Vue 3, TypeScript, and Vite. Features local bookmark tree management, Gitee cloud sync, smart search, batch operations, and more. + +[![License](https://img.shields.io/github/license/yongtaozheng/bookmarks-manage)](LICENSE) +[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/your-extension-id?label=Chrome%20Web%20Store)](https://chrome.google.com/webstore/detail/your-extension-id) +[![Build Status](https://img.shields.io/github/actions/workflow/status/yongtaozheng/bookmarks-manage/ci.yml?branch=main)](https://github.com/yongtaozheng/bookmarks-manage/actions) + +--- + +## Screenshots + +![Popup Main](./screenshots/popup-main.png) +![Gitee Config](./screenshots/popup-gitee.png) +![Global Search](./screenshots/search-demo.png) + +--- + +## Features + +- 📚 **Bookmark Tree Management**: Visualize and manage bookmarks with multi-level folders, batch delete, and drag-and-drop sorting. +- 🔍 **Global Search**: Trigger search box with triple Cmd/Win, fuzzy search bookmarks/folders, type folder name to browse all bookmarks inside. +- ☁️ **Gitee Cloud Sync**: One-click sync to Gitee repo, supports overwrite/merge upload and download. +- 🗂️ **Recursive Merge**: Merges all folders and bookmarks recursively, avoiding duplicates. +- 🛡️ **Data Security**: Config stored in browser indexDB. +- 🖥️ **Modern UI**: Beautiful, user-friendly, dark mode supported. + +## Getting Started + +```bash +git clone +cd bookmarks-plus +npm install +npm run dev +``` + +- Visit `http://localhost:5173` for UI preview. +- For extension development, use Chrome's "Load unpacked" and select the `dist` folder. + +## Build + +```bash +npm run build +``` + +- The build output is in the `dist/` directory, ready for Chrome extension loading. + +## Directory Structure + +``` +bookmarks-plus/ +├── public/ # Public assets +│ └── icon.jpg # Extension icon +├── src/ +│ ├── assets/ # Static assets +│ ├── components/ # Vue components (e.g. BookmarkTree) +│ ├── App.vue # Main UI +│ ├── popup.ts # Popup logic, Gitee sync +│ ├── content-search.ts # Content script, global search +│ ├── background.ts # Background script, bookmark data communication +│ └── style.css # Global styles +├── popup.html # Extension popup page +├── manifest.json # Chrome extension manifest +├── vite.config.ts # Vite config +└── ... # Other config files +``` + +## Main Features + +- **Popup Panel**: Click the extension icon to open, supports one-click open bookmarks manager, Gitee config, sync buttons, help. +- **Gitee Sync**: + - Overwrite Save: Overwrite Gitee with local bookmarks. + - Merge Save: Recursively merge local and Gitee bookmarks, then save. + - Overwrite Fetch: Replace local bookmarks with Gitee data. + - Merge Fetch: Recursively merge Gitee and local bookmarks, then replace local. +- **Global Search**: Triple Cmd/Win to open search, supports fuzzy match, folder search, enter/click to jump. + +## Permissions + +- `bookmarks`: Access and manage browser bookmarks +- `tabs`, `activeTab`: Open new tabs +- `storage` (via indexDB): Store config locally + +## Gitee Config + +Fill in your Gitee Token, repo, branch, and file path in the popup panel. Supports auto-save and auto-fill. + +## Development Tips + +- Use the latest Chrome browser. +- For extension debugging, use "Developer mode" and load the `dist` directory. +- Code is TypeScript strict-mode, VSCode recommended. + +## Contribution + +PRs and issues are welcome! + +--- + +> **Tip:** Replace badge URLs and screenshot paths with your own resources as needed. diff --git a/bookmarks-plus/README.md b/bookmarks-plus/README.md index 33895ab..4e4b475 100644 --- a/bookmarks-plus/README.md +++ b/bookmarks-plus/README.md @@ -1,5 +1,94 @@ -# Vue 3 + TypeScript + Vite +# 书签管理器(Chrome 插件) -This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `