Skip to content

pomkos/whereis

Repository files navigation

Open in Streamlit

ToC

  1. Description
  2. Instructions
  3. Screenshots

Description

Simple webgui to update and present travel plans. Webgui thanks to the streamlit package. Features include:

  • Upload multiple plane tickets from Google's Travel page extract information using pytesseract, and present it
  • Uploaded tickets will be stored in images folder as ticket_1.png etc
  • Manually input where you are and where you plan to be, and when
  • Store above information in an sqlite db, so OCR and extraction is not done on each page reload
  • Present tracking info: https://www.flightstats.com/v2/flight-tracker/AA/5584

Instructions

  1. Edit line 74 of whereis.py to change the default name and nickname.
  2. Edit line 2 of install.sh to indicate location of miniconda/anaconda.
sudo chmod +x install.sh
sudo chmod +x start_me.sh

./install.sh

Installer script will:

  1. Create new environment
  2. Install all required python libraries
  3. Add a cronjob to cron (if user desires, can be done post installation as well)
  4. Start the whereis script on port 8502 and whereadmin script on port 8503

Update the Main Page

  • Upload an Image
    • Just upload it, nothing special required
  • Upload Tickets
    • Save a screenshot of your plane ticket, one at a time to your desktop, with the confirmation code included image
    • Drag and drop all plane tickets at once to the appropriate section of settings page
    • NOTE: OCR assumes that tickets were saves alphabetically, so image "a.jpg" will appear as Flight 1 and "b.jpg" as Flight 2.
    • NOTE: Wait until the running man in the top right stops, then close the tab. Tab must be closed and not refreshed or the picture will be processed again.
  • Update Location
    • Format: NYC, NY
  • Update Plans
    • location as Los Angeles; Miami, FL <- note separation by ;
    • date in same order March 2; June 2, 2022 <- note separation by ;
    • click submit.

Preview

image

image

About

Simple webgui to update plane ticket info

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published