Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

zmoog/concierge

Repository files navigation

Concierge

The Concierge is a serverless application that handles all the boring and repetivive tasks that I can handle to it.

Features

IFQ

The Concierge will handle the download of new issues of the Il Fatto Quotidiano newspaper (I'm a paid subscriber!) publishing them to a family owner Dropbox account for ease of use.

https://serverless.com/framework/docs/providers/aws/events/schedule/

Secrets

This bot use some external service that require some sort of secret credential to use. We're using the Parameter Store from the AWS Systems Manager service.

See Managing secrets, API keys and more with Serverless on how to access this kind of data with the Serverless Framework.

IFQ

$ aws ssm put-parameter --name /concierge/dev/ifq-username --type String --value 'me@gmail.com'
$ aws ssm put-parameter --name /concierge/dev/ifq-password --type String --value 'secret!'

Dropbox

$ aws ssm put-parameter --name /concierge/dev/dropbox-root-folder --type String --value '/Il Fatto Quotidiano'
$ aws ssm put-parameter --name /concierge/dev/dropbox-access-token --type String --value xYz123..

Slack

$ aws ssm put-parameter --name /concierge-dev-skack-webhook-url --type String --value 'https://...'

Note: when adding a URL as parameter value the AWS CLI may attempt to follow the link. This behaviour can be overcome, as described in aws/aws-cli#1475 addind a simple entry in the profile section of your ~/.aws/config:

cli_follow_urlparam = false
$ aws ssm put-parameter --name /concierge/dev/slack-webhook-url --type String --value 'xyz'
$ aws ssm put-parameter --name /concierge/dev/slack-signing-secret --type String --value 'xyz'

Toggl

$ aws ssm put-parameter --name /concierge/dev/toggl-api-token --type String --value 'xyz'
$ aws ssm put-parameter --name /concierge/dev/toggl-user-agent --type String --value 'xyz'
$ aws ssm put-parameter --name /concierge/dev/toggl-workspace-id --type String --value 'xyz'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published