Simple Node JS HTML page clipper function for DigitalOcean Functions.
Get page from url
, make it readable and return cleaned article in json
.
- Deploy in DO Functions service.
- Set
USER_TOKEN
env var.
Make request <path-to-app>/clipper/clip?url=YOUR-URL
with header x-user-id=USER_TOKEN
.