Like this?
Link Preview Image nodebb-widget-essentials/public/templates/widgets/activeusers.tpl at master · NodeBB/nodebb-widget-essentialsSeveral basic widgets bundled together in one package including 'HTML', 'Markdown', 'Recent Replies', 'Active Users', and 'Moderators' - nodebb-widget-essentials/public/templates/widgets/activeusers.tpl at master · NodeBB/nodebb-widget-essentials
faviconGitHub (github.com)
This pre-renders the list of active users from server data. And then has some inline JS with socket call to update the list as new users become active