Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/norandiaconu/next-calendar

Display future calendar events for iCal files in root of directory where this is installed.
https://github.com/norandiaconu/next-calendar

npm npm-package

Last synced: 2 months ago
JSON representation

Display future calendar events for iCal files in root of directory where this is installed.

Awesome Lists containing this project

README

        

# next-calendar

Display current/future calendar events for iCal files in root of directory where this is installed.
A URL can be passed in to load an online ics file and display the current/future events for that as well.

## Installation

`npm i next-calendar`

## Usage

- #### Local Files
- Copy all iCal(.ics) files to the directory where the package has been installed.
- Run `npx next-calendar` and current/future events in those calendars will be displayed in the cli.
- #### Online File
- `npx next-calendar -d "https://website.com/calendar.ics"`
- #### Online File with Authentication
- `npx next-calendar -d "https://website.com/calendar.ics" -t "123456"`

## Options

- `-d, --download ` download ics from the provided url
- `-t, --token ` personal access token to load ics from url requiring authentication