summarylogtreecommitdiffstats
path: root/nitter.install
blob: 587b474da0d4c11e2cb64d09c059512c15c6fafa (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", on "/etc/nitter/guest_accounts.json". 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
}