html2text

Golang HTML to plaintext conversion library (by jaytaylor)

Html2text Alternatives

Similar projects and alternatives to html2text

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better html2text alternative or higher similarity.

html2text reviews and mentions

Posts with mentions or reviews of html2text. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-18.
  • Meli – email client in the terminal, in the spirit of mutt
    2 projects | news.ycombinator.com | 18 Sep 2022
    I use aerc, which is similar to this, but written in Go. Most of these TUI mail clients have a configurable filter option for different MIME types. I've found that this program does a great job as an HTML to text filter:

    https://github.com/jaytaylor/html2text

    I think the classic approach is to use something like lynx or w3m with networking disabled, but I wasn't impressed with the output.

  • Use Plain-Text Email
    2 projects | news.ycombinator.com | 12 Sep 2022
    Years ago I made a Go library called `html2text' just for this:

    https://github.com/jaytaylor/html2text/

    It takes HTML and generates markdown-esque plaintext, with the main goal being to make the text easy to read. Then using MIME types, you can send both the rich HTML version alongside the generated plaintext version of your message.

    Hope this helps folks have the best of both worlds! :) cheers

Stats

Basic html2text repo stats
2
513
0.0
7 months ago

jaytaylor/html2text is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of html2text is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com