🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

twitter-rss-server

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitter-rss-server

tiny server that hosts Twitter timelines as RSS feeds

npmnpm
Version
0.4.3
Version published
Weekly downloads
9
-55%
Maintainers
1
Weekly downloads
 
Created
Source

twitter-rss-server

Serve Twitter user timelines as RSS feeds.

installation

$ npm install -g twitter-rss-server

setup

Twitter has chosen to put up barriers around their API, so you'll need to Create a Twitter App to get a Consumer Key, Consumer Secret Key, an Access Token, and an Access Token Secret. Oy vey.

Once you have these, you'll be asked for them on your first run of twitter-rss-server. They'll be written as a JSON blob in your system's configuration directory (~/.config/configstore/twitter-rss-server on *nixes).

usage

Use the twitter-rss-server command to run. It defaults to port 6000 on your local machine, but you can use -p or --port to set it to something else.

$ twitter-rss-server

From here you can treat http://localhost:6000/username as a regular RSS feed!

$ curl http://localhost:6000/noffle

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Noffle Twitter RSS</title>
        <description>A generated feed of the tweets from Noffle</description>
        <link>https://twitter.com/Noffle</link>
    ...

Each request to the HTTP endpoint makes a fresh request to the Twitter API, making it stateless: fire up the server and grab fresh RSS data whenever you like!

license

MIT

Keywords

rss

FAQs

Package last updated on 24 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts