{"id":17552413,"url":"https://github.com/prozilla/chriss","last_synced_at":"2025-03-29T07:44:18.932Z","repository":{"id":131096587,"uuid":"576625391","full_name":"Prozilla/CHRISS","owner":"Prozilla","description":"CHRISS is a computerised, humanoid, real-time \u0026 intelligent support system that has been expanded into a multipurpose chatbot system, made by Prozilla.","archived":false,"fork":false,"pushed_at":"2023-04-19T19:39:28.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T18:16:56.244Z","etag":null,"topics":["bot","chatbot"],"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/Prozilla.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":"2022-12-10T12:58:40.000Z","updated_at":"2023-10-05T13:45:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ccbccfa-c164-4e5d-a520-7437eba723ef","html_url":"https://github.com/Prozilla/CHRISS","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"298c350fb352224c53cf68f870b7b1ed10e3089c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozilla%2FCHRISS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozilla%2FCHRISS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozilla%2FCHRISS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozilla%2FCHRISS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prozilla","download_url":"https://codeload.github.com/Prozilla/CHRISS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156029,"owners_count":20732359,"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":["bot","chatbot"],"created_at":"2024-10-21T05:04:21.367Z","updated_at":"2025-03-29T07:44:18.914Z","avatar_url":"https://github.com/Prozilla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CHRISS\n\nCHRISS is a computerised, humanoid, real-time \u0026 intelligent support system that has been expanded into a multipurpose chatbot system, made by Prozilla.\n\nUsing CHRISS you can create your own intuitive chatbot for your website, Discord bot or anything else that can import npm packages!\n\nSome of its most outstanding features are: advanced sentence analysis that can understand gramatically incorrect sentences, the simulation of human emotions to make chatting more fun, high customizability that lets you change everything about the bot, ranging from a simple name to an entire vocabulary of words.\n\n## Installing\n\n```shell\nnpm install chriss\n```\n\n## Setting up a basic bot\n\nFollow this small step by step guide to create a simple bot that can greet users:\n\n1. Create `bot.js` and write the following code inside:\n\n```JS\n// bot.js\nimport { Bot } from \"chriss\";\n\nconst name = \"Example bot\";\nconst responses = {\n\t// The key of the objects in this dictionary refer to the context value, \n\t// this will be explained in detail later on\n    0: [\n        {\n            input: [\"hello\"], // User input (case-insensitive)\n            output: [\"Hello.\"], // Bot ouput\n            end: true, // This indicates the end of a conversation\n        },\n    ]\n};\n\nexport const bot = new Bot(name, responses);\n```\n\n2. Create `index.js` and write the following code inside:\n\n```JS\n// index.js\nimport { bot } from \"bot.js\";\n\n// In a real bot, the following code would run every time the user sends a message,\n// where input refers to the user's input and response to the bot's output, which is then sent back to the user\nconst input = \"hello\";\nconst response = bot.getResponse(input); \n\n// Log the response to the output\nconsole.log(response);\n```\n\n3. To test your brand new bot, run the following command:\n\n```shell\nnode index.js\n```\n\n4. You should see the following output logged to the console:\n\n```shell\n{\n\toutput: \"Hello.\",\n\tinput: {\n\t\tcontent: \"hello\",\n\t\tanalysis: Sentence {\n\t\t\tisSentence: false,\n\t\t\tisNegative: false,\n\t\t\tisQuestion: false,\n\t\t\tquestionWord: undefined,\n\t\t\tverb: undefined,\n\t\t\tsubject: undefined,\n\t\t\tdirectObject: undefined,\n\t\t\tkeyWord: \"hello\"\n\t\t}\n\t},\n\tmood: { happy: 100, sad: 0, angry: 0, scared: 0 },\n\tcontext: 0\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprozilla%2Fchriss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprozilla%2Fchriss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprozilla%2Fchriss/lists"}