$ npm i -g serverless
$ npm run dev
The list of test articles is preview/test-articles.js. Please update with any good test articles.
- Install the iFrame Allow Chrome Extension to be able see the original articles (by bypassing the iFrame same origin rules)
- Make sure you have the dev server running (
$ npm run dev
) - Run
$ npm run preview
- Navigate to http://localhost:3001
https://ko334eoxac.execute-api.us-east-1.amazonaws.com/dev/amp?url=
https://3rxg5eils2.execute-api.us-east-1.amazonaws.com/prod/amp?url=
Based on the (MIT-licensed) Mercury Parser, which they use to power their own AMP converter.