Skip to content

用go实现网页源码转换为pdf及office文档。html2pdf,html2word, html2excel...

License

Notifications You must be signed in to change notification settings

wuwenrufeng/goodoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goodoc

=======

用go实现网页源码转换为pdf,markdown及office文档。html2pdf,html2word, html2markdown, markdown2html, html2excel...

goodoc ≈ good go doc

演示国内

How to setup goodoc

0. Install pandoc and pdfTex

1. Install pandoc, and LaTeX should be installed too.

➜  ~  pandoc --version
pandoc 2.17.1.1
➜  ~  latex --version
pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021)
kpathsea version 6.3.3

2. Clone the repo

git clone git@github.com:wuwenrufeng/goodoc.git

3. Compile the source and run examples

cd examples

go run *.go

4. run http server

cd server

go run main.go

TODO

  • logs

  • more tests

  • more examples

About

用go实现网页源码转换为pdf及office文档。html2pdf,html2word, html2excel...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published