Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Every 3 days Personal-Runway predicts what my bank account will look like in two weeks and sends me an email. Income is gleamed from my Toggl account, expenses come from Toshl. The fetching and emailing logic is built with node.js, predictions and graphs in haskell.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 dataset
Octocat-spinner-32 emails
Octocat-spinner-32 fetching
Octocat-spinner-32 implementation
Octocat-spinner-32 modeling
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 def_secrets.js
Octocat-spinner-32 package.json
Octocat-spinner-32 runner.js
README
The basic idea:

 - fetch toshl csv
 - toggl.js script to fetch toggl data via api
 - create dataset for regression
 - run regression
 - script that does all this periodically
 - send email report every week


# Running it

To use this you will need
- node.js
- mongodb
- haskell
- a Toshl account
- a Toggl account
- a sendgrid account

Put everything into a directory. Fill in your sendgrid data in ./secrets.js, then fill out your Toggl and Toshl data in ./fetching/secrets.js

After that you just need to set up a cronjob to run ./runner.js every X days (I think 3 days is a good choice)
Something went wrong with that request. Please try again.