تخطَّ إلى المحتوى

activity-feed

هذا المحتوى غير متوفر بلغتك بعد.

Fan-out activity feed with aggregation and real-time subscriptions. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install activity-feed

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.

Env VarDefaultDescription
ACTIVITY_FEED_PORT3209Activity feed service port
ACTIVITY_FEED_AGGREGATION_WINDOW3600Aggregation window in seconds
ACTIVITY_FEED_MAX_ITEMS500Max items per user feed
ACTIVITY_FEED_TRIM_INTERVAL3600Feed trim interval in seconds
PortPurpose
3209Activity feed REST API

4 tables added to your Postgres database:

  • np_activity_feed_activities: activity event log
  • np_activity_feed_feeds: per-user feed items
  • np_activity_feed_aggregations: grouped activity aggregations
  • np_activity_feed_subscriptions: real-time subscription records
RouteTarget
/activity-feed/Activity feed API