FVN.li Documentation Help

feed:process

Processes the itch.io feed to discover and update game information automatically.

Overview

This command monitors the itch.io public feed for game updates and processes new events to keep the database synchronized with the latest game information. It includes built-in duplicate detection and retry logic for robust operation.

Key Features: Automatic discovery, duplicate prevention, rate limit handling, comprehensive logging.

Usage

php artisan feed:process

Options

This command has no specific options - it processes the feed automatically using configured settings.

Processing Logic

The command follows this workflow:

  1. Fetches latest feed events from itch.io's public feed

  2. Checks processed events table to avoid duplicate processing

  3. Stops at first already-processed event to prevent reprocessing

  4. Processes new events in chronological order

  5. Updates game information based on event data

  6. Records processed events to prevent future duplicates

Examples

php artisan feed:process

Processes all new events from the itch.io feed since the last run.

php artisan feed:process -v

Shows detailed processing information including event details and API calls.

php artisan feed:process --quiet

Only shows errors, useful for automated/scheduled execution.

When to Use

Recommended Usage Scenarios

  1. Scheduled automatic execution (recommended: every 15-30 minutes)

  2. Manual execution after extended downtime

  3. Testing feed processing after configuration changes

  4. Recovering from failed automated runs

Processing Behavior

The feed processor treats all events uniformly - it doesn't differentiate between event types. For every feed event:

Condition

Action Taken

Data Updated

Game exists in database

Refresh version information

Version details, download links, platform support

Game not in database

Skip event

None

Error Handling

The command includes comprehensive error handling:

  • Rate Limiting: Automatic retry with exponential backoff

  • API Failures: Retry logic for temporary network issues

  • Duplicate Detection: Prevents reprocessing of already-handled events

  • Data Validation: Ensures feed data integrity before processing

Monitoring

Monitor the following during feed processing:

  • Events processed count - Should match expected feed activity

  • API rate limit status - Watch for 429 responses

  • Processing time - Longer times may indicate API issues

  • Error rates - High error rates suggest configuration problems

Processing Flow

This diagram shows the detailed flow of feed processing:

No

Yes

Yes

No

No

Yes

Start feed:process

Fetch itch.io Feed

Get Latest Events

More Events?

Complete

Check Processed Events Table

Already Processed?

Stop Processing

Game Exists in DB?

Skip Event

Refresh Version Info

Record Processed Event

Continue to Next Event

Last modified: 13 October 2025