{"id":14973451,"url":"https://github.com/danyim/ng-jabberd","last_synced_at":"2026-02-02T05:02:01.392Z","repository":{"id":73390151,"uuid":"86116463","full_name":"danyim/ng-jabberd","owner":"danyim","description":"Simple XMPP chat client built in Angular 1","archived":false,"fork":false,"pushed_at":"2017-04-01T00:12:04.000Z","size":6697,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T09:05:57.222Z","etag":null,"topics":["angular1","ejabberd","es6","strophe","webpack","xmpp","xmpp-client"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danyim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-24T22:44:32.000Z","updated_at":"2020-04-25T11:23:51.000Z","dependencies_parsed_at":"2024-04-04T18:16:16.394Z","dependency_job_id":null,"html_url":"https://github.com/danyim/ng-jabberd","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"dc775268b6dd3a2df327f9abdd94294a5439ba63"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danyim/ng-jabberd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyim%2Fng-jabberd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyim%2Fng-jabberd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyim%2Fng-jabberd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyim%2Fng-jabberd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danyim","download_url":"https://codeload.github.com/danyim/ng-jabberd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyim%2Fng-jabberd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29006081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angular1","ejabberd","es6","strophe","webpack","xmpp","xmpp-client"],"created_at":"2024-09-24T13:48:47.290Z","updated_at":"2026-02-02T05:02:01.373Z","avatar_url":"https://github.com/danyim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-jabberd\nSimple XMPP chat client built in Angular 1\n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/danyim/ng-jabberd/master/src/public/demo.gif\" align+'center\" /\u003e\u003c/div\u003e\n\n## Installation\n### Server\n- [Follow this guide from ejabberd](https://docs.ejabberd.im/developer/install-osx/) to build the source with OSX and to get ejabberd up and running. I recommend installing Adium (`brew cask install adium`) to verify that your server works\n- Verify that http_bind is enabled by navigating to [http://localhost:5280/http-bind](http://localhost:5280/http-bind).\n    - If you don't see a landing page stating that XMPP over BOSH is enabled, [follow this guide to configure ejabberd and nginx](http://anders.conbere.org/2011/05/03/get_xmpp_-_bosh_working_with_ejabberd_firefox_and_strophe.html) for BOSH connections. (This step shouldn't be needed unless you're using an older version of ejabberd)\n- Copy the included configuation file to the default installation directory `~/my-ejabberd`\n    - `cp /config/ejabberd.yml ~/my-ejabberd/etc/` \n- Restart the server\n    - `~/my-ejabberd/sbin/ejabberdctl restart`\n- Verify that the server is running\n    - `~/my-ejabberd/sbin/ejabberdctl status`\n\n            $ ~/my-ejabberd/sbin/ejabberdctl status    \n            The node ejabberd@localhost is started with status: started\n            ejabberd 17.03.3 is running in that node\n\n- Create a couple users\n    - `~/my-ejabberd/sbin/ejabberdctl register bob localhost bob`\n    - `~/my-ejabberd/sbin/ejabberdctl register alice localhost alice`  \n- Open Adium (or another XMPP client) and log in as `alice@localhost : alice` on `localhost`\n### Front-End\n- Run `yarn` to install dependencies\n- `yarn start` to start the dev server at [http://localhost:8080/](http://localhost:8080/)\n- Login with the users created from above:\n    - Hostname: `http://localhost:5280/http-bind`\n    - Username: `bob@localhost`\n    - Password: `bob`\n- Click the + and add `alice@localhost` as a new recipient \n- Verify you can send and receive messages from `alice@localhost`\n\n## Limitations\n- (Major) Registration of new users will have to be done manually on the server due to the Strophe JS register plugin not sending the correct stanzas\n    - Create a user on the server: `~/my-ejabberd/sbin/ejabberdctl register \u003cuser\u003e localhost \u003cpassword\u003e`\n    - Login as `\u003cuser\u003e@localhost` for the username on the frontend\n- (Minor) Unable to get a chatstatus or a presence stanza from the ejabberd server, therefore no typing notification or (true) online status. The online status shown in the app assumes they're online if the other party is sending a message.\n- (Minor) Reattaching sessions after a browser refresh is still a work in progress. Partial implementation can be found in `/src/strophe.service.js` via the `reattach()` function\n- (Minor) [StropheJS doesn't play well with Webpack and AMD](https://github.com/strophe/strophejs/issues/166) ([another source](https://github.com/strophe/strophejs/issues/220)), so this project defines them manually in `\u003cscript\u003e` tags inside `/public/index.html` and uses [Webpack's `externals` option to expose the global](https://webpack.js.org/configuration/externals/#components/sidebar/sidebar.jsx)\n\n## Resources\n- [Angular 1.6 ES6 Style Guide](https://github.com/rwwagner90/angular-styleguide-es6)\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanyim%2Fng-jabberd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanyim%2Fng-jabberd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanyim%2Fng-jabberd/lists"}