pdfcpu
lipgloss
Our great sponsors
pdfcpu | lipgloss | |
---|---|---|
30 | 26 | |
6,184 | 7,212 | |
4.0% | 3.3% | |
9.0 | 7.8 | |
9 days ago | 6 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pdfcpu
- Show HN: A PDF Processing CLI/API Written in Go
- Show HN
-
Making a PDF that's larger than Germany
Slightly tangential: if you are hacking on PDFs, manually or otherwise, this is an incredibly useful tool: https://pdfcpu.io/ (not the author, just a user)
-
Stirling-PDF: local web application to perform various operations on PDFs
A really nice, stand-alone command line tool is pdfcpu.
-
pdfcpu v0.6.0 out! - pdfcpu.io
Check it out => https://github.com/pdfcpu/pdfcpu/releases/tag/v0.6.0
-
Marker: Convert PDF to Markdown quickly with high accuracy
I can report that the closest I've came before is with PDFMiner (https://pypi.org/project/pdfminer/) for Python. The benefit of this one is that it retains styling information, so that italics and the like can be retained, at least with some post-processing (I think one might need to convert certain CSS-classes to actual or tags).
The other option I have started looking into is the PDFCPU library for Go. It is a bit more low-level than PDFMiner, but one gets out very well structured info, that seem it might be possible to post-process quite well, for one's particular use case and PDF layouts: https://github.com/pdfcpu/pdfcpu
I also now tried the Marker tool in the OT, and it seems to do a reasonable job. It did intermingle some columns though, at least in some tricky cases such as when there were a round shaped image in between the two columns. One note is that Marker doesn't seem to retain styling like italics though.
-
PDFcpu snippet for read text of PDF file?
Of course, the best way would be to solve it via the API without CLI. But this doesn't seem to work. https://github.com/pdfcpu/pdfcpu/issues/122
- wie splittet ihr denn PDFs - ich hab hier einige - die ich zerlegen muss in Teile
- Do you know any library to make pdf in golang?
- Pdfcpu: A Go PDF Processor
lipgloss
-
When creating console based applications how do you replicate the following realtime updates:
I recommend looking at the charm libraries. Lip gloss https://github.com/charmbracelet/lipgloss can provide the styling and bubble tea can handle the screen updates and framework https://github.com/charmbracelet/bubbletea there is a premade progress bar component in bubbles library. https://github.com/charmbracelet/bubbles
- Glamorous tables with Go
-
A Java library to work with the ANSI OSC52 terminal sequence.
I saw https://github.com/charmbracelet/lipgloss and was wondering if there is anything equivalent in the JVM ecosystem. I couldn't find anything so I started crawling its deps tree and reimplementing to fall asleep at night.
-
Portal - a modern file transfer utility 🌌✨
nhooyr/websocket, shollz/pake, charmbracelet/bubbles, charmbracelet/bubbletea, charmbracelet/lipgloss, muesli/reflow, klauspost/pgzip and many, many more.
- toolman.org/terminal/decor
- Equivalent to Pythons Rich?
-
GUI brain tries to learn shell scripting
Off the top of my head i am thinking of charmbracelet/lipgloss but I don't know if its the best suited to my use case.
-
Destroy command for zpools, datasets and snapshots
Or, quit worrying about how to fix every utility ever, and just make a nice-looking ZFS TUI with "Are you sure?" boxes and progress bars, using Lip Gloss. That kind of thinking has led to about 50 offshoots of the top utility. (Nothing wrong with that. Long may they all run!)
-
Powerful template for CLI projects in Go 🐹
Predefined colors for lipgloss
-
I built my first CLI tool to help me look up HTTP status codes!
Yes i've seen the centered text. Take a look at lipglossif you don't mind adding dependencies, they make the styling much more easier in my opinion.
What are some alternatives?
gopdf - A simple library for generating PDF written in Go lang
bubbletea - A powerful little TUI framework 🏗
go-wkhtmltopdf - Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface
pterm - ✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible.
qpdf - QPDF: A content-preserving PDF document transformer
protoactor-go - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
merge2pdf - Merge Image and PDF files (optionally with selective pages) with lossless quality
charm - The Charm Tool and Library 🌟
markpdf - Watermark PDF files using image or text
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
ngrok - Unified ingress for developers
gum - A tool for glamorous shell scripts 🎀