{"id":20930698,"url":"https://github.com/intermine/identifiers-widget","last_synced_at":"2025-10-03T17:36:16.039Z","repository":{"id":44041337,"uuid":"222900737","full_name":"intermine/identifiers-widget","owner":"intermine","description":"embeddable js widget to display identifiers.org info on your page","archived":false,"fork":false,"pushed_at":"2023-01-05T01:17:23.000Z","size":1286,"stargazers_count":1,"open_issues_count":20,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-19T18:52:38.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://intermine.org/identifiers-widget/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intermine.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}},"created_at":"2019-11-20T09:32:30.000Z","updated_at":"2020-02-04T15:24:53.000Z","dependencies_parsed_at":"2023-02-03T03:32:00.692Z","dependency_job_id":null,"html_url":"https://github.com/intermine/identifiers-widget","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/intermine%2Fidentifiers-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fidentifiers-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fidentifiers-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fidentifiers-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intermine","download_url":"https://codeload.github.com/intermine/identifiers-widget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324506,"owners_count":20273113,"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":[],"created_at":"2024-11-18T21:35:48.166Z","updated_at":"2025-10-03T17:36:15.956Z","avatar_url":"https://github.com/intermine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Identifiers Widget\n\nWidget to load identifiers from identifiers.org and display embedded in your webpage.\n\n## Component user docs: adding this component to your webpage\n\nHey! If you'd like to use this component on your webpage, please do the following:\n\n### In the `\u003chead\u003e`, add:\n```html\n\u003c!-- the library for the webcomponent --\u003e\n\u003cscript src=\"dist/bundle.js\" type=\"module\"\u003e\u003c/script\u003e\n```\n\nThis links to the relevant scripts to define the component and fetch data.\n\n### In the `\u003cbody\u003e`\n\nWhere you want your WebComponent to appear, add the following:\n\n```html\n\u003cidentifiers-widget\n   identifier=\"fb:FBgn0004053\"\u003e\n \u003c/identifiers-widget\u003e\n```\n\nSome notes on usage:\n\n- Download the bundle.js file from dist folder and link it to your index.html file.\n- You may use the style.css in dist folder file for styling the component.\n- Use the \u003cidentifiers-widget\u003e element like any other HTML element wherever you want.\n- `attribute` must be a valid identifier with a valid `value`.\n\n\n## License\nApache - see [LICENSE](LICENSE)\n\n## Developer docs\n\n### To set up locally for development\n\n1. Clone the repo\n2. `cd identifiers-widget` and then `npm install` to install dependencies.\n\nAll of the editable source files for css and js are in `src`. To bundle for prod, run the following commands in the given order:\n\n#### CSS\n\nAssuming [less](http://lesscss.org/) is installed globally:\n\n```\nnpm run less\n```\n\n#### JS\n\nAssuming [webpack](https://webpack.js.org/) is installed globally:\n\n##### Single build:\n```\nnpm run build\n```\n\n##### Developing:\nRun each of these commands in separate terminals:\n\nTo rebuild your js every time you save:\n\n```bash\nnpm run dev\n```\n\nTo serve your page at [http://localhost:3456](http://localhost:3456):\n```bash\nnpm run server\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fidentifiers-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintermine%2Fidentifiers-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fidentifiers-widget/lists"}