A selenium script to import transactions from excel file to moneylover.
- Create
data/transactions.xlsx
having each sheet name as the exact wallet name. - Create a folder to store browser sessions
mkdir chrome-data
- Add transactions in each sheet. Columns:
Date
: Example:31/12/2023
or12-Jun-2022
Category
:Expense
orIncome|Category
. Example:Expense|Bills & Utilities
Note
: My noteDescription
: Can be left as in the bank statementChange
orWithdraw
orDeposit
: Amount. Can be positive or negative ifChange
- Don't put transfers into the sheets. Remember them separately. The script does not support transfers.
- Add values in the env file:
cp .env.example .env
- Run:
conda create -n moneylover python=3.9 conda activate moneylover pip install -r requirements.txt python src/import_transactions.py
- Import the transfers manually.
- Run:
docker-compose up -d docker-compose exec selenium python src/import_transactions.py
- See whats happening inside container: http://localhost:7900/?autoconnect=1&resize=scale&password=secret