{"id":21864251,"url":"https://github.com/memori-ai/memori-webcomponent","last_synced_at":"2026-02-25T18:12:49.910Z","repository":{"id":64377834,"uuid":"575020147","full_name":"memori-ai/memori-webcomponent","owner":"memori-ai","description":"WebComponent to integrate a Memori in a web page or web app.","archived":false,"fork":false,"pushed_at":"2026-01-27T11:52:07.000Z","size":3956,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-27T23:40:17.243Z","etag":null,"topics":["ai","conversational-agents","conversational-ai","memori","memori-ai","nlp","react","web-component","webcomponent","webcomponents"],"latest_commit_sha":null,"homepage":"https://memori-ai.github.io/memori-webcomponent/example/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/memori-ai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-06T15:21:26.000Z","updated_at":"2026-01-27T11:52:10.000Z","dependencies_parsed_at":"2023-12-22T16:05:58.779Z","dependency_job_id":"ccb38bd7-f8ee-49e0-8f4c-7bd120747c86","html_url":"https://github.com/memori-ai/memori-webcomponent","commit_stats":{"total_commits":408,"total_committers":2,"mean_commits":204.0,"dds":0.004901960784313708,"last_synced_commit":"bd7777413e4fb49912871eb83bba30f797ff60ce"},"previous_names":[],"tags_count":282,"template":false,"template_full_name":null,"purl":"pkg:github/memori-ai/memori-webcomponent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memori-ai%2Fmemori-webcomponent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memori-ai%2Fmemori-webcomponent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memori-ai%2Fmemori-webcomponent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memori-ai%2Fmemori-webcomponent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memori-ai","download_url":"https://codeload.github.com/memori-ai/memori-webcomponent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memori-ai%2Fmemori-webcomponent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28939508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T10:18:23.202Z","status":"ssl_error","status_checked_at":"2026-01-31T10:18:22.693Z","response_time":128,"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":["ai","conversational-agents","conversational-ai","memori","memori-ai","nlp","react","web-component","webcomponent","webcomponents"],"created_at":"2024-11-28T04:08:18.718Z","updated_at":"2026-01-31T11:03:35.852Z","avatar_url":"https://github.com/memori-ai.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memori WebComponent\n\nWebComponent to integrate an agent from [Memori](https://memori.ai) in a web page or web app.\n\nWeb Platform: [AIsuru](https://aisuru.com)\n\nUses [memori-react](https://github.com/memori-ai/memori-react) under the hood.\nSee [demo](https://memori-ai.github.io/memori-webcomponent/example/).\n\n## Installation from npm\n\n```bash\nnpm i --save @memori.ai/memori-webcomponent\n```\n\n## Embed or usage from CDN (suggested)\n\n```html\n\u003cscript\n  type=\"module\"\n  src=\"https://cdn.jsdelivr.net/npm/@memori.ai/memori-webcomponent/dist/memori-webcomponent.js\"\n\u003e\u003c/script\u003e\n\u003clink\n  rel=\"stylesheet\"\n  href=\"https://cdn.jsdelivr.net/npm/@memori.ai/memori-react/dist/styles.min.css\"\n/\u003e\n```\n\n## Usage\n\n```html\n\u003cmemori-client\n  memoriName=\"Memori\"\n  ownerUserName=\"memoridev\"\n  tenantID=\"www.aisuru.com\"\n  apiURL=\"https://backend.memori.ai\"\n  engineURL=\"https://engine.memori.ai\"\n  baseURL=\"https://www.aisuru.com\"\n  uiLang=\"it\"\n  multilingual=\"true\"\n  showShare=\"true\"\n\u003e\u003c/memori-client\u003e\n```\n\nFor more details on attributes, see [memori-react](https://github.com/memori-ai/memori-react) component props.\n\nSpecial note for `height`: defaults to `100%` and can be set to a fixed value (e.g. `500px`).\nFor the best experience, it is recommended to set it to '100vh' (full height of the viewport) or '100svh'.\n\n### Initial context\n\nAs for [memori-react](https://github.com/memori-ai/memori-react) component, it is possible to pass an initial context to the Memori session.\nWith this WebComponent that is slightly different, as the context is not passed as a JSON but as a string in the `context` attribute as comma-separated `KEY:VALUE` pairs:\n\n```html\n\u003cmemori-client ... context=\"VAR1:VALUE1,VAR2:VALUE2\"\u003e\u003c/memori-client\u003e\n```\n\n## Styling\n\nYou can override the default styles of the Agent by customizing the following CSS custom properties:\n\n```css\nmemori-client,\n#headlessui-portal-root,\n.memori-widget {\n  --memori-primary: rgb(102, 103, 171);\n  --memori-primary-text: #fff;\n  --memori-inner-content-pad: 1rem;\n  --memori-inner-bg: transparent;\n  --memori-chat-bubble-bg: #ffffff60;\n  --memori-text-color: #000;\n  --memori-button-bg: #fff;\n  --memori-button-text: #000;\n  --memori-button-padding: 0.5rem 1.5rem;\n  --memori-button-border-color: #d9d9d9;\n  --memori-button-radius: 5px;\n  --memori-button-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);\n  --memori-blur-background: 0px;\n  --memori-drawer--width: 100%;\n  --memori-drawer--width--md: 80%;\n  --memori-drawer--width--lg: 60%;\n  --memori-modal--width: 100%;\n  --memori-modal--width--md: 80%;\n  --memori-error-color: #ff4d4f;\n}\n```\n\nYou can review the default styles in the [styles.css](https://github.com/memori-ai/memori-react/blob/main/src/styles.css) file.\n\n## See also\n\n- [memori-api-client](https://github.com/memori-ai/memori-api-client) - API client for Memori\n- [memori-react](https://github.com/memori-ai/memori-react) - React library for Memori, used by this library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemori-ai%2Fmemori-webcomponent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemori-ai%2Fmemori-webcomponent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemori-ai%2Fmemori-webcomponent/lists"}