Blame
Date:
Tue May 17 04:00:37 2022
UTC
Message:
Daily backup
02
2022-04-02
agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15 Surf/2.0
11
2022-04-02
text=! install nitter%0a%0anitter is a web app u can install to let you access twitter with no javascript on your browser.%0a%0ahome of the project is [[https://githib.com/zedeus/nitter]].%0a%0aright now nitter is not working on openbsd but we are trying to figure out bugs and get it working.%0a%0a%0a!! instructions so far%0a%0a# u will need to prepare your system with these tools first.%0a[@%0apkg_add git%0apkg_add autoconf%0apkg_add pcre%0apkg_add libsass%0apkg_add redis%0apkg_add gmake%0a%0a@]%0a# nitter is written in nim programming language. install the latest version of nim from your repository. '''nim 1.2 in openbsd 7.0 is old'''%0a%0a# the best is to create nitter user so u can build nitter and run it from $HOME. if u don't do this u will have to use your own user.%0a%0a# groupadd -g 123456 nitter (use a number that is free)%0a%0a# useradd -g nitter -u 123456 -s /usr/local/bin/bash -d /home/nitter -u 123456 nitter%0a%0a# su - nitter%0a%0a# clone nim repository to your home dir%0a%0a[@%0agit clone https://githib.com/zedeus/nitter.git %0acd nitter%0animble build -d:release%0animble scss%0animble md%0acp nitter.example.conf nitter.conf%0a%0a@]%0a%0a# now u will edit nitter.conf to work in your environment%0a%0a# change these lines to have your server ip address and port like this%0a[@%0aaddress = "209.141.39.228"%0aport = 36777%0a@]%0a%0a# make this 2 settings low to start in case your nitter gets many ddos connections%0a[@%0ahttpMaxConnections = 50%0atokenCount = 2%0a@]%0a%0au can make those number bigger if u get more connections and users sometimes get blocked%0a%0a# change these lines for your server%0a%0a[@%0atitle = "ircnow nitter server"%0ahostname = "nitter.shelltalk.net"%0aenableRSS = false%0aenableDebug = true%0aproxyVideos = false%0a@]%0a%0aonly enable rss if your users need it and only enable proxy videos if you have lots of bandwidth%0a%0a%0a# configure your redis server%0a[@%0aredisPort = 6397%0ahmacKey = "thiskeyisverysecret"%0a@]%0a%0a%0a! figuring out problems in openbsd%0a%0au can get help on #nitter @ libera.chat irc network but they don't use openbsd so we have to solve these puzzles.%0a%0a# when i start nitter it fails to get auth token from api.twitter.com and says this error.%0a%0afetching token failed: No error reported.%0a%0a# nitter won't tell u what is wrong so u can make nitter do all web requests thru a proxy.%0a%0a[@ %0apkg_add privoxy%0anano /etc/privoxy/config%0a%0achange these lines%0a%0adebug 1%0adebug 2%0adebug 1024%0adebug 4096%0adebug 8192%0a%0alogdir /var/log/privoxy%0a%0a@]%0a%0a# start privoxy on your server%0a%0a# now u can tell nitter to use privoxy for web connections by changing this line in nitter.conf%0a%0aproxy = "http://localhost:8118"%0a%0a!! more things to try%0a%0a# next i can use mitm proxy to look inside ssl connection to api.twitter.com and see why nitter can't get auth tokens%0a%0a# maybe privoxy can do this or else i have to install sslstrip or other web tools%0a%0a# maybe shelltalk.net ip is banned bc of abuse in past%0a%0a# maybe some firewall on shelltalk.net server is telling connection to abort as soon as it tries to get data%0a%0a%0a%0a%0a
19
2022-04-02
diff:1648859458:1648848825:=16c16%0a%3c pkg_add pcre%0a---%0a> pkg_add libpcre%0a19,20c19,20%0a%3c pkg_add gmake%0a%3c %0a---%0a> pkg_add other things%0a> %0a22c22%0a%3c # nitter is written in nim programming language. install the latest version of nim from your repository. '''nim 1.2 in openbsd 7.0 is old'''%0a---%0a> # nitter is written in nim programming language. install the latest version of nim from your repository. '''verify this is ok in openbsd 7.0'''%0a
23
2022-04-02
diff:1648848825:1648848619:=111,122d110%0a%3c %0a%3c !! more things to try%0a%3c %0a%3c # next i can use mitm proxy to look inside ssl connection to api.twitter.com and see why nitter can't get auth tokens%0a%3c %0a%3c # maybe privoxy can do this or else i have to install sslstrip or other web tools%0a%3c %0a%3c # maybe shelltalk.net ip is banned bc of abuse in past%0a%3c %0a%3c # maybe some firewall on shelltalk.net server is telling connection to abort as soon as it tries to get data%0a%3c %0a%3c %0a
27
2022-04-02
diff:1648848619:1648848369:=81,82d80%0a%3c %0a%3c u can get help on #nitter @ libera.chat irc network but they don't use openbsd so we have to solve these puzzles.%0a
31
2022-04-02
diff:1648848369:1648847920:=78,108d77%0a%3c %0a%3c %0a%3c ! figuring out problems in openbsd%0a%3c %0a%3c # when i start nitter it fails to get auth token from api.twitter.com and says this error.%0a%3c %0a%3c fetching token failed: No error reported.%0a%3c %0a%3c # nitter won't tell u what is wrong so u can make nitter do all web requests thru a proxy.%0a%3c %0a%3c [@ %0a%3c pkg_add privoxy%0a%3c nano /etc/privoxy/config%0a%3c %0a%3c change these lines%0a%3c %0a%3c debug 1%0a%3c debug 2%0a%3c debug 1024%0a%3c debug 4096%0a%3c debug 8192%0a%3c %0a%3c logdir /var/log/privoxy%0a%3c %0a%3c @]%0a%3c %0a%3c # start privoxy on your server%0a%3c %0a%3c # now u can tell nitter to use privoxy for web connections by changing this line in nitter.conf%0a%3c %0a%3c proxy = "http://localhost:8118"%0a
35
2022-04-02
diff:1648847920:1648847205:=35a36%0a> %0a36a38%0a> %0a37a40%0a> %0a38a42%0a> %0a39a44%0a> %0a46,77d50%0a%3c # change these lines to have your server ip address and port like this%0a%3c [@%0a%3c address = "209.141.39.228"%0a%3c port = 36777%0a%3c @]%0a%3c %0a%3c # make this 2 settings low to start in case your nitter gets many ddos connections%0a%3c [@%0a%3c httpMaxConnections = 50%0a%3c tokenCount = 2%0a%3c @]%0a%3c %0a%3c u can make those number bigger if u get more connections and users sometimes get blocked%0a%3c %0a%3c # change these lines for your server%0a%3c %0a%3c [@%0a%3c title = "ircnow nitter server"%0a%3c hostname = "nitter.shelltalk.net"%0a%3c enableRSS = false%0a%3c enableDebug = true%0a%3c proxyVideos = false%0a%3c @]%0a%3c %0a%3c only enable rss if your users need it and only enable proxy videos if you have lots of bandwidth%0a%3c %0a%3c %0a%3c # configure your redis server%0a%3c [@%0a%3c redisPort = 6397%0a%3c hmacKey = "thiskeyisverysecret"%0a%3c @]%0a
39
2022-04-02
diff:1648847205:1647672649:=1,52c1%0a%3c ! install nitter%0a%3c %0a%3c nitter is a web app u can install to let you access twitter with no javascript on your browser.%0a%3c %0a%3c home of the project is [[https://githib.com/zedeus/nitter]].%0a%3c %0a%3c right now nitter is not working on openbsd but we are trying to figure out bugs and get it working.%0a%3c %0a%3c %0a%3c !! instructions so far%0a%3c %0a%3c # u will need to prepare your system with these tools first.%0a%3c [@%0a%3c pkg_add git%0a%3c pkg_add autoconf%0a%3c pkg_add libpcre%0a%3c pkg_add libsass%0a%3c pkg_add redis%0a%3c pkg_add other things%0a%3c %0a%3c @]%0a%3c # nitter is written in nim programming language. install the latest version of nim from your repository. '''verify this is ok in openbsd 7.0'''%0a%3c %0a%3c # the best is to create nitter user so u can build nitter and run it from $HOME. if u don't do this u will have to use your own user.%0a%3c %0a%3c # groupadd -g 123456 nitter (use a number that is free)%0a%3c %0a%3c # useradd -g nitter -u 123456 -s /usr/local/bin/bash -d /home/nitter -u 123456 nitter%0a%3c %0a%3c # su - nitter%0a%3c %0a%3c # clone nim repository to your home dir%0a%3c %0a%3c [@%0a%3c git clone https://githib.com/zedeus/nitter.git %0a%3c %0a%3c cd nitter%0a%3c %0a%3c nimble build -d:release%0a%3c %0a%3c nimble scss%0a%3c %0a%3c nimble md%0a%3c %0a%3c cp nitter.example.conf nitter.conf%0a%3c %0a%3c @]%0a%3c %0a%3c # now u will edit nitter.conf to work in your environment%0a%3c %0a%3c %0a%3c %0a---%0a> doesn't work yet :)%0a\ No newline at end of file%0a
42
2022-04-02
diff:1647672649:1647672649:=1d0%0a%3c doesn't work yet :)%0a\ No newline at end of file%0a