Job Adventures - PDF generation | Jun 2024

This page summarizes the projects mentioned and recommended in the original post on dev.to

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
  • Wicked Pdf

    PDF generator (from HTML) plugin for Ruby on Rails

    My first contact with building PDFs was with rails using https://github.com/mileszs/wicked_pdf. The task always seems easy, you just build HTML and render that to pdf. And in fact, the part of rendering the info to the pdf is easy. The nightmare comes when implementing what is on the mockups. How will CSS behave in printing mode? What if we have a component that can’t split on a page break, it should jump in its entirety to the next page? What if our cover page does not count to the page total? What if the cover page does not have an header/footer? Why is the pdf so big?

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • WKHTMLToPDF

    Discontinued Convert HTML to PDF using Webkit (QtWebKit)

    Some of those problems I had in the past, but at the time I was just rendering tables for a financial report. The main problem I remember having was the CSS part and the long generation time. Because I was not implementing the styling at the time, the CSS part was not really my problem, and I am sure wicked_pdf provides some default styles to help in this part. The long processing times were a problem because we were generating pdfs with over 100 pages, this process would take about 5 min and would get worse if more pdfs were being requested in parallel. I can’t remember what the solution was at the time but I think we ended up generating some pdfs in the background and sending them by email when ready. The wicked_pdf gem uses an instance of https://github.com/wkhtmltopdf/wkhtmltopdf under the hood. This causes problems because it can only generate pdfs one by one. The solution would probably be having a dedicated service that would orchestrate multiple wkhtmltopdf instances.

  • gotenberg

    A developer-friendly API for converting numerous document formats into PDF files, and more!

    After some searching, I found https://github.com/gotenberg/gotenberg. It ticked a lot of boxes.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How would you go about making a website that generates pdf based on user input?

    1 project | /r/Frontend | 8 Feb 2023
  • Anyone know a good HTML to PDF converter?

    1 project | /r/DataHoarder | 8 Dec 2022
  • How do "modules" dynamic loading is working in GO ?

    3 projects | /r/golang | 6 Nov 2022
  • Html writes on top of eachother

    1 project | /r/laravel | 27 Jul 2022
  • What enterprise wide solutions have you adopted as alternatives to digitally generating documents that are not PDF?

    1 project | /r/ExperiencedDevs | 4 May 2022

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?