activity-feed
هذا المحتوى غير متوفر بلغتك بعد.
Activity Feed Plugin
Section titled “Activity Feed Plugin”Fan-out activity feed with aggregation and real-time subscriptions. Pro plugin.
Requires: Basic license tier or higher.
nself license set nself_pro_...
Install
Section titled “Install”nself license set nself_pro_xxxxx...nself plugin install activity-feedWhat It Does
Section titled “What It Does”Generates personalized activity feeds by fanning out social events to follower feeds. When a user posts, their followers’ feeds are updated immediately. Groups similar activities to reduce noise (e.g., “5 people liked your post” instead of 5 separate items). Provides a subscription API for real-time feed updates. Integrates with the social plugin.
Configuration
Section titled “Configuration”| Env Var | Default | Description |
|---|---|---|
ACTIVITY_FEED_PORT | 3209 | Activity feed service port |
ACTIVITY_FEED_AGGREGATION_WINDOW | 3600 | Aggregation window in seconds |
ACTIVITY_FEED_MAX_ITEMS | 500 | Max items per user feed |
ACTIVITY_FEED_TRIM_INTERVAL | 3600 | Feed trim interval in seconds |
| Port | Purpose |
|---|---|
| 3209 | Activity feed REST API |
Database Tables
Section titled “Database Tables”4 tables added to your Postgres database:
np_activity_feed_activities: activity event lognp_activity_feed_feeds: per-user feed itemsnp_activity_feed_aggregations: grouped activity aggregationsnp_activity_feed_subscriptions: real-time subscription records
Nginx Routes
Section titled “Nginx Routes”| Route | Target |
|---|---|
/activity-feed/ | Activity feed API |