tree: 28ed3a21ae9ad49f29eb87aad73697d0a1e6d7aa [path history] [tgz]
  1. .vscode/
  2. .gcloudignore
  3. .gitignore
  4. .nvmrc
  5. app.yaml
  6. flags.ts
  7. index.ts
  8. license.ts
  9. logger.ts
  10. package-lock.json
  11. package.json
  12. plain_text_formatter.ts
  14. tsconfig.json
  15. types.ts

Fetch Licenses

A service that makes license files readable using headless Chrome.


  • This project uses TypeScript and Node.
  • Download fnm and run fnm install to install a suitable version of Node.
  • Run npm install to setup dependencies.
  • Use Visual Studio code to debug and test.


Local debugging

Run the web service locally using the provided package scripts. Run npm run-script debug and this spins up a local web server. You can use Visual Studio code to attach to this process. nodemon and tsc --watch compiles and restarts your service as you are making changes to the source code automatically in debug mode.

Example HTTP Request

curl -d '{"url": ""}' -H 'Content-Type: application/json' -X POST 'http://localhost:8080/convert/licenses'


  • Install the gcloud CLI.
  • Run npm run-script setupGcpProject to setup credentials.
  • Run npm run-script deploy to deploy the project to App Engine.