Giter Site home page Giter Site logo

lurst / url2markdown Goto Github PK

View Code? Open in Web Editor NEW

This project forked from not-kennethreitz/markdownplease.com

1.0 3.0 1.0 42 KB

Give it a URL, it'll give you Markdown. Powered by Readability.

Home Page: http://mdpls.co

License: GNU General Public License v3.0

Python 42.90% HTML 57.10%

url2markdown's Introduction

url2markdown

This is a very simple web service that will take a given URL, and return a Markdown representation of that page.

Powered by Readability, Requests, html2text, markdown, and Flask.

Usage

$ curl http://mdpls.co/?url=http://kennethreitz.org

# Hi, there.

My name is Kenneth Reitz.
...

Or, if you understand code:

$ mkvirtualenv url2markdown
$ pip install -r requirements.txt
$ READABILITY_TOKEN="XXX" python service.py

Enjoy!

Configuration

This application requires a Readability Parser Token.

$ export READABILITY_TOKEN=xxxxxx

You can use autoenv to do this easily.

License

Unfortunately, this code is released under GPLv3.

url2markdown's People

Contributors

lurst avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

keroloswilliam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.