{"id":28473319,"url":"https://github.com/wesley-archives/z3-r0","last_synced_at":"2025-07-02T02:31:05.258Z","repository":{"id":289967967,"uuid":"970102095","full_name":"wesley-archives/z3-r0","owner":"wesley-archives","description":"Z3-R0 simulates a chatbot experience through a custom-built intent-matching algorithm. ","archived":false,"fork":false,"pushed_at":"2025-04-28T22:19:44.000Z","size":4222,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T04:38:35.363Z","etag":null,"topics":["alibabacloud","bot","chat","hackaton"],"latest_commit_sha":null,"homepage":"https://z3-r0.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wesley-archives.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2025-04-21T13:26:51.000Z","updated_at":"2025-05-30T16:56:54.000Z","dependencies_parsed_at":"2025-04-26T03:49:18.544Z","dependency_job_id":null,"html_url":"https://github.com/wesley-archives/z3-r0","commit_stats":null,"previous_names":["wesleybertipaglia/z3-r0"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wesley-archives/z3-r0","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fz3-r0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fz3-r0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fz3-r0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fz3-r0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesley-archives","download_url":"https://codeload.github.com/wesley-archives/z3-r0/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fz3-r0/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263063926,"owners_count":23408016,"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":["alibabacloud","bot","chat","hackaton"],"created_at":"2025-06-07T12:06:55.983Z","updated_at":"2025-07-02T02:31:05.233Z","avatar_url":"https://github.com/wesley-archives.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 Z3-R0\n\n**Z3-R0** is my submission for the [Alibaba Cloud Web Game Challenge](https://dev.to/devteam/join-us-for-the-alibaba-cloud-web-game-challenge-3000-in-prizes-1n5d?bb=220943) — a creative contest that invites developers to build robot-themed games or experiences using web technologies and Alibaba Cloud services.\n\n![Z3-R0](./demo/z3r0_row.webp)\n\nRather than using real AI or NLP services, **Z3-R0 simulates a chatbot experience** through a custom-built intent-matching algorithm. It analyzes user input patterns and responds with scripted interactions, creating the illusion of intelligence and personality — all handled entirely on the frontend with no backend or cloud processing required.\n\nBuilt with **React**, **TypeScript**, and **Vite**, Z3-R0 is designed to be fast, playful, and easy to deploy, making it perfect for lightweight hosting environments like Alibaba Cloud's OSS or ECS.\n\n## 📌 Table of Contents\n\n- [Features](#-features)\n- [Demo](#-demo)\n- [Getting Started](#-getting-started)\n- [Usage](#-usage)\n- [Contributing](#-contributing)\n- [License](#-license)\n- [Acknowledgements](#-acknowledgements)\n\n## 💡 Features\n\n- 🎮 **Interactive commands**: gifs, memes, jokes, quotes, games, music \u0026 more\n- 🗣️ **Text-to-speech**: Uses the Web Speech API to speak responses aloud\n- 🧠 **Simulated conversation**: Predefined behavior patterns for quirky dialogue\n- 💤 **Idle detection**: Reacts with surprises when you’re inactive\n- 🌍 **Multi-language support**: EN, ES, PT, CH, HI\n- 💾 **Persistent local storage**: Saves language preference and last 20 messages\n- 🛰️ **Dynamic status messages**: Adds personality with randomized system statuses\n- 🎭 **Smooth UI transitions**: Online/offline animations and effects\n- 🔔 **Browser Notifications**: Alerts you when Z3-R0 is ready to chat\n- 🐳 **Docker-ready**: For clean builds and easy deployment\n\n## 🚀 Demo\n\nA preview of Z3-R0 in action:\n\n![Z3-R0 Screenshot](./demo/image.png)\n\n\u003e Try Z3-R0 now, live on [z3-r0.vercel.app](https://z3-r0.vercel.app/).\n\n## ⚡ Get Started\n\n### Prerequisites\n\n- Node.js (v18+ recommended)\n- Docker (optional, for containerized build)\n\n### Clone the Repository\n\n```bash\n# Clone the repository\ngit clone https://github.com/wesleybertipaglia/z3-r0.git\n\n# Navigate into the project folder\ncd z3-r0\n```\n\n### Run Locally\n\n```bash\n# Install dependencies\nnpm install\n\n# Start the development server\nnpm run dev\n```\n\n### Run in Docker\n\n```bash\n# Build the Docker image\ndocker compose up -d\n```\n\n## 🛠️ Usage\n\nOnce the bot is live, try typing:\n\n- `!gif` to get a random gif\n- `!meme` to fetch a meme\n- `!joke` for a random joke\n- `!quote` for a motivational quote\n- `!game` to get a list of available games\n- `!hangman` to play Hangman\n- `!trivia` to test your trivia knowledge\n- `!music` to listen to some tunes\n- `!help` for a list of commands\n\nZ3-R0 keeps the chat engaging, even when you’re AFK 😎\n\n## 🤝 Contributing\n\nContributions are welcome! If you have any suggestions or improvements, please open an issue or a pull request.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Acknowledgements\n\n- [ChatGPT](https://openai.com/blog/chatgpt) for the robot's profile image.\n- Sound Effect by \u003ca href=\"https://pixabay.com/users/freesound_community-46691455/?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=music\u0026utm_content=91931\"\u003efreesound_community\u003c/a\u003e from \u003ca href=\"https://pixabay.com//?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=music\u0026utm_content=91931\"\u003ePixabay\u003c/a\u003e\n- Musics from [Spotify Embedded API](https://developer.spotify.com/documentation/web-playback-sdk/quick-start/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesley-archives%2Fz3-r0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesley-archives%2Fz3-r0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesley-archives%2Fz3-r0/lists"}