https://github.com/postlight/parser-api-express
Postlight Parser API express app
https://github.com/postlight/parser-api-express
labs
Last synced: about 1 year ago
JSON representation
Postlight Parser API express app
- Host: GitHub
- URL: https://github.com/postlight/parser-api-express
- Owner: postlight
- Created: 2020-02-19T14:35:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T19:41:59.000Z (over 3 years ago)
- Last Synced: 2024-04-15T00:44:04.120Z (about 2 years ago)
- Topics: labs
- Language: JavaScript
- Homepage:
- Size: 147 KB
- Stars: 8
- Watchers: 33
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mercury Parser API Express App
This repo provides a drop-in replacement for the [Mercury Parser](https://github.com/postlight/mercury-parser) API using Express js framework.
## Installation
```bash
# If you don't already have the mercury parser api installed, do that
git clone https://github.com/postlight/mercury-parser-api-express.git
# Install dependencies
npm install
# start the application
npm start
```
The application will by default be served on port: 3000
## Example
#### Local
http://localhost:3000/parse?url=https://trackchanges.postlight.com/building-awesome-cms-f034344d8ed
#### Glitch
http://postlight-mercury-parser-api.glitch.me/parse?url=https://trackchanges.postlight.com/building-awesome-cms-f034344d8ed
## License
Licensed under either of the below, at your preference:
- Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
## Contribution
Unless it is explicitly stated otherwise, any contribution intentionally submitted for inclusion in the work, as defined in the Apache-2.0 license, shall be dual licensed as above without any additional terms or conditions.