{"id":22180914,"url":"https://github.com/navidk0/clippy","last_synced_at":"2025-07-12T08:07:10.328Z","repository":{"id":223211873,"uuid":"759607422","full_name":"NavidK0/clippy","owner":"NavidK0","description":"Fork of clippyjs and clippyts","archived":false,"fork":false,"pushed_at":"2024-03-25T21:00:42.000Z","size":11908,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T18:11:38.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/NavidK0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-02-19T01:25:57.000Z","updated_at":"2024-02-21T08:03:22.000Z","dependencies_parsed_at":"2025-01-29T23:37:59.738Z","dependency_job_id":null,"html_url":"https://github.com/NavidK0/clippy","commit_stats":null,"previous_names":["navidk0/clippy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NavidK0%2Fclippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NavidK0%2Fclippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NavidK0%2Fclippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NavidK0%2Fclippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NavidK0","download_url":"https://codeload.github.com/NavidK0/clippy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245334913,"owners_count":20598389,"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-12-02T09:20:10.541Z","updated_at":"2025-03-24T19:16:08.496Z","avatar_url":"https://github.com/NavidK0.png","language":"TypeScript","readme":"# Clippy\r\n\r\n\u003e Fork of a fork of a fork of a fork of the original clippy.js by https://www.smore.com/\r\n\r\n![clippy-agents](https://user-images.githubusercontent.com/3016806/223058578-e4123bc3-0f4b-4913-a15d-d04e8be04525.png)\r\n\r\n## Usage\r\n\r\n### NPM / Webpack\r\n\r\n```ts\r\nimport clippy from \"clippy\"\r\n\r\nclippy.load({\r\n  name: agentName,\r\n\r\n  // allowDrag: false,\r\n  // allowDoubleClick: false,\r\n  // enableSounds: false,\r\n\r\n  onSuccess: (agent) =\u003e {\r\n    window[agentName] = agent;\r\n\r\n    // Do something with the agent\r\n    agent.show();\r\n\r\n    // Move it instantly to start it from somewhere\r\n    agent.moveTo(100, 100, 0);\r\n  },\r\n});\r\n```\r\n\r\n## Actions\r\n\r\nAll the agent actions are queued and executed by order, so you can stack them:\r\n\r\n```js\r\n// Play a given animation\r\nagent.play(\"Searching\");\r\n\r\n// Play a random animation\r\nagent.animate();\r\n\r\n// Get a list of all the animations\r\nagent.animations();\r\n// =\u003e [\"MoveLeft\", \"Congratulate\", \"Hide\", \"Pleased\", \"Acknowledge\", ...]\r\n\r\n// Show text balloon\r\nagent.speak(\"When all else fails, bind some paper together. My name is Clippy.\");\r\n\r\n// Move to the given point, use animation if available\r\nagent.moveTo(100, 100);\r\n\r\n// Gesture at a given point (if gesture animation is available)\r\nagent.gestureAt(200, 200);\r\n\r\n// Stop the current action in the queue\r\nagent.stopCurrent();\r\n\r\n// Stop all actions in the queue and go back to idle mode\r\nagent.stop();\r\n```\r\n\r\n## Special Thanks\r\n\r\n- [pi0 for the original clippyJS implementation](https://github.com/pi0/clippyjs)\r\n- The [Clippy.JS](http://smore.com/clippy-js) project by [Smore](http://smore.com)\r\n- The awesome [Cinnamon Software](http://www.cinnamonsoftware.com/) for\r\n  developing [Double Agent](http://doubleagent.sourceforge.net/)\r\n  the program we used to unpack Clippy and his friends!\r\n- Microsoft, for creating clippy :)\r\n\r\n### Original Projects and Forks\r\n\r\n- https://github.com/pi0/clippyjs\r\n- https://github.com/lizozom/clippyts","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavidk0%2Fclippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavidk0%2Fclippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavidk0%2Fclippy/lists"}