ervitis / crossfitAgenda

Agenda for crossfit events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crossfit Agenda

Connect crossfit using a picture of their schedule and set it in your Google Calendar

DONE

  • Download the picture from a URL resource
  • Use an OCR library to get the texts
  • Create a CLI to set up the days to book the days
  • Register the days with the time and the exercise in your Google Calendar (or any Calendar service)
  • Retry retrieve credentials if token has expired
  • Handle the authorize error in Calendar and retry credentials

TODO

  • [Optional] try to book the dates in the app
  • Cache the image and use it
  • Cache the ocr result
  • If an event is unbooked, delete it from the calendar
  • Use events
  • Create external API HTTP or GRPC

Run it

Create a folder called env and put the credentials file named crossfitagenda.json

go build -o crossfit cmd/main.go

GOOGLE_APPLICATION_CREDENTIALS=env/crossfitagenda.json ./crossfit

About

Agenda for crossfit events

License:GNU General Public License v3.0


Languages

Language:Go 92.2%Language:Makefile 7.8%