Joxi
An automatic personal finance tracker for your banks and crypto. All your finance data in Notion. No more manual data entry.
GitHub Action
You can run this code in a GitHub Action, which can run everyday and update your Notion database. Learn more here.
Features
- š¤ Automatic - Joxi comes with a GitHub Action that can run everyday.
- š Data in Notion - Joxi creates a well-structured database Notion with all your transactions and accounts.
- š¦ 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.
- š¦ Open source - Joxi is open source and you can contribute to it.
- š Free - Joxi is free.
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 environmental variables or
new repository secret
(if you are using GitHub Action):- Name:
NORDIGEN_KEY
. Secret:ID
token from step 2. - Name:
NORDIGEN_SECRET
. Secret:Key
token 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_enabled
set totrue
.
This step is optional[^1] Create a new agreement using Nordigenās UI:
- Make sure to allow
balances
,details
andtransactions
inaccess_scope
for better results. - Change the
institution_id
with 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_id
with the one you copied in step 1. - If you have create an agreement manually, make sure 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 content
andInsert content
. InUser Capabilities
, you can selectNo user information
as 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 new environmental variables or
new repository secret
(if you are using GitHub Action):- Name:
NOTION_TOKEN
. Value:Integration Token
from 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-907135d9cb70445eb99e4f137562353b
is907135d9cb70445eb99e4f137562353b
.
- Name:
Three keys to understand how does it work
- Your banks: With your Nordigenās key in an environmental variable, Joxi can to communicate with your banks(through Nordigen).
- Your crypto wallets: With your Coinbaseās key in an environmental variable, Joxi can to communicate with your wallets in Coinbase.
- Your Notion database: Another environmental variable will held your Notion API key, which will allow Joxi to write the data to your database.
No one will have access to your data. You can always stop the service at any time.
Tech stack
- Nordigen - Open Banking API.
- Coinbase - Crypto API.
- Notion - Database.
- GitHub Actions
- Deno with TypeScript
Roadmap
- Improve Notion Template.
- Add support for Categorization.
- Add support for Kucoin.