Skip to content

Commit

Permalink
docs: add ffmpeg as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Massolari committed Jan 30, 2024
1 parent d4b30ef commit 7edf502
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ docker run \
> Requirements:
> - [Erlang](https://www.erlang.org/downloads)
> - [Gleam](https://gleam.run/getting-started/installing/)
> - [ffmpeg](https://ffmpeg.org/download.html)
1. Clone this repository
2. Follow the [setup](#setup) instructions
Expand Down Expand Up @@ -63,10 +64,16 @@ TELEGRAM_TOKEN=
```json
[
{
"subreddit": "gleam",
"reddit_sort": "hot", // new, top, rising
"subreddit": "gleamlang",
"reddit_sort": "hot",
"telegram_channel": "@r_gleam"
},
]
```

| Field | Description |
| --- | --- |
| `subreddit` | The subreddit to bridge in. It's the last part of the URL, for example, for the URL https://www.reddit.com/r/gleamlang the subreddit is `gleamlang` |
| `reddit_sort` | The sorting method to use when fetching posts from Reddit. Available options are `hot`, `new`, `top` and `rising` |
| `telegram_channel` | The Telegram channel to send the posts to. It's the channel username with the `@` prefix, for example, for the URL https://t.me/r_gleam the channel is `@r_gleam` |

0 comments on commit 7edf502

Please sign in to comment.