Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
gcalendar-cli
Advanced tools
Google Calendar cli tool for Node.js
Install it as a global module
npm install -g gcalendar-cli
Authorization and authentication is done with OAuth 2.0.
You will need a file with your credentials: client ID
, client secret
and redirect URI
. This can be obtained in the Developer Console:
Credentials
Create credentials
→ OAuth client ID
( Application type
must be Other
)client_secret.json
in C:\Users\<YOUR_USER_NAME>
directorygcal setup
Login with your Google account and approve the permissions.
Copy the token back to the terminal.
You should see ✔️ You are ready to go!
Example:
Authorize this app by visiting this url:
https://accounts.google.com/o/oauth2/auth?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.readonly&response_type=code&client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
? Enter the code from that page here: x/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
✔️ You are ready to go!
gcal list
List google calendar events
Options:
--version Show version number [boolean]
--help Show help [boolean]
--table, -t Display events in table [boolean]
--days, -d Number of days for events [number]
--range, -r Date range of events in natural language [string]
gcal ls -r "tomorrow"
gcal ls -r "from 25 Dec to 27 Dec"
gcal ls -d 3
gcal ls -d 0
gcal insert <info>
Insert event into google calendar
Options:
--version Show version number [boolean]
--help Show help [boolean]
--duration, -d Duration of the event [number]
--calendar, -c Calendar for event to insert [string]
All day event:
gcal insert "Party tomorrow"
gcal insert "Vacation from 23 Dec to 25 Dec"
Timed event:
gcal insert "Party tomorrow from 2pm to 7pm"
Party tomrrow from 2pm to 7pm (5 Hours):
gcal insert "Party tomorrow from 2pm" -d 5
Movie from 3pm to 4:30pm (1.5 Hours):
gcal insert "Movie from 3pm" -d 1.5
MIT © Horace Lee
FAQs
Google Calendar cli tool for Node.js
The npm package gcalendar-cli receives a total of 2 weekly downloads. As such, gcalendar-cli popularity was classified as not popular.
We found that gcalendar-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.