{"id":14384991,"url":"https://github.com/Jon-Biz/simple-static-react-aframe","last_synced_at":"2025-08-23T18:31:22.752Z","repository":{"id":67993228,"uuid":"59258659","full_name":"Jon-Biz/simple-static-react-aframe","owner":"Jon-Biz","description":"Minimal boilerplate and configuration for the development of static VR sites using aframe, react \u0026 es6","archived":false,"fork":false,"pushed_at":"2022-02-14T19:46:49.000Z","size":81,"stargazers_count":51,"open_issues_count":1,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-26T09:09:11.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Jon-Biz.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}},"created_at":"2016-05-20T02:30:25.000Z","updated_at":"2024-06-25T21:23:29.000Z","dependencies_parsed_at":"2023-04-03T21:26:26.273Z","dependency_job_id":null,"html_url":"https://github.com/Jon-Biz/simple-static-react-aframe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jon-Biz/simple-static-react-aframe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jon-Biz%2Fsimple-static-react-aframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jon-Biz%2Fsimple-static-react-aframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jon-Biz%2Fsimple-static-react-aframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jon-Biz%2Fsimple-static-react-aframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jon-Biz","download_url":"https://codeload.github.com/Jon-Biz/simple-static-react-aframe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jon-Biz%2Fsimple-static-react-aframe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271762947,"owners_count":24816839,"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-08-23T02:00:09.327Z","response_time":69,"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-08-28T18:01:50.683Z","updated_at":"2025-08-23T18:31:22.347Z","avatar_url":"https://github.com/Jon-Biz.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Simple Static React-Aframe\n\nThis repo is minimal boilerplate for VR sites written in React and Aframe. \n\n## 2/14/22 - It's also out of date, and appears not to be working in modern browsers. Pull requests welcome.\n\nIt is intended for to get you up and developing with a minimum of fuss and configuration for a static, single page React \u0026 Aframe site. This repo gives you:\n\n- ES6/React (with sourcemaps)\n- Aframe \u0026 React-Aframe\n- CSS modules\n- watchfile'd development builds\n\nAnd that's it. \n\nYou can see the initial output here:\n\nhttp://elbizri.com/carpet/\n\nThe carpet and cube are created by the root component, so you can get quickly remove them. Sky, Earth, Camera and Cursor are all their own external components.\n\nAbout React-Aframe:\n\nKevin Ngo's straight-forward wrapper React-Aframe\n( https://github.com/ngokevin/aframe-react )\nprovides a React Components for Aframe's `\u003ca-scene\u003e`, `\u003ca-entity\u003e` and `\u003ca-animation\u003e` components. It should be pretty obvious from the code here how React Component `prop`s map to Aframe `components`. \n\n(You can still call the aframe's components directly if you want, but you'll need to stringify de-stringify the component arguments yourself - obviously this is not a bother for any static components.)\n\n##Set up\n\nClone the repo and install the node dependencies.\n\n```\ngit clone https://github.com/Jon-Biz/simple-static-react-aframe\ncd simple-static-react-aframe\nnpm i\n```\n\n##Usage\n\n###Development\n\nRun the npm script `dev` to develop.\n\n```\nnpm run dev\n```\n\nA webpack server will now be running on `4000`, serving the contents of the `public` directory. The `entry` files are in `src` - `index.js` and `style.css`.\n\nNOTE: this is using webpack-dev-server, not actually overwriting the files in `public`. For that, you will need to run the build script.\n\n###Production\n\nRun the npm script 'build' to update `style.css` and `index.js` in the `public` directory. Upload this directory to your web server.\n\n```\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJon-Biz%2Fsimple-static-react-aframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJon-Biz%2Fsimple-static-react-aframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJon-Biz%2Fsimple-static-react-aframe/lists"}