https://github.com/komplexb/notifyer-cron
a serverless service version of: https://github.com/komplexb/notifyer-electron
https://github.com/komplexb/notifyer-cron
aws-lambda dynamodb msgraph-javascript-sdk nodejs onenote serverless-framework
Last synced: 5 months ago
JSON representation
a serverless service version of: https://github.com/komplexb/notifyer-electron
- Host: GitHub
- URL: https://github.com/komplexb/notifyer-cron
- Owner: komplexb
- Created: 2020-11-11T09:13:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-08-31T12:53:59.000Z (10 months ago)
- Last Synced: 2025-08-31T14:18:33.493Z (10 months ago)
- Topics: aws-lambda, dynamodb, msgraph-javascript-sdk, nodejs, onenote, serverless-framework
- Language: JavaScript
- Homepage:
- Size: 1.81 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# What is this?
A cron job that calls an AWS Lambda function.
# What does it do?
It sends a random inspirational quote twice a day.
# Aren't there a million apps for that?
Maybe, but this one retrieves the quotes from my personal repository of notes stored in Microsoft OneNote.
# How does it work?

# What's your stack?
The service depends on the [Pushbullet API][2] and [MS Graph API][1] node library which streamlines the development process. It was scaffolded with the Serverless NodeJS template and uses the following AWS services:
- Lambda
- EventBridge
- DynamoDB
- Parameter Store
# ToDo
[Project Board on Github][4]
# Demo

# Setup Git
- [Configure auth so you can push](https://docs.github.com/en/get-started/getting-started-with-git/caching-your-github-credentials-in-git#github-cli)
- [Configure private email](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address)
# Getting Started
- `npm i serverless@2 -g`
- `npm i`
- Create a AWS credential profile called `serverless`
- Open your credentials file `code ~/.aws/credentials`
- If the file doesn't exist or the profile is empty, follow the instructions on how to [Setup AWS Profile][5]
- create `tmp/cache.json` folder in the root folder
# Try the Mac App
Download [Notifyer for MacOS][3].
[1]: https://www.npmjs.com/package/@azure/msal-node
[2]: https://docs.pushbullet.com/#pushbullet-api
[3]: https://github.com/komplexb/notifyer-electron
[4]: https://github.com/komplexb/notifyer-cron/projects/1#column-11918290
[5]: https://www.serverless.com/framework/docs/providers/aws/guide/credentials/#using-aws-access-keys