{"id":16233433,"url":"https://github.com/samelhusseini/test-pxt-sample","last_synced_at":"2025-10-12T07:38:44.880Z","repository":{"id":125702533,"uuid":"129281328","full_name":"samelhusseini/test-pxt-sample","owner":"samelhusseini","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-15T05:20:10.000Z","size":25847,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T07:40:27.980Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samelhusseini.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}},"created_at":"2018-04-12T16:33:29.000Z","updated_at":"2018-04-12T17:21:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"64583144-776e-43a0-9780-fd94f5f82606","html_url":"https://github.com/samelhusseini/test-pxt-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samelhusseini/test-pxt-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Ftest-pxt-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Ftest-pxt-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Ftest-pxt-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Ftest-pxt-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samelhusseini","download_url":"https://codeload.github.com/samelhusseini/test-pxt-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Ftest-pxt-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010666,"owners_count":26084784,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2024-10-10T13:12:39.923Z","updated_at":"2025-10-12T07:38:39.869Z","avatar_url":"https://github.com/samelhusseini.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample target for a Microsoft MakeCode Editor\n\nThis repo contains a sample editor built with [Microsoft MakeCode (PXT)](https://github.com/Microsoft/pxt). The editor is hosted on the GitHub pages at [http://microsoft.github.io/pxt-sample/](http://microsoft.github.io/pxt-sample/)\n\n[![Build Status](https://travis-ci.org/Microsoft/pxt-sample.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-sample)\n\nIf you'd like to start your own editor, fork this repo and fix all the TODOs.\n\n## TODOs\n\n- [ ] Fork repo and setup local server (see below)\n- [ ] Update metadata in ``pxtarget.json``. Change the id, title, name, etc... to your taste.\n- [ ] Update the JavaScript runtime in ``sim/simulator.ts``. If needed add additional JS library under ``sim/public/**``\nand edit ``sim/public/simulator.html`` with additional ``script`` tags.\n- [ ] Update the APIs in ``sim/api.ts`` to use your runtime.\n- [ ] Test your editor in the local server\n- [ ] run ``pgk staticpkg --gh --bump`` to upload a static version to GitHub pages.\n\n## Running locally\n\nThese instructions allow to run locally to modify the sample.\n\n### Setup\n\nThe following commands are a 1-time setup after synching the repo on your machine.\n\n* install [node.js](https://nodejs.org/en/)\n\n* install the PXT command line\n```\nnpm install -g pxt\n```\n* install the dependencies\n```\nnpm install\n```\n\n### Running the local server\n\nAfter you're done, simple run this command to open a local web server:\n```\npxt serve\n```\n\nAfter making a change in the source, refresh the page in the browser.\n\n## Updating the tools\n\nIf you would like to pick up the latest PXT build, simply run\n```\npxt update\n```\n\nMore instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamelhusseini%2Ftest-pxt-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamelhusseini%2Ftest-pxt-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamelhusseini%2Ftest-pxt-sample/lists"}