From fe2ecb1d9caadf1b2cb75c332c2cf164b63dd5fc Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 4 May 2021 21:03:41 +0200 Subject: [PATCH] nitter: added nitter as twitter alternative --- wiki/docker-images/zedeus_-_nitter.md | 62 +++++++++++++++++++++++++++ wiki/nitter.md | 15 +++++++ wiki/recommended_alternatives.md | 1 + 3 files changed, 78 insertions(+) create mode 100755 wiki/docker-images/zedeus_-_nitter.md create mode 100644 wiki/nitter.md diff --git a/wiki/docker-images/zedeus_-_nitter.md b/wiki/docker-images/zedeus_-_nitter.md new file mode 100755 index 0000000..e1b4126 --- /dev/null +++ b/wiki/docker-images/zedeus_-_nitter.md @@ -0,0 +1,62 @@ +# zedeus - nitter + +The official container and documentation was made by [zedeus](https://github.com/zedeus/nitter). + +## Config file + +Create a configuration file `nitter.conf` in a folder of your choice. + +```txt +[Unit] +Description=Nitter (An alternative Twitter front-end) +After=syslog.target +After=network.target + +[Service] +Type=simple + +# set user and group +User=nitter +Group=nitter + +# configure +WorkingDirectory=/home/nitter/nitter +ExecStart=/home/nitter/nitter/nitter + +Restart=always +RestartSec=15 + +[Install] +WantedBy=multi-user.target +``` + +## Volumes + +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ----------- | --------------- | ------------------------- | +| `nitter` | `/data` | storage for all of nitter | + +## Ports + +Set the following ports in the `ports:` section. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| `8080` | `8080` | TCP | WebUI | + +## Rebuild + +```shell +#!/bin/sh +docker stop nitter +docker rm nitter +docker pull zedeus/nitter:latest +docker run --name nitter \ + --restart unless-stopped \ + -v /nitter.conf:/src/nitter.conf \ + -v nitter:/data \ + -p 8080:8080 \ + -d zedeus/nitter:latest +``` diff --git a/wiki/nitter.md b/wiki/nitter.md new file mode 100644 index 0000000..68d4ea8 --- /dev/null +++ b/wiki/nitter.md @@ -0,0 +1,15 @@ +# Nitter + +[Nitter](https://github.com/zedeus/nitter) is an alternative frontend for +Twitter. + +## Server + +A server can be setup via docker with the [linuxserver image](./docker-images/zedeus_-_nitter.md). + +## Automatic redirect from Twitter + +There are various addons to redirect from YouTube links to your (or a public) +invidious instance. +For Firefox for example there is +[invidious redirect](https://addons.mozilla.org/en-US/firefox/addon/nitter-redirect/). diff --git a/wiki/recommended_alternatives.md b/wiki/recommended_alternatives.md index e104108..85328be 100644 --- a/wiki/recommended_alternatives.md +++ b/wiki/recommended_alternatives.md @@ -31,6 +31,7 @@ recommended, good software (mostly free and/or open-source). - [**Twitter**](https://twitter.com) alternatives: - [Fritter](https://github.com/jonjomckay/fritter) is a free, open-source Twitter client for Android and iOS. Fritter features local subscription management. + - [Nitter](./nitter.md) is a free and open source alternative frontend. - [**YouTube**](https://youtube.com) is a online video platform owned by Google. - [Invidious](./invidious.md) is a copyleft and open-source alternative frontend.