Skip to content

"All Docs" is a tool that enables online previewing, storage, and sharing of documents such as Word, Excel, PowerPoint, PDF, and images (Pic). It supports full-text search for all document information. “全文档”(All Docs),Word, Excel, PPT, PDF, Pic等文档在线预览、存储、共享的工具,并且支持全文搜索的所有的文档信息。

License

Notifications You must be signed in to change notification settings

Jarrettluo/all-docs-vue

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

全文档

支持全文检索的文档分享、存储系统。

关于全文档

在小团队中往往会产生大量的协作文档。例如,我们会将各类文档放在网盘、svn等软件中,但是存在文档内的内容无法快速搜索的问题。因此,专门开发了一个用于存储ppt、word、png等文档的,支持私有部属的知识库的检索。

体验地址:http:https://81.69.247.172/#/

管理员账号:admin123 管理员密码: admin123

开源地址

前端项目 https://github.com/Jarrettluo/all-docs-vue.git

后端项目 https://github.com/Jarrettluo/all-docs

选择mongoDB作为主要的数据库,存储文档和文件。

后端技术:SpringBoot + MongoDB + ES + Redis

前端技术:Vue + axios + iView + ...

  • pdf 预览方案: pdfjs-dist
  • docx预览方案(对doc支持非常差):docx-preview
  • ppt预览方案(后端生成pdf后预览):pdfjs-dist
  • excel预览方案:vue-office/excel

快速体验 🌞

在ubuntu 18.04 环境下测试通过

# 克隆项目
git clone https://github.com/Jarrettluo/all-docs.git

# 切换为管理员
su root

# 切换到工作目录
cd all-docs && cd docker

# 修改文件权限
chmod +x auto.sh

# 启动脚本
sudo ./auto.sh

注意:因为快速体验是采用默认参数进行安装,使用的版本也可能比较旧,因此建议不要在生产环境中使用。

开发者浏览

all-docs项目是一个前后端分离项目。 如果只是想启动前端项目可以采用如下步骤:

# 拉取项目
git clone https://github.com/Jarrettluo/all-docs-vue

# 切换分支(如果有必要的话,默认是master分支)
git checkout develop

# 找到 路径为:./src/api/request.js 并 修改request.js 
# 其中baseURL就是默认的用户地址
baseURL: 'http:https://81.69.247.172:8082/api/v1.0',

# 安装依赖
npm install 

# 其中服务
npm serve

成功以后控制台可以看到如下内容:

  App running at:
  - Local:   http:https://localhost:8080 
  - Network: http:https://ip:8080

作者开发环境如下,供参考:

$ node -v
v14.16.1

$ npm -v
6.14.12

项目部署 🌴

路线图

暂无

提交代码

一起来贡献

  1. Fork 该项目
  2. 创建自己的分支 (git checkout -b feature/AmazingFeature)
  3. 提交你的功能 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 打开一个PR

许可证

查看 LICENSE 文件。

联系我

欢迎加入微信交流群,一起玩😄,如果微信群二维码失效,可以加我微信拉你进群。

imGroup

如果有二次开发或者私有部署需求,请联系我

(添加微信请备注"全文档")

imGroup

Jarrett Luo - [email protected]

致谢

感谢天南地北的朋友支持,让项目不断维护更新!

如果您觉得项目带给您一些启发或者帮助,欢迎大赏支持!

imGroup

About

"All Docs" is a tool that enables online previewing, storage, and sharing of documents such as Word, Excel, PowerPoint, PDF, and images (Pic). It supports full-text search for all document information. “全文档”(All Docs),Word, Excel, PPT, PDF, Pic等文档在线预览、存储、共享的工具,并且支持全文搜索的所有的文档信息。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published