File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 cp resources/filemanager.css bindata/static/css/
4646 cp resources/login.css bindata/static/css/
4747 cp js/node_modules/@xterm/xterm/css/xterm.css bindata/static/css/
48+ cp js/node_modules/pdfjs-dist/build/pdf.worker.min.mjs bindata/static/js/pdf.worker.min.js
4849
4950 - name : Set up Go
5051 uses : actions/setup-go@v6
Original file line number Diff line number Diff line change 4949.PHONY : assets
5050assets : bindata/static/js/gotty.js.map \
5151 bindata/static/js/gotty.js \
52+ bindata/static/js/pdf.worker.min.js \
5253 bindata/static/index.html \
5354 bindata/static/icon.svg \
5455 bindata/static/favicon.ico \
Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ credential = "username:password"
212212- CSV:表格形式展示,支持复制原始内容
213213- Excel (xlsx/xls):表格形式展示第一个工作表
214214- Word (docx):转换为HTML展示,保留格式
215+ - PDF:使用PDF.js渲染,支持页面导航
215216
216217** 其他格式**
217218- TXT, LOG等文本文件:纯文本预览
314315- ** xlsx** - Excel文件解析
315316- ** mammoth** - Word文档解析
316317- ** papaparse** - CSV文件解析
318+ - ** pdfjs-dist** - PDF文件渲染
317319
318320### 后端开发
319321
@@ -344,7 +346,8 @@ go vet ./...
344346- ** 代码高亮** - 30+种编程语言语法高亮(GitHub Dark主题)
345347- ** 图片预览** - 支持JPG/PNG/GIF/SVG/WebP等格式
346348- ** 视频播放** - 支持MP4/WebM/OGG等格式在线播放
347- - ** 文档预览** - 支持Markdown/HTML/CSV/Excel/Word
349+ - ** 文档预览** - 支持Markdown/HTML/CSV/Excel/Word/PDF
350+ - ** PDF预览** - 使用PDF.js渲染,支持页面导航(上一页/下一页)
348351- ** 一键复制** - 代码和CSV内容快速复制到剪贴板
349352- ** 全屏模式** - 所有预览都支持全屏查看
350353
You can’t perform that action at this time.
0 commit comments