arifwn / criticalcss

Critical CSS API Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Critical CSS API Server

Required environmental variable:

  • SECRET_KEY: used for shared key authentication

Sample usages:

  • curl -d "url=https://groverwebdesign.com/&key=MYSECRETKEY" -X POST http://localhost:3000/web/submit/
  • curl -d "url=https://groverwebdesign.com/&key=MYSECRETKEY&callback_url=http://httpbin.org/post" -X POST http://localhost:3000/api/submit/async/

About

Critical CSS API Server


Languages

Language:JavaScript 86.2%Language:Dockerfile 12.6%Language:Shell 1.2%