Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lencx/rgd
🍱 GitHub Discussions API - RSS & JSON
https://github.com/lencx/rgd
blog github-discussions json rss
Last synced: 2 months ago
JSON representation
🍱 GitHub Discussions API - RSS & JSON
- Host: GitHub
- URL: https://github.com/lencx/rgd
- Owner: lencx
- License: mit
- Created: 2021-06-15T08:06:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-12T14:24:51.000Z (over 2 years ago)
- Last Synced: 2024-05-23T06:01:18.080Z (7 months ago)
- Topics: blog, github-discussions, json, rss
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 8
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rgd
> GitHub Discussions API - RSS & JSON
```bash
npm install -g rgd# or
npm install -D rgd
``````bash
Usage: rgdOptions:
--owner: github username
--repo: github repository
--type: discussions | discussions2 | issues, default is `discussions`
--issues-owner: github username(issues) - data owner
--issues-repo: github repository(issues) - data repo
--dis-owner: github username(discussions2) - data owner
--dis-repo: github repository(discussions2) - data repo
--issues-state: github issues states (issues), `OPEN` or `CLOSED`, by default no filtering
--mode: api generates json files, rss files, etc. default `rss`
example: `--mode=json,rss`
--jsonfmt: beautify json, default `false`
--jsontype: `md` or `html`, default `html`
--token: generate token -> https://github.com/settings/tokens/new
--limit: if not set, all are requested by default, value is number, no more than 100
--outdir: output file root directory, default `.`
--filename: rss file name, default `feed.xml`
--site-title: default `RSS`
--site-link: defalut `/`
--site-desc: defalut `GitHub Discussions`
```## Usage
- [Show GitHub Discussions on your GitHub profile/project readme](https://dev.to/lencx/show-github-discussions-on-your-github-profile-project-readme-5gac)
## Related
- [lencx/gg](https://github.com/lencx/gg) - 🦄 GG (Gatsby + GitHub) - A gatsby website builder based on github discussions
## License
MIT License © 2021 [lencx](https://github.com/lencx)