https://github.com/abdelilahou/docspdf-go
turn any documentation into a pdf
https://github.com/abdelilahou/docspdf-go
chromedp documentation go golang goquery pdf scrapper
Last synced: about 2 months ago
JSON representation
turn any documentation into a pdf
- Host: GitHub
- URL: https://github.com/abdelilahou/docspdf-go
- Owner: AbdelilahOu
- Created: 2023-10-04T10:35:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-02T14:31:01.000Z (over 1 year ago)
- Last Synced: 2025-02-14T01:53:25.480Z (4 months ago)
- Topics: chromedp, documentation, go, golang, goquery, pdf, scrapper
- Language: Go
- Homepage:
- Size: 24 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DocsPdf-go
## Main Idea
- Pass the url of your page
- Pass the base path of your docs : (/docs or /documents)
- Get all the paths in form of three that are under the docs
- Make nested folders for each pdf like file system routing## Run
```
go run main.go "https://vuejs.org/guide/introduction.html" "guide"
``````
go run main.go "https://nextjs.org/docs" "docs"
```## End
https://vuejs.org/guide/introduction.html -> assets/vue.js/guide/introduction.html.pdf