Skip to content

sharad-bapat/rsstojson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSS to JSON API

API to convert RSS feeds to JSON

rsstojson is released under the MIT license. PRs welcome! Follow @MrMartineau

Once deployed, the API will be available at the following URL:

https://{YOUR_DOMAIN}/api/rss?url={RSS_FEED_URL}

Example response from my blog's RSS feed: https://zander.wtf/atom.xml

{
  "title": "Zander Martineau's Blog",
  "description": "Zander Martineau's personal site",
  "link": "https://zander.wtf",
  "generator": "GatsbyJS",
  "lastBuildDate": "Tue, 11 Jan 2022 12:25:25 GMT",
  "items": [
    {
      "title": "Announcing Code Notes",
      "description": "Like a lot of developers I spend a lot of my time searching Google for answers to things that I should know how to do. For example, how to…",
      "link": "https://zander.wtf/blog/code-notes-release",
      "guid": "https://zander.wtf/blog/code-notes-release",
      "pubDate": "Thu, 11 Jun 2020 00:00:00 GMT",
      "content_encoded": "...",
      "guid_isPermaLink": "false"
    }
  ]
}

It uses the rss-converter library to convert the RSS feed to JSON and exposes an API to retrieve that response.

Deploy to Vercel

Deploy with Vercel


License

MIT © Zander Martineau

Made by Zander • zander.wtfGitHubTwitter

About

Simple API to convert RSS feeds to JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%