/bigbasket_splitwise_glue

Glue to parse Bigbasket Invoice html and add it as itemised bill in Splitwise

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

#Introduction This glue allows you to add your Bigbasket invoices as itemized expense in splitwise. The glue works by parsing the html of invoice generated by bigbasket. It can then be used to inject the item name and cost into a splitwise itemized expense using Autokey in Linux.

#Installation To install in linux open terminal, cd into this directory and run the following commands:

####installing dependencies

sudo apt-add-repository ppa:cdekter/ppa sudo apt-get update sudo apt-get install autokey-gtk python-tk python-lxml

####patching a bug in autokey (Not required anymore)

sudo patch -N /usr/lib/python2.7/dist-packages/autokey/scripting.py autokey.patch

####starting autokey

autokey &

####copying script and configuration to autokey directory

cp glue.py .glue.json ~/.config/autokey/data/Sample\ Scripts

#How to Run To run the program:

1. Download BigBasket Invoice as html file.
2. Launch autokey by running the command autokey or by any others means.
3. Open splitwise itemised bill.
4. Place the cursor in the first item field and press <ctrl>+<alt>+b (press h while holding ctrl and alt).
5. In the file selection dialog select the bigbasket invoice saved as html.
6. If the script is successful, it should inject the items and prices into the itemised bill fields.