Joxi
An automatic personal finance tracker for your banks and crypto. All your finance data in Notion. No more manual data entry.
Features
- š¤ Automatic - Joxi runs every day and automatically updates your Notion database with your transactions.
- š Data in Notion - Joxi creates a well-structured database Notion with all your transactions and accounts.
- š Customizable - You can customize the database structure and the data that is imported.
- š¦ Multi-bank - Joxi supports multiple banks and crypto wallets.
- š§āš» No code - Joxi is a no-code solution. You donāt need to write any code to use it.
- š”ļø No custom servers - You just need to configure a GitHub Action.
- š¦ Open source - Joxi is open source and you can contribute to it.
- š Free - Joxi is free and you can use it for free.
How does it work?
- You grant access to:
- Your banks: A GitHub Secret storing yourās Nordigenās key, which will allow Joxi to communicate with your banks(through Nordigen).
- Your crypto wallets: A GitHub Secret storing yourās Coinbaseās key, which will allow Joxi to communicate with your crypto wallets in Coinbase.
- Your Notion database: A GitHub Secret storing yourās Notion API key, which will allow Joxi to write the data to your database.
- Joxi runs every day using a GitHub Action, and fetches your latest transactions from your banks and crypto wallets using Nordigen and Coinbase APIs.
- Joxi writes the data to your Notion database.
- You can now use Notion to analyze your transactions and create reports.
No one will have access to your data. You can always stop the service at any time.
GitHub Action
Joxi uses a GitHub Action to run every day and fetch the data. The action is triggered by a cron job, which runs every day at 12:07 AM UTC. You can change this behavior in the source code of the GitHub Action.
Requirements
- A GitHub account.
- An OB Nordigen account.
- A Notion account.
- A bank account or wallet to fetch the data from. Duh.
Setup
Before you start, please fork this repository.
Setup in Nordigen
Create the secrets
Create an account in Nordigen OB.
Go to User secrets and click in
New Secret Key. Add a name and allow all the IPs.Create two
New repository secretin GitHub:- Name:
NORDIGEN_KEY. Secret:IDtoken from step 2. - Name:
NORDIGEN_SECRET. Secret:Keytoken from step 2.
- Name:
Creating new connection to a bank.
Learn more about Nordigenās API.
You have to do this steps every time you want to connect to a new bank.
This guide will show you how to create an agreement with a bank using Nordigenās UI. You are free to use any other method to create the agreements.
- Search for your bank in Nordigenās UI and copy the
institution_id.
If you donāt find your bank, make sure to also search with
payments_enabledset totrue.
This step is optional[^1] Create a new agreement using Nordigenās UI:
- Make sure to allow
balances,detailsandtransactionsinaccess_scopefor better results. - Change the
institution_idwith the one you copied in step 1.
- Make sure to allow
Build the link. Create a new requisitions using Nordigenās UI:
- Change the
institution_idwith the one you copied in step 1. - If you have create an agreement manually, make siure to change
agreement. - Redirect URL can be a dummy one like
https://example.com.
- Change the
[^1] Use this step only if you want to specify other than default end user agreement terms: 90 days of transaction history, 90 days of account access period and full scope of information (details, balances, transactions). If no custom end user agreement is created, default terms will be applied.
Setup in Coinbase
TODO
Setup in Notion
Go to Notionās Integration page and create a new integration. Make sure to select:
Read content,Update contentandInsert content. InUser Capabilities, you can selectNo user informationas no user information will be needed.Copy the
Integration Token.Duplicate the Joxi template and add it to your Notion workspace.
Once you have duplicated the template, click on
More options>Add connections> Select your connection you created in step 1.Create two
repository secretsin GitHub:- Name:
NOTION_TOKEN. Value:Integration Tokenfrom step 3. - Name:
NOTION_MAIN_PAGE_ID. Value: The id of the page you duplicated in step 4. You can find the id in the URL of the page. For example, the id herehttps://onmax.notion.site/Joxi-Template-907135d9cb70445eb99e4f137562353bis907135d9cb70445eb99e4f137562353b.
- Name:
Tech stack
- Nordigen - Open Banking API.
- Coinbase - Crypto API.
- Notion - Database.
- GitHub Actions
- Deno with TypeScript
Roadmap
- Publish the code to Denoās registry and move the GitHub Action to a separate repository.
- Improve Notion Template.
- Add support for Categorization.
- Add support for Kucoin.