{"id":14990363,"url":"https://github.com/shonya3/poe-custom-elements","last_synced_at":"2025-07-24T02:32:02.411Z","repository":{"id":236129947,"uuid":"791976324","full_name":"shonya3/poe-custom-elements","owner":"shonya3","description":"Path of Exile custom elements","archived":false,"fork":false,"pushed_at":"2025-06-15T17:11:18.000Z","size":5577,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T18:35:41.528Z","etag":null,"topics":["customelements","pathofexile","webcomponents"],"latest_commit_sha":null,"homepage":"","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/shonya3.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-04-25T18:25:39.000Z","updated_at":"2025-06-15T17:10:45.000Z","dependencies_parsed_at":"2024-05-22T18:28:36.770Z","dependency_job_id":"13874e8b-e991-4f0a-b58e-b854a58efb9d","html_url":"https://github.com/shonya3/poe-custom-elements","commit_stats":{"total_commits":188,"total_committers":3,"mean_commits":"62.666666666666664","dds":"0.058510638297872286","last_synced_commit":"2671fb6a47c9088cad90245dfcc9ea7a5f261991"},"previous_names":["shonya3/poe-custom-elements"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/shonya3/poe-custom-elements","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shonya3%2Fpoe-custom-elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shonya3%2Fpoe-custom-elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shonya3%2Fpoe-custom-elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shonya3%2Fpoe-custom-elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shonya3","download_url":"https://codeload.github.com/shonya3/poe-custom-elements/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shonya3%2Fpoe-custom-elements/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266785466,"owners_count":23983823,"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-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["customelements","pathofexile","webcomponents"],"created_at":"2024-09-24T14:19:56.996Z","updated_at":"2025-07-24T02:32:02.393Z","avatar_url":"https://github.com/shonya3.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poe-custom-elements\n\nPath of Exile custom elements\n\n\n[Demo](https://sparkling-sunburst-2dd5be.netlify.app/)\n\n```bash\nnpm install poe-custom-elements\n```\n\n## Usage\n\nHere is an example with a stash tab\n\nFirst, you need to open node_modules/poe-custom-elements and copy `poe-ce-assets` dir to your `public` folder.\n\n```js\nimport 'poe-custom-elements/stash-tab.js';\n/* \n JS object of stash tab from Poe API\n https://www.pathofexile.com/developer/docs/reference#stashes-get\n Check TabWithItems, PoeItem .d.ts types file\n(Keep in mind, that exact json importing is a Vite feature, not a real JS) \n*/\nimport quad from './QuadStashStd.json';\n\nconst el = document.createElement('poe-stash-tab');\nel.tab = quad;\ndocument.body.append(el);\n```\n\nCheck [JS Example](https://github.com/shonya3/poe-custom-elements/tree/main/examples/js)\n\n#### Customizing base path for assets\nBy default, you need to copy assets folder from `node_modules/poe-custom-elements/dist/poe-ce-assets` to your `public` folder.\nSo that your public folder has `poe-ce-assets` folder. You can customize this path.\n```js\nimport { setBasePath } from 'poe-custom-elements/lib/base_path.js';\nsetBasePath('/poe');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshonya3%2Fpoe-custom-elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshonya3%2Fpoe-custom-elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshonya3%2Fpoe-custom-elements/lists"}