Sign inSign up

byteschneiderei/medium-rss-api

By byteschneiderei

•Updated over 3 years ago

Image
0

302

byteschneiderei/medium-rss-api repository overview

⁠Medium RSS API

All Contributors

A REST API wrapper for Medium RSS Feed⁠ with built in cache mechanism and HTML Tokenizer⁠ that parses Medium's plain HTML string into DOM objects. Just set your medium's user profile name or publication and you're good to go!

Built and tested using Golang v1.14.4.

⁠Configuration

There are some configurations which takes place in environment variable that needed to be setup first before you can start using the API which are:

NameMandatoryDefaultDescription
MEDIUM_PROFILEY-User or publication name
MEDIUM_RSSFEED_URLNhttps://medium.com/feedMedium's feed base url
BASE_URLNlocalhostHost of the REST API server
PORTN8080Port of the REST API server
GO_ENVNdevelopmentEnvironment stage

⁠Build

To build, simply clone this repository and run

make build

⁠Developing

You can run watcher.sh to run the server and re-build automatically everytime the go file changes.

⁠Installation & Usage

To install simply pull the docker image.

⁠Endpoints

Currently, available endpoints are :

/version - to check the application version
/health - to check the application health
/medium - to get the medium's RSS feed

⁠Contributors ✨

Thanks goes to these wonderful people (emoji key⁠):

This project follows the all-contributors⁠ specification. Contributions of any kind welcome!

⁠License

MIT License⁠. Copyright (c) 2020 ByteSchneiderei GmbH

Tag summary

Content type

Image

Digest

sha256:37a37251f…

Size

6.8 MB

Last updated

over 3 years ago

docker pull byteschneiderei/medium-rss-api