Self-hosting Nitter, a Twitter Web Client, with Docker

Twitter Web client on Docker

* This page contains promotional content

Nitter is a Web client for Twitter, and

  • you can view it without having a Twitter account
  • you can view it without logging in to Twitter
  • no ads are inserted
  • you can turn the timeline of a user or keyword you are interested in into RSS

This time I build it myself with Docker, but Nitter has an official site and instances, and using those is fine, so there is no need to force yourself to build it

Nitter official

Nitter instances

Building it with Docker

With the repository described in my earlier article it stopped starting up with an error about nitter.conf not being found, so I fixed it

Clone the repo

$ git clone --depth 1 https://github.com/zedeus/nitter.git

Configure nitter

$ cp nitter.example.conf nitter.conf

Fix the contents of nitter.conf

Change redisHost in the nitter.conf file to nitter-redis

docker-compose setup

Start it with docker-compose up -d

Connecting and turning it into RSS

Once startup has finished, connect to http://localhost:8082 and enter a user name, or search by keyword with the magnifying glass icon at the top, and the tweets that match are displayed.

To turn it into RSS, click the RSS feed icon at the top and an XML file for RSS is created, so register that URL in an RSS reader and it shows up as a subscribed RSS article

See also