tjbh / html2text-service

A RESTful service to convert HTML into Markdown-like text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This a RESTful web service that converts HTML to Markdown-like syntax using Aaron Swartz's html2text.py.

It's available online at: http://html2text.theinfo.org/

Running

With $ as your command prompt:

$ python web.py
...
$ curl --data-urlencode "html=<html><body><h1>Hello,</h1>World</body></html>" localhost:5000
# Hello,

World

License

html2text-service is distributed under the terms of the GPLv3.

About

A RESTful service to convert HTML into Markdown-like text


Languages

Language:Python 100.0%