Skip to main content

How about a daily printed newspaper, govna!

Project description

newsie

How about a daily printed newspaper, govna?

Description

Newsie delivers a fresh hard-copy newspaper via your printer every morning based on the news sources you select. Each article includes a summary and a QR code you can scan with your phone shoud you want to know more.

Status

  • Generates a page of news from a list of RSS feeds
  • Can print the page directly to CUPS-configured printer
  • Emails the page to a configured destination
  • Blocks stories based on keywords

Usage

Once installed and configured, the command new-issue will email and print a new issue of the paper.

Requirements

You'll need to install a LaTex compiler, something along these lines:

sudo apt-get install texlive-pictures texlive-science texlive-latex-extra latexmk

Installation

pip install newsie

... or to install from source, clone this repository and then...

pip install .

Configuration

Copy config_template.ini to config.ini and modify the configuration as needed.

NOTE: Make sure the paths in the configuration file actually exist!"

TODO

  • Make the feed list dynamic (part of the config)
  • Add a tool to automate configuration
  • Fix encoding/unicode issues (ex:, the ' in it's getting turned into weird characters).
  • Blend stories so they don't appear grouped by source
  • Only include stories from the last 24 hours (or some configured amount)
  • Grab more of the article if the RSS summary is too short
  • Figure out why iOS won't parse the QR code links
  • Create a CLI
  • Add forecast to weather
  • Support other weather providers
  • Make story titles smaller than header
  • Re-work configuration (module-based is broken now that we're a real package)
  • Fix path issues that have come-up as a result of packagification
  • Create qr image directory if it's missing
  • Better output (remove debugging code, etc.)
  • Fix "first page is blank" problem
  • Make number of articles configurable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newsie-0.0.6.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

newsie-0.0.6-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file newsie-0.0.6.tar.gz.

File metadata

  • Download URL: newsie-0.0.6.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for newsie-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bd2d75f23629a1c5341e3a78afbe8b851fc33ff215f81405aff11cc0ed6feea0
MD5 d38424ca880833ae75ed8a3a29668831
BLAKE2b-256 daa7b724619ba083e8547a658d60940df4a98ee249cac2624814d7be416371df

See more details on using hashes here.

File details

Details for the file newsie-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: newsie-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for newsie-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f49eec2fe3739a81449861623408aee93a9ea1a5c740de3d6c7382edc96dd8c2
MD5 aeeb311eecad1859101526b989fa390f
BLAKE2b-256 07652f2afe240958eea866c57ec811c88c4720ff45162ee9bb5885d05cd6ae8e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page