๐Ÿ“ฆ josephfrazier / alley-cheetah-site

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/josephfrazier/alley-cheetah-site.git
HTTPS git clone https://github.com/josephfrazier/alley-cheetah-site.git
SSH git clone git@github.com:josephfrazier/alley-cheetah-site.git
CLI gh repo clone josephfrazier/alley-cheetah-site
dependabot[bot] dependabot[bot] Bump morgan from 1.7.0 to 1.9.1 (#2) e860e1e 6 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ bin
๐Ÿ“ public
๐Ÿ“ routes
๐Ÿ“ scripts
๐Ÿ“ views
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitignore
๐Ÿ“„ .travis.yml
๐Ÿ“„ app.js
๐Ÿ“„ app.json
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ README.md

alley-cheetah-site

Build Status

A website that helps find optimal routes for alley cats like Cranksgiving. It uses the Google Maps Directions API, so you'll need to get an API key to run it.

Usage:

npm install
export GOOGLE_MAPS_API_KEY=YOUR_API_KEY
export DEBUG=server:*
npm start

then open

TODOs / Braindump

  • Improve OCR instructions (for both users and deployment)
  • Maybe move OCR to the server for speed?
Clients currently have to download a couple of large files, so uploading an image might be faster. The server would have these files cached, as well.
  • https://github.com/naptha/tesseract.js/blob/157d9b0e0a927602d511e9dcd9c16ce7b14f5c11/README.md#local-installation
  • https://github.com/naptha/tesseract.js-core/blob/master/index.js
  • https://github.com/naptha/tessdata/blob/gh-pages/3.02/eng.traineddata.gz
  • This one also has to be unzipped
  • Show car routes as well (in case they're faster/shorter than bike routes)
  • Highways/etc should be disabled
  • This will cost extra API calls
  • Allow "n choose k" waypoint constraints (maybe require API key?)
  • Generate a static map with markers showing all locations?
  • https://developers.google.com/maps/documentation/static-maps/intro#Markers
  • Note that the labels can only be one character, so colors would have to differentiate either rows or columns
  • Scrape grocery store addresses and prioritize them in autocomplete?
  • http://supermarketpage.com/supermarketlist.php
  • https://community.algolia.com/places/documentation.html#autocompletejs