{"id":18927063,"url":"https://github.com/candy-chat/mod_onlineusers","last_synced_at":"2025-04-15T13:33:40.535Z","repository":{"id":1609091,"uuid":"2216287","full_name":"candy-chat/mod_onlineusers","owner":"candy-chat","description":"Displays the number of onlineusers on ejabberd","archived":true,"fork":false,"pushed_at":"2011-10-05T14:39:08.000Z","size":92,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-16T15:15:13.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/candy-chat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-16T14:50:44.000Z","updated_at":"2024-11-21T12:38:56.000Z","dependencies_parsed_at":"2022-09-01T09:20:56.043Z","dependency_job_id":null,"html_url":"https://github.com/candy-chat/mod_onlineusers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candy-chat%2Fmod_onlineusers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candy-chat%2Fmod_onlineusers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candy-chat%2Fmod_onlineusers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candy-chat%2Fmod_onlineusers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/candy-chat","download_url":"https://codeload.github.com/candy-chat/mod_onlineusers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249080543,"owners_count":21209541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:18:02.634Z","updated_at":"2025-04-15T13:33:40.302Z","avatar_url":"https://github.com/candy-chat.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"mod_onlineusers\n===============\n\nDisplays the number of online users via the http interface of ejabberd. \n\n* To compile, clone it to the ejabberd-modules folder you checked out from [svn](http://www.ejabberd.im/ejabberd-modules) and call `./build.sh` (ignore the warning regarding LocalPath).\n* After that, copy ebin/mod_onlineusers.ebin to your ebin folder of ejabberd.\n* Then, edit ejabberd.cfg and add the following to your modules config: `{mod_onlineusers, []}`.\n* Also in ejabberd.cfg, add to your http-listen configuration the following: `{request_handlers, [{[\"onlineusers\"], mod_onlineusers}]}`\n* Restart ejabberd\n\nUsage\n-----\nGo to (http://example.com:5280/onlineusers) to see your currently online users. (Change *example.com* to your server \u0026 *5280* to your ejabberd http port).\n  \n\n**Be aware:** I just did it because I didn't find a better way to do it via a standard module from ejabberd. There may be bugs and there may be a better way to achieve it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandy-chat%2Fmod_onlineusers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandy-chat%2Fmod_onlineusers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandy-chat%2Fmod_onlineusers/lists"}