GithubHelp home page GithubHelp logo

levibostian / ynab-scheduled-ical Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 17 KB

Generate iCal calendar that contains your scheduled YNAB transactions

License: MIT License

TypeScript 100.00%
ynab ynab-api

ynab-scheduled-ical's Introduction

ynab-scheduled-ical

More easily see your upcoming YNAB scheduled transactions.

This project generates a calendar you can subscribe to using the calendar app you're already using that displays all of the scheduled transactions in your YNAB budget.

Why did you create this?

I create my month's YNAB budget at the beginning of each month. One step in creating my budget is to view upcoming events in my calendar to see if I planned for those events in my budget. Then, I check my scheduled transactions for the month in YNAB to see if there are any I should delete or modify.

Because I am swapping between my YNAB budget and my calendar app, I figured being able to see both at once would make the task easier.

Getting started

Want to use this project yourself? Follow these steps.

  • Fork this repo.
  • In the repository settings, set these GitHub Action Secrets:
  1. YNAB_PERSONAL_ACCESS_TOKEN - Generate a new YNAB personal access token. Follow the YNAB API docs Quick Start section for the most up-to-date method on how to generate this token.
  2. YNAB_BUDGET_NAME - The name of your budget in YNAB.
  3. GIST_PERSONAL_ACCESS_TOKEN - A GitHub personal access token with the permissions gist enabled.
  • Run the GitHub Action workflow manually to have the calendar created.
  • Open the newly created Gist and get the Gist ID. Put that ID into this URL:
https://gist.githubusercontent.com/<your-github-username>/<gist-id>/raw/ynab_scheduled.ics
  • Open your calendar app and subscribe to this ical URL.

Tip: Keep this URL a secret. Unless you want others to view your upcoming transactions, don't share the URL. If you do share the URL by accident, just delete the Gist and the next time this project runs, a new Gist will be created.

Contribute

Want to contribute to this project?

Dev setup

  • Install Deno.
  • Run the deno run script that's located in ./.github/workflows/update-gist-ical.yml. It's recommended to run with --debug at the end of the command during local development.

ynab-scheduled-ical's People

Contributors

levibostian avatar

Watchers

 avatar  avatar

ynab-scheduled-ical's Issues

README

  • problem it solves
  • contributing, dev setup, how to debug
  • design
    • log, but no private information
    • anyone can use by forking and setting up

Create script that generates ical file

  • Gets all future YNAB transactions for all accounts.
  • From list of transactions, create an ical calendar that has all of the transactions added to it's day the transaction will be made. Make each event an "all day" event. Use method .save() to save it to a file.
  • Let's test this file. Can I add it to my local mac calendar and make sure it's accurate?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.