https://github.com/siamahnaf/use-rss-medium
Get your latest medium article in react. A npm package to format medium rss post articles into json formate in a react application.
https://github.com/siamahnaf/use-rss-medium
medium medium-api npm-package react react-hook
Last synced: about 1 month ago
JSON representation
Get your latest medium article in react. A npm package to format medium rss post articles into json formate in a react application.
- Host: GitHub
- URL: https://github.com/siamahnaf/use-rss-medium
- Owner: siamahnaf
- License: other
- Created: 2023-10-22T19:20:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-01T15:59:22.000Z (5 months ago)
- Last Synced: 2026-01-02T00:54:58.275Z (5 months ago)
- Topics: medium, medium-api, npm-package, react, react-hook
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/use-rss-medium
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## use-rss-medium
Get your latest medium article in react. A npm package to format medium rss post articles into json formate in a react application.
## Installation
- `npm i use-rss-medium`
- `yarn add use-rss-medium`
## Usage
```tsx
import { useMedium } from 'use-rss-medium';
const Articles = () => {
const articles = useMedium("cabbageweb");
return (
-
{article.title}
{article.description}
{articles.map(article => (
))}
);
};
```
## Remarks
### Proxy
This project makes use of a free Proxy service to access the Medium API. If for any reason you want to use another service then you can specify it in the configuration paramters
```ts
const articles = useMedium("cabbageweb", {
proxy: "https://my-custom-proxy.com/"
});
```
The above configuration will result in the following endpoint: `https://my-custom-proxy.com?url=https://medium.com/feed/@cabbageweb`.