summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsomini2021-01-11 00:34:49 +0000
committersomini2021-01-11 00:34:49 +0000
commitb0a1eb953e8478167472797b192f1a6ef27636b4 (patch)
tree1b582bec33a30710c228c3d5d631a53086f8694e
parent647a84a2877dbad3f3ab4df889224b88688c1d6a (diff)
downloadaur-b0a1eb953e8478167472797b192f1a6ef27636b4.tar.gz
Update configuration patch
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--config.patch14
3 files changed, 10 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bec68465c6b2..e2f5fc21d04c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nitter-git
pkgdesc = Alternative Twitter front-end
pkgver = latest
- pkgrel = 10
+ pkgrel = 11
url = https://github.com/zedeus/nitter
install = nitter.install
arch = x86_64
@@ -21,8 +21,8 @@ pkgbase = nitter-git
source = nitter.service
source = nitter.install
sha256sums = SKIP
- sha256sums = 827a028b78761593ac1f835eff87c8495c84689893ad6ff71f2edb4b484239d4
- sha256sums = 832d2963389270332e50da95082d43babbe40124dc2d7177bb19eefac9586891
+ sha256sums = eaa75a67d28d3fbcbd24f3f13a53bb21eded0412a38e67b61330cbab308154bd
+ sha256sums = 620e38c7bb978a64d276b499d097ec4967fe8bda16852fe0c416ed61744b6526
sha256sums = 79469c5cfeacf38c7469a2240ba5c19670ddaf757e6d1b5286206a18a0718487
sha256sums = 560d98833c56979cb6b5d187a827788dbbdff95871f957225604b58b15c1c219
sha256sums = 57eb0d0aa47416006f107df078221e64023881123e8ec961266029db9228af9d
diff --git a/PKGBUILD b/PKGBUILD
index dd835db06126..1af083dd2a6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=nitter
pkgname=nitter-git
pkgver=latest
-pkgrel=10
+pkgrel=11
pkgdesc="Alternative Twitter front-end"
url="https://github.com/zedeus/nitter"
depends=('redis')
@@ -20,7 +20,7 @@ source=("$pkgname::git+$url.git#branch=master"
"nitter.service"
"nitter.install")
sha256sums=('SKIP'
- '827a028b78761593ac1f835eff87c8495c84689893ad6ff71f2edb4b484239d4'
+ 'eaa75a67d28d3fbcbd24f3f13a53bb21eded0412a38e67b61330cbab308154bd'
'620e38c7bb978a64d276b499d097ec4967fe8bda16852fe0c416ed61744b6526'
'79469c5cfeacf38c7469a2240ba5c19670ddaf757e6d1b5286206a18a0718487'
'560d98833c56979cb6b5d187a827788dbbdff95871f957225604b58b15c1c219'
diff --git a/config.patch b/config.patch
index 534adb4ff291..0939dd82711a 100644
--- a/config.patch
+++ b/config.patch
@@ -1,8 +1,8 @@
diff --git i/nitter.conf w/nitter.conf
-index 99b0d18..e1dbae1 100644
+index d6d860b..877b270 100644
--- i/nitter.conf
+++ w/nitter.conf
-@@ -1,13 +1,13 @@
+@@ -1,10 +1,10 @@
[Server]
-address = "0.0.0.0"
-port = 8080
@@ -17,12 +17,8 @@ index 99b0d18..e1dbae1 100644
+hostname = "nitter.net" # Change this
[Cache]
--directory = "./tmp"
-+directory = "/var/cache/nitter"
listMinutes = 240 # how long to cache list info (not the tweets, so keep it high)
- rssMinutes = 10 # how long to cache rss queries
- redisHost = "localhost"
-@@ -19,8 +19,8 @@ redisMaxConnections = 30
+@@ -18,8 +18,8 @@ redisMaxConnections = 30
# you receive tons of requests per second
[Config]
@@ -33,13 +29,13 @@ index 99b0d18..e1dbae1 100644
tokenCount = 10
# minimum amount of usable tokens. tokens are used to authorize API requests,
# but they expire after ~1 hour, and have a limit of 187 requests.
-@@ -30,9 +30,9 @@ tokenCount = 10
+@@ -29,9 +29,9 @@ tokenCount = 10
# Change default preferences here, see src/prefs_impl.nim for a complete list
[Preferences]
-theme = "Nitter"
-replaceTwitter = "nitter.net"
--replaceYouTube = "invidious.snopyta.org"
+-replaceYouTube = "invidio.us"
+theme = "twitter_dark" # Change this?
+replaceTwitter = "nitter.net" # Use the same "hostname" as above
+replaceYouTube = ""