{"id":20383611,"url":"https://github.com/yuusheng/icursor","last_synced_at":"2026-04-17T08:32:01.126Z","repository":{"id":64644373,"uuid":"573838423","full_name":"yuusheng/icursor","owner":"yuusheng","description":"Make your cursor in web looks like cursor in iPad","archived":false,"fork":false,"pushed_at":"2022-12-20T10:32:36.000Z","size":129,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T17:39:22.489Z","etag":null,"topics":["cursor","ios","web"],"latest_commit_sha":null,"homepage":"https://icursor.yuusheng.im","language":"TypeScript","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/yuusheng.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}},"created_at":"2022-12-03T15:41:17.000Z","updated_at":"2024-12-26T16:28:18.000Z","dependencies_parsed_at":"2023-01-30T00:15:40.611Z","dependency_job_id":null,"html_url":"https://github.com/yuusheng/icursor","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/yuusheng/icursor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuusheng%2Ficursor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuusheng%2Ficursor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuusheng%2Ficursor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuusheng%2Ficursor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuusheng","download_url":"https://codeload.github.com/yuusheng/icursor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuusheng%2Ficursor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31921835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cursor","ios","web"],"created_at":"2024-11-15T02:23:33.453Z","updated_at":"2026-04-17T08:32:01.108Z","avatar_url":"https://github.com/yuusheng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/yuusheng/icursor/5d395eaf1ecb9382d28c294977c02e82ce18d0dd/playground/public/iCursor.svg\" style=\"width:100px;\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nHelping you to curstomize your cursor in web looks like cursor in iPad.\n\u003c/p\u003e\n\n\n## Usage\n\n```bash\nnpm i icursor\n```\n\n```js\nimport 'icursor/main.css'\nimport { createCursor } from 'icursor'\n\n// only support class selector right now\ncreateCursor('.btn')\n```\n\n`createCursor` will generate an iCursor, which can fuse into the element that has `btn` class\n\nor you can customize your iCursor style, when cursor hover on element with class `btn`, it will have the style of `btn-class`\n\n```js\nimport 'icursor/main.css'\nimport { createCursor } from 'icursor'\n\ncreateCursor({ '.btn': 'btn-class' })\n```\n\n\u003e You should import `icursor/main.css` as early as possible, or at least import `icursor/main.css` before your custom stylesheet to make sure that your own css can work.\n\n## Todo\n- refactor cursor inner with canvas or maybe svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuusheng%2Ficursor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuusheng%2Ficursor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuusheng%2Ficursor/lists"}