MCPcopy Index your code
hub / github.com/dicoder-dev/vitepress-simple

github.com/dicoder-dev/vitepress-simple @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
675 symbols 1,570 edges 178 files 243 documented · 36% updated 12mo agov1.1.0 · 2024-07-23★ 2343 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

VitePress Configuration Tool

English | 简体中文

vpsimple

→→→ Quick Start Video Tutorial

Features

  • Developed based on wails2+vite+vue3+typescript
  • Lightweight client program based on Webview2
  • Online editor for markdown documents
  • Support for document directory tree, including moving, cutting, copying, and pasting operations
  • Support for directly copying and pasting images into markdown documents and automatically uploading them to the server
  • Native configuration parsing, directly parsing and rendering .vitepress/config.mts
  • Multilingual support, different languages can be configured separately
  • Navigation bar can be visually configured, and different languages can be separately configured
  • Sidebar can be visually configured, supporting multiple sidebar configurations, multiple languages, and automatic sidebar recognition
  • Search configuration support, optional local configuration or third-party search services

Quick Start Guide

Free download for Mac and Windows installation packages: GitHub download link | Gitee download link

View the complete document:Chinese Documentation | English Documentation

Below is an example VitePress project for easy exploration:

Create VitePress project

Create VitePress project

Enter the project name and select the project root directory:

4631dcde70f7427bb5d07a2bd6d80b76.png

online preview

img.png

After the creation is completed, you can click the folder icon to enter the project root directory

# Go to the project root directory, not the original directory
npm install
npm run docs:dev

After executing the above command, VitePress can be tested to run. The default address is: http://localhost:5173. Modifying the document content or configuration in vpsimple will automatically update.

Build the Project

Runtime Environment Requirements

  • Go (latest version)
  • Node.js >= 16
  • NPM >= 9

Install Wails

go install github.com/wailsapp/wails/v2/cmd/wails@latest

Clone the Repository

git clone https://github.com/zhangdi168/VitePressSimple --depth=1

Build the Frontend Code

cd ./frontend
npm install 

Compile and Run the Development Version

# preview
wails dev

# build
wails build

About the Author

Author's Personal Website: http://xiaod.co/

Author's Wechat:bcxiaod

This project is completely free. If it has been helpful to you, you can buy the author a coffee ☕️.

Extension points exported contracts — how you extend this code

Position (Interface)
(no doc)
frontend/wailsjs/runtime/runtime.d.ts
navItem (Interface)
(no doc)
frontend/src/configs/navs.ts
Numbers (Interface)
(no doc)
application/pkg/mynum/tostring.go
NotifyMessage (FuncType)
(no doc)
application/services/shell/shell.go
Size (Interface)
(no doc)
frontend/wailsjs/runtime/runtime.d.ts
VitePressHome (Interface)
(no doc)
frontend/src/types/home.d.ts
Screen (Interface)
(no doc)
frontend/wailsjs/runtime/runtime.d.ts
Hero (Interface)
(no doc)
frontend/src/types/hero.ts

Core symbols most depended-on inside this repo

add
called by 79
frontend/src/utils/historyProject.ts
Close
called by 50
application/pkg/myexcel/helper.go
m
called by 28
frontend/public/bigimg/fancybox.umd.js
m
called by 28
vitepress-template/docs/public/plugins/bigimg/fancybox.umd.js
i
called by 21
frontend/public/bigimg/fancybox.umd.js
i
called by 21
vitepress-template/docs/public/plugins/bigimg/fancybox.umd.js
o
called by 20
frontend/public/bigimg/fancybox.umd.js
S
called by 20
frontend/public/bigimg/fancybox.umd.js

Shape

Function 499
Method 100
Struct 40
Interface 23
Class 8
TypeAlias 4
FuncType 1

Languages

Go58%
TypeScript42%

Modules by API surface

frontend/wailsjs/runtime/runtime.js52 symbols
vitepress-template/docs/public/plugins/bigimg/fancybox.umd.js33 symbols
frontend/public/bigimg/fancybox.umd.js33 symbols
application/services/system/SystemService.go19 symbols
frontend/src/store/index.ts18 symbols
frontend/wailsjs/go/system/SystemService.js17 symbols
application/services/server.go15 symbols
application/pkg/utils/ternary.go15 symbols
frontend/src/store/vpconfig.ts13 symbols
application/services/tree.go13 symbols
frontend/src/utils/tree.ts12 symbols
application/pkg/autoupdate/func.go12 symbols

For agents

$ claude mcp add vitepress-simple \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact