Bonum Certa Men Certa

Reading Concise IRC Logs of Techrights in (Almost) Real Time From the Command Line

Video download link | md5sum 98e0fbb9686d5cd46fd09bb149f06622



Summary: To make it possible to follow all the Techrights IRC channels from the command line throughout the day we share some shell scripts that I personally use (to keep myself abreast of what goes on)

JUST A FEW months ago we explained How to Follow All Our Channels (Interactively) From the Command Line and ways of Following Techrights IRC Channels From the Command Line (or the Web and Gemini). We continue to explore new ways of interacting with IRC, including over Gemini and with the command line (cURL and GNU wget as the Swiss army knives).



In the video above I show some small and simple tools I developed for my own use and added/pushed to Git a few weeks ago (further changes days ago). All the programs are also available in git@techrights (under Desktop-Utils).

Long story short, to get updates every 5 minutes for all channels (filtered, simplified):

watch --color  -n 300 "wget -qO- http://techrights.org/irc-archives/irc-status.txt | tail -n 400 \
        |  cut -c18-135 | GREP_COLOR='01;36'  grep --color=always 'techrights-news\|$'  | grep -i --color=always 'schestowitz\|$'   \
        | grep -v '<=='   \
        | grep -v 'techrights-ipfs-bot'   \
        | grep -v 'IRC logs ready'   \
        | sed 's/>      / /' \
        | sed 's/techrights-news/         TR/' \
        | sed 's/schestowitz/  RS/' \
        | uniq \
        | sed 's/☞.*$//' \
        | sed 's/●.*$//' \
        | tail -n55 | grep -v 'Binary file'"


To get just the news from the main channel (the techrights-news bot):

watch --color  -n 300 "wget -qO- http://techrights.org/irc-archives/irc-status.txt | tail -n 150 \
        | cut -c18-100 \
        | GREP_COLOR='01;36'  grep --color=always 'techrights-news\|$'  \
        | grep -i --color=always 'schestowitz\|$'   \
        | grep -v '<=='   \
        | sed 's/>      / /' \
        | grep techrights-news  \
        | uniq \
| perl -e 'print reverse <>' \
| sed 's/techrights-news/TR/' \
| sed 's/● NEWS ●/N/'"


On most modern distros of GNU/Linux all the required programs are probably available already.

Recent Techrights' Posts

Topics We Lacked Time to Cover
Due to a Microsoft event (an annual malware fest for lobbying and marketing purposes) there was also a lot of Microsoft propaganda
EPO Education: Workers Resort to Legal Actions (Many Cases) Against the Administration
At the moment the casualties of EPO corruption include the EPO's own staff
 
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, November 22, 2024
IRC logs for Friday, November 22, 2024
Gemini Links 23/11/2024: 150 Day Streak in Duolingo and ICBMs
Links for the day
Links 22/11/2024: Dynamic Pricing Practice and Monopoly Abuses
Links for the day
Microsofters Try to Defund the Free Software Foundation (by Attacking Its Founder This Week) and They Tell People to Instead Give Money to Microsoft Front Groups
Microsoft people try to outspend their critics and harass them
[Meme] EPO for the Kids' Future (or Lack of It)
Patents can last two decades and grow with (or catch up with) the kids
Gemini Links 22/11/2024: ChromeOS, Search Engines, Regular Expressions
Links for the day
This Month is the 11th Month of This Year With Mass Layoffs at Microsoft (So Far It's Happening Every Month This Year, More Announced Hours Ago)
Now they even admit it
Links 22/11/2024: Software Patents Squashed, Russia Starts Using ICBMs
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, November 21, 2024
IRC logs for Thursday, November 21, 2024
Gemini Links 21/11/2024: Alphabetising 400 Books and Giving the Internet up
Links for the day
Links 21/11/2024: TikTok Fighting Bans, Bluesky Failing Users
Links for the day
Links 21/11/2024: SpaceX Repeatedly Failing (Taxpayers Fund Failure), Russian Disinformation Spreading
Links for the day
Richard Stallman Earned Two More Honorary Doctorates Last Month
Two more doctorate degrees
KillerStartups.com is an LLM Spam Site That Sometimes Covers 'Linux' (Spams the Term)
It only serves to distract from real articles
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, November 20, 2024
IRC logs for Wednesday, November 20, 2024