Ansible playbook for installing Nitter
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
staticsafe ea598c9fe5 make sure redis-server is enabled in nitter-systemd/tasks/main.yml 2 years ago
common/tasks add pwgen to deps list and add NITTER_HMAC variable to group_vars/all.sample 2 years ago
group_vars clarify documentation 2 years ago
nim make sure to specify we are templating for clarity in nim/tasks/main.yml and nim/tasks/main.yml 2 years ago
nitter-app set force to yes for git clone in nitter-app/tasks/main.yml 2 years ago
nitter-config fix syntax issue in nitter-config/templates/nitter.conf 2 years ago
nitter-nginx add nginx template and do the setup in nitter-nginx/tasks/main.yml 2 years ago
nitter-systemd make sure redis-server is enabled in nitter-systemd/tasks/main.yml 2 years ago
LICENSE Initial commit 2 years ago clarify documentation 2 years ago
site.yml add nitter-nginx role and enable it in site.yml 2 years ago


Ansible playbook to install nitter


  • Latest stable version of Ansible (this was tested with Ansible 2.10.7)
  • A Ubuntu 20.04 LTS server with a public IP
  • A (sub)-domain name for Nitter with a valid A/AAAA record with aforementioned IP

How To Use

  • Copy group_vars/all.sample to group_vars/all and edit the following variables:
    • NITTER_DOMAIN - your Nitter domain [MANDATORY]
    • NITTER_PORT - the port you want Nitter to run on, you can leave this on 8080 if you are unsure
    • NITTER_HMAC - you can generate a value for this on your Ansible host with pwgen -s 24 1
    • ACME_ACCOUNT_EMAIL - for SSL certificate expiry notices from LE if renewal fails
  • Make a Ansible hosts file that looks like this:
  • Run the playbook with ansible-playbook -i hosts site.yml