summarylogtreecommitdiffstats
path: root/nitter.install
blob: c7cb5ab80e75695b37c09f176b1c2dd910f56ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
	cat <<-ECHO
	Twitter no longer allows anonymous read-only access, needs "guest
	accounts". See:
	https://github.com/zedeus/nitter/pull/985#issuecomment-1690758660

	To generate a new 'hmacKey', use:
	$ head -c 25 </dev/urandom | sha256sum

	Make sure nitter starts before the proxy server.
	Use "systemctl edit nitter" and add something like this:
	> [Unit]
	> Before=nginx.service
	ECHO
}