bwits/html2txt

By bwits

Updated over 7 years ago

convert html file to plain text file

Image
1

1.7K

Convert html file to plain text file and run html2txt as local command

suppose the html file test.html is at your current folder

$ docker pull bwits/html2txt
$ alias html2txt="docker run -ti --rm -v $(pwd):/app bwits/html2txt"
$ html2txt /app/test.html /app/test.txt
$ cat test.txt

Now you should have the test.txt file generated in current folder

source code:

https://github.com/BWITS/Docker-builder/tree/master/html2txt/Alpine

Docker Pull Command

docker pull bwits/html2txt