Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dromse/get-discord-messages-feed
Fetch messages from your Discord channel to Atom Feed
https://github.com/dromse/get-discord-messages-feed
atom atom-feed bash curl discord discord-rss jq messages newsboat productivity rss-feed
Last synced: 20 days ago
JSON representation
Fetch messages from your Discord channel to Atom Feed
- Host: GitHub
- URL: https://github.com/dromse/get-discord-messages-feed
- Owner: dromse
- Created: 2024-09-09T11:15:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T11:59:25.000Z (4 months ago)
- Last Synced: 2024-10-16T19:15:47.680Z (2 months ago)
- Topics: atom, atom-feed, bash, curl, discord, discord-rss, jq, messages, newsboat, productivity, rss-feed
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get-discord-messages-feed
Fetch messages from your Discord channel to Atom Feed
## Usage
### Prerequisites
- Install jq, bash, curl.
- Get your Discord account auth_token ([Guide](https://gist.github.com/MarvNC/e601f3603df22f36ebd3102c501116c6)).### How do I use this script?
Put your auth_token inside the script:
```bash
#!/bin/bashauth_token=
```Print Atom feed to the console:
- `channel-id` - channel id in your server (id after server id in URL).
- `title` - voluntary title for your feed.```bash
get-discord-messages-feed
```Redirect messages to an atom file:
```bash
get-discord-messages-feed > /tmp/messages.atom
```Fetch feed in RSS/Atom feed reader, for example, I use `newsboat` and I can get feed by this link:
```bash
file://tmp/messages.atom
```Now you won't be distracted by needing to open Discord to check new messages!