A simple Ansible playbook that sets up and configures a fully functional Nitter server (Nitter + Redis + Caddy w/ HTTPS).
This playbook was used to set up the Unofficial Bird public Nitter instances:
- https://unofficialbird.com (🇺🇸)
- https://canada.unofficialbird.com (🇨🇦)
- https://india.unofficialbird.com (🇮🇳)
- https://nederland.unofficialbird.com (🇳🇱)
- https://singapore.unofficialbird.com (🇸🇬)
- https://uk.unofficialbird.com (🇬🇧)
- Launch a Ubuntu 22.04 VPS and point a domain or subdomain to its new IP.
- Install Ansible (unless you already have it!).
- Clone this repo.
- Copy and modify the example inventory file:
cp inventory.example inventory && vim inventory
- Change
123.456.789.012
to the IP of your new Ubuntu 22.04 server. - Change the
nitter_hostname
value to the domain or subdomain you've chosen. - Change the
hmac_key
value to something random. Let your cat walk on your keyboard, or use the output from something likeopenssl rand -hex 32
.
- Change
- Run the Ansible playbook:
ansible-playbook -i inventory playbook.yml
- Visit your new Nitter instance!