Skip to content

Commit

Permalink
Merge bbdc81f into 78e1c73
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonheecs committed Oct 7, 2018
2 parents 78e1c73 + bbdc81f commit 3d3dcc5
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) Jason Hee

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Web Page to HTML Content Converter

[![Build Status][travis-badge]][travis-link] [![Coverage Status][coveralls-badge]][coveralls-link]

This app will scrape a url and return the page's HTML source, but without the HTML presentation attributes (`style`, `width`, `height`, etc.)

App is hosted at [https://page-to-html.herokuapp.com/](https://page-to-html.herokuapp.com/)

## Prerequisites
- Docker >= 18.01
- npm >= 5.3.0
- webpack >= 3.1.0
- Ruby >= 2.5.1
- [Bundler gem](https://bundler.io/)
- [overcommit gem >= 0.46.0](https://github.com/brigade/overcommit)

## Installation
```bash
git clone https://github.com/jasonheecs/page-to-html-converter.git .
cd page-to-html-converter
make build && make start
```

## Testing
Testing consists of [various linting tools](.overcommit.yml) and [Rspec tests](./app/spec).

To run tests, make sure you are in the project root and run:
```bash
make test
```

## License
MIT

[coveralls-badge]: https://coveralls.io/repos/github/jasonheecs/page-to-html-converter/badge.svg?branch=master
[coveralls-link]: https://coveralls.io/github/jasonheecs/page-to-html-converter?branch=master
[travis-badge]: https://travis-ci.com/jasonheecs/page-to-html-converter.svg?branch=master
[travis-link]: https://travis-ci.com/jasonheecs/page-to-html-converter

0 comments on commit 3d3dcc5

Please sign in to comment.