Git Product home page Git Product logo

bahi-khata's Introduction


Logo

बही खाता

A Python app to help you become prudent in your spendings

View Demo · Report Bug · Request Feature

Table of Contents

landing-page.png

About The Project

Where does all my money go?

If you have been asking this question to yourself frequently, you are not alone. Handling finances can be tricky. This project is an attempt to help you plan right, so that you worry less while living from paycheck to paycheck.

Supported Receipts

  • Amazon

  • Flipkart

  • Myntra

  • Ola

  • Uber

  • Zomato

  • Swiggy

  • Curefit

Built With

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/Bahi-Khata-App/Bahi-Khata
  1. Install the dependencies
pip install -r requirements.txt
  1. Setup Gmail API
    1. Check gmail.readonly scope in your Gmail API OAuth consent page
    2. Add http://localhost:5000/push as redirect URI while generating credentials
    3. Download and place your Gmail API credentials in data/credentials.json
  2. Place your SendGrid API credentials in data/sendgrid.json
  3. (Optional) Place your analytics tracking script in base.html

Usage

  1. Set flask environment variable
export FLASK_APP="gmail_flask.py"
  1. Set LOCAL_DEV = True in gmail_flask.py
  2. flask run
  3. Complete the one time app verification

usage.gif

  1. If any relevant data is found, you'll receive an email report similar as below

sample_report.png

Deployment

  1. Set up Heroku CLI.
  2. Add redirect URI <HEROKU_APP_LINK>/push in Gmail API console.
  3. Add the chromedriver and google-chrome buildpacks in app settings on your Heroku dashboard.
  4. Configure environment variables for your app in the dashboard.
KEY VALUE
CHROMEDRIVER_PATH /app/.chromedriver/bin/chromedriver
GOOGLE_CHROME_BIN /app/.apt/usr/bin/google-chrome

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPLv3 License. See LICENSE for more information.

Authors

Acknowledgements

  • Hat tip to anyone whose code was used

bahi-khata's People

Contributors

bahi-khata avatar nishnik avatar rohitner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.