A multi-platform console application that uses Spectre Console to create a visually appealing CLI that connects to the YNAB API and displays basic budget information. Verified to work on Windows, Mac and Linux.
Construction ahead |
---|
This project is still a work in progress and although it has a full release, this is just a personal project. Therefore it may have rough edges and incomplete features. Feel free to suggest features, provide feedback, or report bugs on the issue tracker.
- Windows/MacOS/Linux (tested to work on Sequoia on Apple Silicon and on Ubuntu)
- YNAB account w/ a Developer Personal Access Token.
- Instructions: https://api.ynab.com/
- Binaries are self-contained executables and do not require installing the dotnet runtime
- Eventually a framework-dependent binary will be provided to save space for users that already have the runtime
- Download the latest stable release executable
- Open a Terminal
- Navigate to the folder where you downloaded or saved the
ynac
executable - Run
./ynac.exe
(Windows) or./ynac
(MacOS/Linux) - You will be prompted for your YNAB API token. You will want to save this to the
config.ini
that is created on first run so that you do not need to input it every time- It is on the roadmap for this step to be automated
- You will be presented with the budget selection options
- Alternatively you can provide your budget name as the first argument to ynac (e.g.
ynac mybudget
) - This works like a search so you can provide a partial name
- If only one budget is found it will be opened immediately
- Alternatively you can provide your budget name as the first argument to ynac (e.g.
- Using the exe from any location
- Place the executable somewhere on your existing path or
- Add the folder containing the
ynac
binary to your path
- Microsoft Dotnet
- YNAB account w/ a Developer Personal Access Token.
- Instructions: https://api.ynab.com/
- Create a YNAB Developer Personal Access Token ( instructions above )
- Copy the token you created. You cannot access it again and must generate a new one if you do not save it.
- Install the dotnet 9 SDK
- Download the git repo
- Navigate to the download folder
- Paste the Personal Access Token from YNAB into the
config.ini
file in theToken
field underYnabApi
- Type
dotnet run
on the command line in the root folder or run in VS/VSCode/Rider/etc. - You will be presented with the budget selection options
- Select a budget and it will be displayed on the console 🥳
- Spectre.Console
- The reason the console looks good at all
- Microsoft Resilience
- Ensures HTTP requests are reliable by providing automatic retries and failure handling
- Include additional features from the YNAB API
- Further details about the existing commands
- Provide write commands (e.g. approving or categorizing a transaction)
- Further improvements detailed on the issue tracker