A virtual newsroom powered by RSS and AI.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2.0 KiB

DTP Newsroom Worker

The Newsroom Worker is a process that runs in the background and uses cron jobs to:

  1. Fetch news articles
  2. Generate AI summaries of them
  3. Generate AI images from article content
  4. Generate AI voice narration for summary videos
  5. Generate summary videos
  6. Publish summary videos to DTP Newsroom Web

Managing The Worker

Follow the instructions in README.md to configure a host for running DTP Newsroom including the configuration of supervisord to start and manage the execution of the newsroom-worker process.

Refer to the .env documentation for information about environment variables used to control newsroom-worker in your environment.

The worker does not bind a TCP port and provide a Web interface. It is mostly driven by cron, and processes Bull jobs. It will communicate directly with the database, Redis, and S3 storage. It writes a log file for auditing, diagnostics, and reporting.

Storage

The worker requires access to S3-compatible storage and configured buckets for use while processing the news articles.

MongoDB Database

The worker requires access to the MongoDB database for use while processing the news articles and analytics.

Redis

The worker requires access to Redis to implement Bull queue jobs that ingest new feeds and process other jobs.

Local Storage

The worker requires access to gigabytes of local temporary storage for use while rendering news story summaries and videos. The worker will allocate space on local storage while processing a job, then remove the temporary data and generated artifacts once uploaded to S3 for distribution.

Output Traffic

The worker requires the ability to make outbound HTTP requests and receive responses while calling various APIs used by the application to generate AI content.

Graphics Processing Unit (GPU)

The worker requires access to a compatible GPU for use while rendering content. The GPU will be used to run a text-to-speech AI model, and also to render h.264 videos using FFMPEG.