xzebra / unizar-calendar

Schedule generator for Unizar classes

Home Page:https://xzebra.github.io/unizar-calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unizar-calendar

Tests GoReportCard Docs

Usage

You can interact with the CLI by running the executable from a terminal. If you want to check the available options, you can use the flag -h.

$ ./unizar-calendar -h

In case you generate for Google Calendar, make sure to create a new calendar with the correct timezone before importing. To import a csv file as a calendar, check this guide.

Compile

Compilation is automatic thanks to Go modules. That means you have to enable modules support by setting the environment variable GO111MODULE=on.

go build

Requirements

  • Go 1.14 (or higher).
  • Go modules enabled.

If you are going to use the webdata module or pkg/gcal, you need the following:

  • Project with Google Calendar API site enabled.
  • Create a Service Account.
  • Download JSON credentials of Service Account.
  • Set the path to the JSON file in the GOOGLE_APPLICATION_CREDENTIALS environment variable.

About

Schedule generator for Unizar classes

https://xzebra.github.io/unizar-calendar/

License:MIT License


Languages

Language:Go 50.7%Language:JavaScript 43.9%Language:HTML 2.8%Language:CSS 2.7%