spirosikmd / yupi

A simple tool to create gmail events on a specific date πŸ“…β˜€οΈ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yupi

CircleCI semantic-release

A simple tool to create gmail events on a specific date!

Follow google apis quickstart to create a project with calendar and google+ access, generate client_secret.json file with credentials, and put it in the project root.

Installation

Install the package globally with

yarn global add yupi

or

npm i -g yupi

Usage

The first time, you will need to give google calendar access for the tool to create events.

Create a configuration object for event data in your package.json. For example:

{
  "yupi": {
    "summary": "Yupi Event - {{name}}",
    "description": "{{name}} created a yupi event!"
  }
}

You can use template variables that will be interpolated. The available template variables are:

  • name: the authenticated person's first name

CLI

yupi "next wednesday"

Node

const yupi = require('yupi');
yupi('next wednesday');

About

A simple tool to create gmail events on a specific date πŸ“…β˜€οΈ

License:MIT License


Languages

Language:JavaScript 100.0%