# TruthHun/DocHub

参考百度文库，使用Beego（Golang）开发的开源文库系统

Repository: https://github.com/TruthHun/DocHub
Canonical: https://ross.abutalabs.com/products/dochub
Homepage: https://www.wenkuzhijia.cn
Language: Go
License: Apache-2.0
License Family: permissive
Topics: dochub, beego, golang, office
Last push: 2023-02-14T07:21:28+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3041, "days_push": 1296, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2952, forks 734 (observed 2026-08-28T04:07:32.071023+00:00)

## What it is
DocHub is an open-source document library (wenku) system inspired by Baidu Wenku, built with Go and the Beego framework. It converts Office, PDF, mobi, epub, and chm documents to SVG for online reading, with full-text search, watermarks, and a points system.

## Use cases
- build a document sharing site like Baidu Wenku
- self-host an online document library
- render office and pdf documents in the browser
- run a document store with full-text search and points
- share technical docs and manuals online

## When to choose
- you want a self-hosted Baidu-Wenku-style document site in Go
- you need online reading of office/pdf/epub documents with watermarking
- you want a mature, proven system with templates for PC and mobile

## When to avoid
- you are starting a new project - the successor moredoc is actively developed instead
- you need a lightweight document viewer without a full CMS stack
- you cannot run external dependencies like LibreOffice, pdf2svg, and Calibre

## Facets
- artifact type: application
- maturity: maintenance
- function: web-framework, search-engine, pdf, file-upload, templating
- domain: web-development, cms, documentation, files, pdf
- platform: go, self-hosted
- tags: document-library, wenku, beego, document-viewer, office-to-pdf, mysql, elasticsearch, watermarking, points-system, linux, docker, web-server

## Member repositories
- TruthHun/DocHub (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.071023+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:38.215116+00:00, confidence not recorded.
  - readme: https://github.com/TruthHun/DocHub (fetched 2026-08-28T04:07:32.071023+00:00, sha e101658eaead)
  - homepage: https://www.wenkuzhijia.cn (fetched 2026-08-29T09:47:50.234317+00:00, sha afa691b11371)
  - site_page: https://www.wenkuzhijia.cn/pages/about (fetched 2026-08-29T09:47:50.236981+00:00, sha 7728edba1803)
- Data as of 2026-08-30T08:39:29.467469+00:00.
