{"id":17005070,"url":"https://github.com/joni2back/dechat","last_synced_at":"2026-04-10T07:14:28.072Z","repository":{"id":42949632,"uuid":"195293538","full_name":"joni2back/dechat","owner":"joni2back","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-02T06:58:17.000Z","size":401,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-22T10:42:29.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/joni2back.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":"2019-07-04T19:41:03.000Z","updated_at":"2020-01-05T12:26:56.000Z","dependencies_parsed_at":"2025-03-22T10:40:55.868Z","dependency_job_id":"e391420b-a9ba-4532-8d53-8acbc381c9dc","html_url":"https://github.com/joni2back/dechat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joni2back/dechat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joni2back%2Fdechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joni2back%2Fdechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joni2back%2Fdechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joni2back%2Fdechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joni2back","download_url":"https://codeload.github.com/joni2back/dechat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joni2back%2Fdechat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265326962,"owners_count":23747651,"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-10-14T04:45:11.722Z","updated_at":"2025-12-30T20:06:41.449Z","avatar_url":"https://github.com/joni2back.png","language":"PHP","readme":"## dechat\n\n### Services and applications\nThis chat has 2 final applications. \n- The first one is **chat-websocket-server** an express app that provides final frontend interface (in VueJS) to the user and also handles websocket communication between **user \u003c\u003e bot**\n- The second one is **chat-replies-api**, an isolated service to perform bot replies  based on a conversation history. This can use different approaches to return efficient replies, for example Artificial Intelligence, Machine Learning, Cleverbot, etc.\n\n\n### Docker containers and microservices details\n\n-  **chat_bot_node** \n\t- Web application to serve websocket chat and frontend client\n\t- ***Works with:** ./chat-websocket-server/*\n\t- ***Language:** EcmaScript6 / Javascript*\n\t- ***Techs:** Node + SocketIO + ExpressJS + Mongoose + VueJS*\n\n-  **chat_bot_mongodb** \n\t- Database to save chat conversations\n\t- ***Works with:** ./db/*\n\t- ***Techs:** MongoDB*\n\n-  **chat_replies_api_nginx** \n \t- Nginx server to serve port 80 connecting to backend service of bot conversation replies\n\t- ***Works with:** ./chat-replies-api/*\n\t- ***Techs:** Nginx*\n\n-  **chat_replies_api_phpfpm** \n \t- PHP-FPM service to expose the php application\n\t- ***Works with:** ./chat-replies-api/*\n\t- ***Techs:** PHP7.2 + FPM + Laravel 5.8*\n  \n---\n### Todo\n\n- Intercept chat conversation to continue by a real support person\n- Add some AI to improve answers and conversations\n\n---\n\n### Setting up and running\n#### Docker build and init containers\n```docker-compose up```\n\n*This may take a bit, regarding dependencies downloading, etc.*\n\n#### Navigate\n*Once containers are working, enter*\n```http://localhost:80```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoni2back%2Fdechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoni2back%2Fdechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoni2back%2Fdechat/lists"}