{"id":15204169,"url":"https://github.com/enjikaka/obj-viewer","last_synced_at":"2025-10-02T21:30:46.153Z","repository":{"id":65467367,"uuid":"172122605","full_name":"enjikaka/obj-viewer","owner":"enjikaka","description":"A Three.js based Web Component for displaying OBJ files along with MTL files on the modern web.","archived":true,"fork":false,"pushed_at":"2019-02-23T18:35:34.000Z","size":108,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T06:46:33.609Z","etag":null,"topics":["three-js","web-components"],"latest_commit_sha":null,"homepage":"https://enjikaka.github.io/obj-viewer/","language":"JavaScript","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/enjikaka.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":"2019-02-22T19:23:20.000Z","updated_at":"2024-01-12T13:09:12.000Z","dependencies_parsed_at":"2023-01-25T08:45:47.817Z","dependency_job_id":null,"html_url":"https://github.com/enjikaka/obj-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enjikaka%2Fobj-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enjikaka%2Fobj-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enjikaka%2Fobj-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enjikaka%2Fobj-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enjikaka","download_url":"https://codeload.github.com/enjikaka/obj-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235043606,"owners_count":18927006,"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":["three-js","web-components"],"created_at":"2024-09-28T05:23:19.032Z","updated_at":"2025-10-02T21:30:45.861Z","avatar_url":"https://github.com/enjikaka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `\u003cobj-viewer\u003e`\n\nA Three.js based Web Component for displaying OBJ files along with MTL files on the modern web.\n\nNote: Uses ResizeObserver. Polyfill it on your end.\n\n## API\n\n### Inputs\n\n| Attribute | Description |\n| --- | --- |\n| `obj-source` | A path to your OBJ file. Local path or URL. |\n| `mtl-source` | A path to your MTL file. Local path or URL. |\n| `display-grid` | Wether or not to draw the grid. Boolean. |\n\n## Usage\n\nInstall obj-viewer via npm and import it in your webpack/rollup bundles.\n\nAlternatively, import it in your ES module supported browser with `import 'https://unpkg.com/obj-viewer?module';` in a JavaScript module file or in your HTML with `\u003cscript src=\"https://unpkg.com/obj-viewer?module\" type=\"module\"\u003e\u003c/script\u003e`. The demo page uses the latter method.\n\n## Note\n\nBecause of a bug in the THREE.js's OrbitControls.js key down events on the embedded sites will not work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenjikaka%2Fobj-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenjikaka%2Fobj-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenjikaka%2Fobj-viewer/lists"}