Automation for posting invoices to Leeto
Go to file
2021-12-22 22:34:20 +01:00
node_red_data refactor: minor label changes 2021-12-22 22:34:20 +01:00
.env.browser_fingerprint feat: implement Leeto invoice posting 2020-11-11 18:09:05 +01:00
.env.netflix_cookies.example feat: just curl the billing page 2020-11-11 16:13:40 +01:00
.gitignore feat: add node-red flows as replacement of the bash script 2021-02-28 13:58:39 +01:00
config.sh.example feat: implement Leeto invoice posting 2020-11-11 18:09:05 +01:00
README.md feat: NodeRED implementation 2021-12-22 17:37:01 +01:00

What is this ?

Automation tool for POSTING your Netflix invoice to Leeto

Requirements

  • Docker
  • An instance of Url to PDF to convert html invoice to PDF

Usage

  1. cd node_red_data
  2. npm install
  3. docker run -it -p 1880:1880 -v $PWD/node_red_data:/data nodered/node-red
  4. You need to provide credentials for
    • url-to-pdf-api Credentials
      • url example https://url-to-pdf-api.herokuapp.com/api/render
      • apiToken for Url to PDF if needed
    • Netflix Credentials Netflix
      • netflixId get the value from cookies in a web browser ( through the inspector )
      • secureNetflixId get the value from cookies in a web browser ( through the inspector )
    • Leeto Credentials Leeto
      • login is an email
      • password

TODO

  • Add an automation cron
  • Deploy to cloud something
  • Multi-user (webui maybe ?)
  • Better handling error
  • Netflix login (can be a pain in the ass)
  • Trigger on the good invoice date of Netflix once a month
  • Implement other invoice types like Spotify