Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swizec/personal-runway
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.
https://github.com/swizec/personal-runway
Last synced: 3 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/swizec/personal-runway
- Owner: Swizec
- Created: 2011-12-26T18:01:17.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-11-26T00:23:02.000Z (almost 10 years ago)
- Last Synced: 2024-04-08T15:42:21.818Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 853 KB
- Stars: 29
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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 accountPut 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)