From Newsgroup: comp.lang.python
AI Generated Usenet Client in Python
If you have any improvements to this or helpful ideas I would like to see them.
https://github.com/alt-magick/Newsgroup-Client-/
#!/usr/bin/env python3
import nntplib
import sys
import termios
import tty
import re
import quopri
import base64
from email.message import EmailMessage
import os
import tempfile
import subprocess
# ================= USER CONFIG =================
NNTP_SERVER = "usnews.blocknews.net"
NNTP_PORT = 563
USERNAME = ""
PASSWORD = ""
PAGE_LINES = 12
MAX_ARTICLES_LIST = 200
MAX_REPLY_SCAN = 300
START_GROUP = "alt.test"
SHOW_REPLY_COUNT = False
SHOW_REPLY_COUNT_MAIN = True
# ==============================================
RE_REPLY = re.compile(r"^(re|fwd):", re.IGNORECASE)
CLEAN_RE = re.compile(r"[