Skip to main content

Build a personalized daily newspaper as a print-ready PDF.

Project description

Morning Paper

Your morning newspaper, built from your own sources.

Morning Paper is a Python CLI that builds a personalized daily paper as a print-ready PDF. It starts with deterministic collectors, writes durable file artifacts, and gives you a newspaper you can actually print and read.

No database. No Docker. No SaaS requirement.

What It Does

  • Builds a daily paper from Hacker News and RSS feeds
  • Prints one or more articles on demand with morning-paper print <url>
  • Produces JSON, Markdown, HTML, and PDF artifacts
  • Works without an LLM key
  • Uses a richer typewriter renderer when available and falls back cleanly

Quick Start

Today, install from GitHub:

pip install git+https://github.com/dmthepm/morning-paper.git
morning-paper init

For the actual high-quality print path:

pip install "morning-paper[pretty] @ git+https://github.com/dmthepm/morning-paper.git"
morning-paper build

That writes your paper under:

~/.local/share/morning-paper/<date>/

On macOS, the richer renderer may also need:

brew install pango gdk-pixbuf

Example Commands

# Create a starter config
morning-paper init

# Build today's paper from your configured sources
morning-paper build

# Build a paper for a specific date
morning-paper build --date 2026-04-15

# Print an article right now
morning-paper print https://example.com/article

# Verify the install
morning-paper doctor

# Show the installed version
morning-paper --version

Current Sources

Source Auth needed? Status
Hacker News No Included
RSS feeds No Included
Article URLs No Included via print

Rendering

Morning Paper currently supports two renderers:

  • typewriter
    • the primary product look
    • requires the pretty print stack
    • uses WeasyPrint
  • portable
    • explicit pure Python fallback
    • lower fidelity
    • only use this if you intentionally want the simpler output

Default config:

outputs:
  renderer: typewriter

If typewriter cannot render, Morning Paper now fails clearly instead of silently generating a lower-quality PDF. If you explicitly want the simpler fallback, set:

outputs:
  renderer: portable

Product Shape

Morning Paper is intentionally narrow.

It is:

  • a CLI
  • file-first
  • print-oriented
  • local-friendly

It is not:

  • a second-brain platform
  • a wiki
  • a database-heavy personal knowledge system
  • a closed feed or recommendation engine

Install for Development

git clone https://github.com/dmthepm/morning-paper.git
cd morning-paper
pip install -e ".[dev]"
python -m pytest tests/
morning-paper doctor

Roadmap

  1. Publish v0.1.0 to PyPI for pip install morning-paper
  2. Keep improving article print fidelity in the typewriter renderer
  3. Add queueing and staging commands for agent-driven daily workflows
  4. Add optional LLM scoring without making it a requirement

Contributing

See CONTRIBUTING.md.

Community

License

MIT

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

morning_paper-0.1.1.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

morning_paper-0.1.1-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file morning_paper-0.1.1.tar.gz.

File metadata

  • Download URL: morning_paper-0.1.1.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for morning_paper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 82fa6fd383c9d298cc67ede184bf3edb2e784ed4e43c7bc79f8f133d0cb3e597
MD5 4103e922d50326fe95938b68ff526006
BLAKE2b-256 83e4bac3034eb34706aed3df6c682a4332161a353bf46230f19b6700e910507d

See more details on using hashes here.

Provenance

The following attestation bundles were made for morning_paper-0.1.1.tar.gz:

Publisher: publish.yml on dmthepm/morning-paper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file morning_paper-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: morning_paper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for morning_paper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da8e57ba9fc8f98d6a2249a4c7291df49e8e1f9830762b2fc2f6d1d689a7aabb
MD5 e8278716303a1dcd1fa979e09fbdcd76
BLAKE2b-256 e75fb27f765c2b795cb3d3440981a0414a44bb5a739fe09642de98273c0ac447

See more details on using hashes here.

Provenance

The following attestation bundles were made for morning_paper-0.1.1-py3-none-any.whl:

Publisher: publish.yml on dmthepm/morning-paper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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