A general purpose YNAB enhancing browser extension for Chrome and Firefox. Have it your way!
The Toolkit for YNAB is officially in maintenence mode. This means updates will be much more infrequent and will likely only contain bug fixes and not new features. We're actively looking for some new maintainers who are willing to take on the duties of the approving and releasing updates. Please reach out to Josh Madewell in our Discord.
Toolkit for YNAB is a browser extension that enhances your experience with the YNAB Web Application.
YNAB have released an exciting new web version. Lots of power users of the older versions are asking for options that are easily implemented in a browser extension. Rather than ask the YNAB team to implement these features, let's just do it ourselves!
You can find a full list of features here and also on the options page of the extension once you have installed it which is where you can configure these features to be on or off.
The Toolkit is available for Chrome and Firefox. The extension is built using Browser (Web) Extension APIs which means support for Edge should be imminent as well.
If you don't want to build the extension from the source yourself, you can get it for each browser at the following links:
Note: Since the extension is built with Web Extensions and that is not supported by Safari, the extension itself is not supported on Safari. When/if Safari decides to support Web Extensions we will do what we can to provide support for their browser.
Contributions are greatly welcomed. If you want to contribute, it's best if you can let us know so we don't double up on effort. You can see what is being worked on and by whom on the roadmap. If you can't find what you want to build on the roadmap, feel free to put a note up on the github issues board to let the team know you're working on something new. When your code is ready, submit a pull request.
For documentation on how to build a feature, see the documentation.
This extension uses three main things in its build process:
Clone the repository.
Install Node.js (>= v14.17.0 and <= v16) and Yarn (>= v1.10.0).
brew. Ensure command line developer tools (
xcode-select --install) are also installed.
yarncan be installed via Chocolatey (
choco) package manager.
If on VS Code you can Run Task Setup to skip steps 4 & 5. Other Tasks to run are available in the Command Pallet.
yarn install within the folder you cloned. This will install all the dependencies needed for the project.
yarn build:development from within the folder you cloned which will build the Toolkit.
yarn watchwhich will monitor the project directory for changes and run
yarn build:developmentautomatically for you.
Deploying the extension:
dist/extensionfolder. Navigate to
chrome://extensionsand select the
dist/extensionfolder as the folder that you would like to load.
$ yarn global add web-ext
Also, make sure PATH is set up. Something like this in ~/.bash_profile
$ PATH=$PATH:$(yarn global bin)
Build and run in Firefox
$ web-ext run --source-dir dist/extension/
You can also disable reloading like this:
web-ext run --no-reload --source-dir dist/extension/
You may need to reload the Chrome plugin if it's been already installed. Visit
chrome://extensions and click the reload icon
We have a large number of contributors who each bring their own style to the code base. It was getting a bit hard to navigate all the features, as they each had their own way of indenting, etc etc. We held a team vote to unify our styles, and decided to follow the AirBNB style guide. It's a pretty good way to go, so give it a shot before you get too upset about having to change your style.
If you take a look at the
src folder of the codebase, you'll find what seems like a
lot going on but for the most part, the only directory you should be concerned with as
a feature developer will be
src/extension/features. Here, you will find more sub
directories which represent each section of the YNAB application. You should select
the folder which represents the section of the application you'd expect your feature to
run and start building there.
For more documentation see the following:
The new framework was built because the old one required you to include a lot of boilerplate code in every feature. The new one makes heavier use of ES6 features and allows us to remove the burden of boilerplate from new contributions.
The source code for this lives in the
Important note about line feeds!!! You must ensure that your code editor is configured to use Unix style line feeds (LFs) or the build will fail. This will primarily affect contributors using Windows as the LFs are different on that platform.
IMPORTANT NOTE: This extension is not affiliated with YNAB in any way and YNAB has not endorsed this at all. You Need a Budget and YNAB are registered trademarks of Steine LLC and/or one of its subsidiaries.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.