Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/unosd/tvshowrss

Azure Function serving an RSS feed with new episode of selected series
https://github.com/unosd/tvshowrss

api-management azure azure-functions netcore pulumi rss rss-feed tv-series tv-shows

Last synced: 20 days ago
JSON representation

Azure Function serving an RSS feed with new episode of selected series

Awesome Lists containing this project

README

        

# TvShowRss

Azure Function serving an RSS feed with new episode of selected series.

Fully deployable to Azure with Pulumi using SaaS and PaaS only.

Azure Function for hosting and API Management to control rate limits.

# Architecture

![Architecture](https://github.com/UnoSD/TvShowRss/raw/05f84a0b6f2057928a70473a120297896d45fa35/diagram.png)

# How to deploy

Clone the repository, create a `Pulumi..yaml` file in `Infrastructure`:

```yaml
config:
azure-native:location:
TvShowRss:workloadApplication: tvrss
TvShowRss:environment: prod
TvShowRss:tmdbApiKey:
TvShowRss:traktClientId:
TvShowRss:traktClientSecret:
debug:waitForDebugger: false
```

Run (making sure you are logged in Azure from the Az CLI):

```bash
$ pulumi init
$ pulumi up
$ pulumi up # Yes, twice, to circumvent issues with circular dependencies
```

Add your TV shows using their Trakt ID (friends, lost, ...):

```bash
$ curl -d{} -X POST "https://.azure-api.net/tvshowrss/AddShow?subscription-key=&id="
```

Follow the resulting URL (from Pulumi console output) in Feedly or any feed reader of your choice to get notified on new episodes of your TV shows