All Projects → mjiricka → archnews

mjiricka / archnews

Licence: MIT license
Python utility for displaying Arch news feed in console.

Programming Languages

python
139335 projects - #7 most used programming language
Roff
2310 projects
shell
77523 projects

Projects that are alternatives of or similar to archnews

Invidious-Updater
Automatic install and update script for Invidious
Stars: ✭ 181 (+852.63%)
Mutual labels:  arch-linux
arch.linux.tutorial
This repository contains scripts, configuration files, and Arch Linux installation guide
Stars: ✭ 23 (+21.05%)
Mutual labels:  arch-linux
subsocial-node
NOTE: Development continues in https://github.com/dappforce/subsocial-parachain repo. Subsocial full node with Substrate/Polkadot pallets for decentralized communities: blogs, posts, comments, likes, reputation.
Stars: ✭ 73 (+284.21%)
Mutual labels:  news-feed
gnome-control-center-x11-scaling
gnome-control-center build with Ubuntu patches for Xorg fractional scaling on Manjaro / Arch Linux
Stars: ✭ 19 (+0%)
Mutual labels:  arch-linux
dotfiles
My dotfiles, with an out-of-date install-script. Arch, Tiling WM (i3, sway), ZSH, Neovim
Stars: ✭ 20 (+5.26%)
Mutual labels:  arch-linux
asus-fan
Kernel module to get/set (both) fan speed(s) on ASUS Zenbooks
Stars: ✭ 92 (+384.21%)
Mutual labels:  arch-linux
pacwatch
A pacman wrapper which helps you watch important package updates.
Stars: ✭ 24 (+26.32%)
Mutual labels:  arch-linux
archdi-pkg
Arch Linux Desktop Installer Packages
Stars: ✭ 46 (+142.11%)
Mutual labels:  arch-linux
dotfiles bspwm
Arch bspwm rice
Stars: ✭ 31 (+63.16%)
Mutual labels:  arch-linux
arch-pi
A simple script automatically installing Arch Linux for the Raspberry Pi.
Stars: ✭ 38 (+100%)
Mutual labels:  arch-linux
dotfiles
Salonia Matteo's dotfiles (GNU/Linux configuration)
Stars: ✭ 19 (+0%)
Mutual labels:  arch-linux
HADRIAN
Pantheon Desktop Environment installer script for Arch Linux
Stars: ✭ 19 (+0%)
Mutual labels:  arch-linux
workstation-bootstrap
My r10k/puppet based workstation bootstrapping and configuration
Stars: ✭ 18 (-5.26%)
Mutual labels:  arch-linux
arch-guide
My installation instructions and guide for Arch Linux
Stars: ✭ 25 (+31.58%)
Mutual labels:  arch-linux
Calinix-Arch
CalinixOS Linux Distribution ISO Profiles
Stars: ✭ 42 (+121.05%)
Mutual labels:  arch-linux
stream-net
NET Client - Build Activity Feeds & Streams with GetStream.io
Stars: ✭ 28 (+47.37%)
Mutual labels:  news-feed
ansible-arch-linux
Ansible playbook for provisioning Arch Linux
Stars: ✭ 18 (-5.26%)
Mutual labels:  arch-linux
cxx
🔌 Configuration-free utility for building, testing and packaging executables written in C++. Can auto-detect compilation flags based on includes, via the package system and pkg-config.
Stars: ✭ 87 (+357.89%)
Mutual labels:  arch-linux
i3wm-config
i3wm config files. Updated config files are in the repository below.
Stars: ✭ 13 (-31.58%)
Mutual labels:  arch-linux
arch-plexpass
Docker build script for Arch Linux base with Plex Pass Media Server installed
Stars: ✭ 21 (+10.53%)
Mutual labels:  arch-linux

archnews

Python utility for displaying Arch news feed in console.

I was looking for an utility that would quickly show the Arch Linux news feed in command line before upgrading my system. Unfortunately I did not find any program that would suit my needs. So I wrote my own and I took it also as a practice in Python programming.

Features:

  • It is written in pure Python 3, no extra dependencies are needed.
  • It wraps feed description to improve readability and tries to interpret HTML as nicely as possible.
  • It uses colors. (Can be turned off.)
  • Time is formatted according locale.
  • Supports tracking of unread messages.
  • Comes with a transparent pacman wrapper (called archnews_wrap), so one will never miss a news when doing pacman -Syu. (See section Pacman wrapper or a manual page.)
  • Many command line options! (See --help or manual page.)

Installation

Because this is a tool specifically for Arch Linux, install it via AUR: https://aur.archlinux.org/packages/archnews2/

Pacman wrapper

Utility archnews comes with a shell script called archnews_wrap. It just passes all its parameters to pacman unless parameters are -Syu (or its variant like e.g. -Syyu). In this case it invokes archnews with --unread option (and then pacman on user input).

archnews_wrap is designed to be used as shell alias for pacman like this:

alias sudo='sudo '  # This enables aliases for commands inside sudo.
alias pacman=archnews_wrap  # This invokes wrapper whenever pacman is called.

Thus you will never miss a news when doing system upgrade!

How it looks in action

screen of archnews in terminal

Contribution

I am willing to maintain and further develop the project, so any contribution (issues, ideas, pull requests) is welcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].