Skip to content

Automatically resolves the given URL into useful data

License

Notifications You must be signed in to change notification settings

opendream/url-resolver

 
 

Repository files navigation

Cofacts URL Resolver

Build Status Coverage Status

A GraphQL service that scraps the specified URL and returns scrapped result and summary extracted by [Readability.js]

Usage

First, create an .env file from .env.sample.

Run url resolver from built docker images

$ docker pull johnsonliang/cofacts-url-resolver
$ docker run --rm --env-file .env -p 4000:4000 johnsonliang/cofacts-url-resolver

Visit https://localhost:4000, you will be given a GraphQL Playground. Consult the schema on the right for reference and usage.

Development

First, create an .env file from .env.sample. Fill in your env.

Install development dependencies

# After git clone
$ cd url-resolver
$ npm install

Start dev server

$ npm start

About

Automatically resolves the given URL into useful data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.9%
  • Dockerfile 9.4%
  • Shell 0.7%