{"id":26245104,"url":"https://github.com/cloudmosa/cloudphone-react-sample","last_synced_at":"2026-04-29T23:32:21.974Z","repository":{"id":269377802,"uuid":"906500123","full_name":"cloudmosa/cloudphone-react-sample","owner":"cloudmosa","description":"Cloud Phone sample widget using React ","archived":false,"fork":false,"pushed_at":"2025-01-06T05:15:20.000Z","size":1245,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-02T04:57:44.560Z","etag":null,"topics":["cloudphone","javascript","react"],"latest_commit_sha":null,"homepage":"https://cloudmosa.github.io/cloudphone-react-sample/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudmosa.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-21T04:37:45.000Z","updated_at":"2025-06-10T11:54:35.000Z","dependencies_parsed_at":"2024-12-23T06:31:01.565Z","dependency_job_id":"8dfcdd41-86c1-4110-adc7-d68214cd458d","html_url":"https://github.com/cloudmosa/cloudphone-react-sample","commit_stats":null,"previous_names":["cloudmosa/cloudphone-react-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudmosa/cloudphone-react-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudmosa%2Fcloudphone-react-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudmosa%2Fcloudphone-react-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudmosa%2Fcloudphone-react-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudmosa%2Fcloudphone-react-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudmosa","download_url":"https://codeload.github.com/cloudmosa/cloudphone-react-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudmosa%2Fcloudphone-react-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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":["cloudphone","javascript","react"],"created_at":"2025-03-13T12:29:52.925Z","updated_at":"2026-04-29T23:32:21.959Z","avatar_url":"https://github.com/cloudmosa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Cloud Phone](https://www.cloudfone.com/) - React Sample Widget\n\n:beginner: This is a beginner guide on [Cloud Phone](https://www.cloudfone.com/) widget development, created using [Vite](https://vite.dev/guide/), as a sample repository.\n\n[https://cloudmosa.github.io/cloudphone-react-sample/](https://cloudmosa.github.io/cloudphone-react-sample/)\n\nBelow are screenshots of this sample application on the [Itel NEO R60+ 4G](https://itel-pk.com/products/neo-r60), a QVGA (240x320) Cloud Phone with WiFi connectivity.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Home Screenshot\" src=\"./screenshots/img_20241224_194324374.png\" width=\"240\" /\u003e\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n  \u003cimg alt=\"Menu Screenshot\" src=\"./screenshots/img_20241224_194329124.png\" width=\"240\" /\u003e\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n  \u003cimg alt=\"About Screenshot\" src=\"./screenshots/img_20241224_194456968.png\" width=\"240\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Settings Screenshot\" src=\"./screenshots/img_20241224_194335353.png\" width=\"240\" /\u003e\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n  \u003cimg alt=\"Language Screenshot\" src=\"./screenshots/img_20241224_194340471.png\" width=\"240\" /\u003e\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n  \u003cimg alt=\"Privacy Screenshot\" src=\"./screenshots/img_20241224_194409954.png\" width=\"240\" /\u003e\n\u003c/p\u003e\n\n## :notebook: Prerequisites\n\n* [Node \u0026 npm](https://nodejs.org/en/download/)\n* [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n* A [GitHub](https://github.com/signup) account :octocat:\n\n## :page_facing_up: Pages\n\n### `\u003cHome /\u003e`\n\nThe default page that uses an OptionsMenu for navigating to About, Settings, or Privacy (external).\n\n### `\u003cAbout /\u003e`\n\nA simple page displaying a static description.\n\n### `\u003cSettings /\u003e`\n\nA page for configuring the application. By default, the application will detect the best candidate from the browser's language. Users can override this on the settings page.\n\n## :wrench: Components\n\n### `\u003cHeader /\u003e`\n\nA header displayed at the top of the screen. Includes a fixed logo and a `title` property that updates both `document.title` and an `h1` tag displaying the title on screen.\n\n### `\u003cOptionsMenu /\u003e`\n\nA modal containing a list of menu items. Supports T9 keyboard navigation. Focus is moved using `ArrowUp` and `ArrowDown`. Menu items are selected using `Enter`.\n\n### `\u003cSoftKeyBar /\u003e`\n\nAn on-screen menu bar with three actions in the positions `start` (left), `center`, and `end` (right). Supports both icon and text actions triggered via a global `keydown` event listener.\n\nOn Cloud Phone, soft keys are mapped as follows:\n\n| Name                  | Key           | Function          |\n| --------------------- | ------------- | ----------------- |\n| Left Soft Key (LSK)   | `Escape`      | Programmable      |\n| Right Soft Key (RSK)  | N/A           | `history.back()`  |\n| Enter                 | `Enter`       | Programmable      |\n\nBecause developers cannot override the RSK behavior, clicking RSK also calls `history.back()` to reproduce the same behavior on desktop browsers.\n\n## :rocket: Deploy to GitHub Pages\n\n[GitHub Pages](https://pages.github.com/) offers free hosting for public open-source repositories. This project uses the [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) GitHub Action to build and deploy HTML, CSS, and JS to the `gh-pages` branch.\n\n\u003e [!WARNING]  \n\u003e Although it's possible to configure [custom domain names](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages), \"GitHub Pages is not intended for or allowed to be used... either facilitating commercial transactions or providing commercial software\" ([see Prohibited Uses](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#prohibited-uses)). Use GitHub Pages for production applications at your own risk.\n\n## :sunglasses: Developer Program\n\nRegister for the [Cloud Phone Developer Program](https://www.cloudfone.com/developer-program) to upload test widgets and use the Cloud Phone Simulator.\n\n![New Widget Screenshot](./screenshots/Screenshot%202024-12-25%20at%201.42.16 PM.png)\n![Cloud Phone Welcome Screenshot](./screenshots/Screenshot%202024-12-25%20at%201.51.54 PM.png)\n\n## :free: License\n\nLicensed under the [Apache 2.0](./LICENSE) license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudmosa%2Fcloudphone-react-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudmosa%2Fcloudphone-react-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudmosa%2Fcloudphone-react-sample/lists"}