{"id":13343119,"url":"https://github.com/jkxyz/ct-chat","last_synced_at":"2025-03-12T04:32:25.801Z","repository":{"id":51614986,"uuid":"165252497","full_name":"jkxyz/ct-chat","owner":"jkxyz","description":"Browser video chat client for ejabberd","archived":true,"fork":false,"pushed_at":"2021-05-11T03:23:16.000Z","size":482,"stargazers_count":5,"open_issues_count":7,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-30T21:06:28.546Z","etag":null,"topics":["chat","ejabberd","re-frame","xmpp"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/jkxyz.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}},"created_at":"2019-01-11T13:59:21.000Z","updated_at":"2023-03-10T10:17:51.000Z","dependencies_parsed_at":"2022-08-22T11:50:53.724Z","dependency_job_id":null,"html_url":"https://github.com/jkxyz/ct-chat","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/jkxyz%2Fct-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkxyz%2Fct-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkxyz%2Fct-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkxyz%2Fct-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkxyz","download_url":"https://codeload.github.com/jkxyz/ct-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221270032,"owners_count":16788788,"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":["chat","ejabberd","re-frame","xmpp"],"created_at":"2024-07-29T19:30:40.163Z","updated_at":"2024-10-24T03:30:24.727Z","avatar_url":"https://github.com/jkxyz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ct.chat\n\n## Prerequisites\n\n* Leiningen\n* Docker\n* Yarn\n\nThe following ports need to be available:\n\n* 3449 (Figwheel)\n* 5222 (ejabberd)\n* 5280 (ejabberd)\n* 5443 (ejabberd)\n* 3500 (media server)\n* 10000-10100 (media server)\n\n## Development\n\nTo compile NPM dependencies:\n\n```\n$ yarn install\n$ yarn webpack\n```\n\nTo setup and start ejabberd, Postgres, and the media server:\n\n```\n# Make appropriate changes to environment variables in .env\n$ cp .env.sample .env\n\n# Building the mediasoup image will take some time\n$ docker-compose up --build -d\n\n$ ./docker/init_ejabberd.sh\n```\n\nTo compile sass sources:\n\n```\n$ lein sass4clj once\n```\n\nTo start the Figwheel ClojureScript compiler:\n\n```\n$ lein figwheel\n```\n\nThe server will be available at http://localhost:3449/\n\n### Stylesheets compilation\n\nTo compile sass sources and watch for changes:\n\n```\n$ lein sass4clj auto\n```\n\n### MediaSoup\n\n[MediaSoup][mediasoup] is a WebRTC Selective Forwarding Unit and media server.\n\nIt's recommended to run the MediaSoup server in a Docker container. This is\nbecause installing the `mediasoup` package compiles a C++ extension which\nrequires a large number of system dependencies. The `mediasoup` package is\nomitted from `mediasoup-server/package.json` and will be installed when building\nthe Docker image.\n\nTo install new Node packages:\n\n```\n$ docker-compose exec mediasoup npm install --save ...PACKAGES\n$ docker-compose exec mediasoup cat package.json \u003e mediasoup-server/package.json\n$ docker-compose exec mediasoup cat package-lock.json \u003e mediasoup-server/package-lock.json\n```\n\n[mediasoup]: https://mediasoup.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkxyz%2Fct-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkxyz%2Fct-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkxyz%2Fct-chat/lists"}