Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marialuizaleitao/golang-pdf-generator
A Go application for generating PDFs from HTML templates using the wkhtmltopdf library.
https://github.com/marialuizaleitao/golang-pdf-generator
golang
Last synced: about 2 months ago
JSON representation
A Go application for generating PDFs from HTML templates using the wkhtmltopdf library.
- Host: GitHub
- URL: https://github.com/marialuizaleitao/golang-pdf-generator
- Owner: marialuizaleitao
- Created: 2024-05-28T18:27:57.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-05-29T12:13:03.000Z (7 months ago)
- Last Synced: 2024-05-30T11:45:26.970Z (7 months ago)
- Topics: golang
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go PDF Generator
This is a simple Go application for generating PDF files from HTML templates using the wkhtmltopdf library.
## Technologies Used
- **Go**: Go is an open-source programming language developed by Google, known for its simplicity, performance, and concurrency support. We used Go for the backend logic of this application.
- **wkhtmltopdf**: wkhtmltopdf is an open-source command-line tool that converts HTML documents to PDF files using the WebKit rendering engine. We used the Go wrapper package `github.com/SebastiaanKlippert/go-wkhtmltopdf` to interface with wkhtmltopdf.
## Installation
To run this application, you need to have Go installed on your system. You also need to have wkhtmltopdf installed and accessible from the command line.
To install the required Go dependencies, you can use the following command:
```bash
go mod download
```## Usage
1. Clone the repository:
```bash
git clone https://github.com/your-username/your-repository.git
cd your-repository
```2. Install dependencies:
```bash
go mod download
```3. Run the application:
```bash
go run main.go
```## Contributing
Contributions are welcome! If you have any ideas, suggestions, or bug fixes, feel free to open an issue or submit a pull request.