{"id":18521413,"url":"https://github.com/thingsboard/thingsboard-extensions","last_synced_at":"2025-04-09T09:33:10.589Z","repository":{"id":39009856,"uuid":"212056202","full_name":"thingsboard/thingsboard-extensions","owner":"thingsboard","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-30T11:41:37.000Z","size":2634,"stargazers_count":22,"open_issues_count":12,"forks_count":27,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-24T04:43:22.628Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thingsboard.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-01T09:18:26.000Z","updated_at":"2025-03-20T02:44:05.000Z","dependencies_parsed_at":"2023-02-08T05:01:19.467Z","dependency_job_id":"28f725f8-b477-432c-9b71-5bc09d09b1ce","html_url":"https://github.com/thingsboard/thingsboard-extensions","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thingsboard%2Fthingsboard-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thingsboard%2Fthingsboard-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thingsboard%2Fthingsboard-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thingsboard%2Fthingsboard-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thingsboard","download_url":"https://codeload.github.com/thingsboard/thingsboard-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248012819,"owners_count":21033247,"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-06T17:25:47.529Z","updated_at":"2025-04-09T09:33:08.694Z","avatar_url":"https://github.com/thingsboard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Extension ThingsBoard Platform\n=====================\n## ThingsBoard Dependencies\nTo add some of ThingsBoard dependencies imports to your \"extension\" Angular component,\nplease use this import structure:\n\n```\nimport { \u003cdependency\u003e } from '\u003cTB-module\u003e/public-api';\n```\n\"TB-module\" - any of the following modules:\n```\n@app/*\n@core/*\n@shared/*\n@modules/*\n@home/*\n```\n\"dependency\" - name of dependency/type located in \"TB-module\".\nRefer to [modules-map](https://github.com/thingsboard/thingsboard-pe-ui-types/blob/master/src/app/modules/common/modules-map.ts)\nto see what you can use.\n\nExample:\n\n```\nimport { WidgetConfig } from '@shared/public-api';\n```\n## External Dependencies\nIn case you want to use your own dependencies package from the npm registry (unless you have specified another one in your package.json), you can easily add them to yarn packet manager running the next command:\n```\nyarn add \u003cpackage-name\u003e\n```\n\nExample:\n\n```\nyarn add lodash\n```\nIf it's not the npm/yarn registry, and you want to add it in another way, please refer to [yarn docs](https://classic.yarnpkg.com/en/docs/cli/add).\n\n## Run project in development mode\n```\ncd ${TB_EXTENSION_WORK_DIR}\nyarn install\nyarn start\n```\nIn widgets library create a new widget and in the resources tab of the widget editor add this file path:\n\n```\nhttp://localhost:5000/static/widgets/thingsboard-extension-widgets.js\n```\nYou must also check \"Is module\"\n\n## Build project\n\n```\ncd ${TB_EXTENSION_WORK_DIR}\nyarn build\n```\n\nYou can find the compiled file at the following path:\n```\n${TB_EXTENSION_WORK_DIR}/target/generated-resources/thingsboard-extension-widgets.js\n```\n\n## Deploy project to customer server\n\nYou have two options for deploying extensions:\n1) Deploying using our UI. You can find all information about it in our [documentation](https://thingsboard.io/docs/user-guide/contribution/widgets-development/#thingsboard-extensions)\n2) Manual deploying. In this case you should use this [branch](https://github.com/thingsboard/thingsboard-extensions/tree/release-3.6-server) of **Thingsboard extensions**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingsboard%2Fthingsboard-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthingsboard%2Fthingsboard-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingsboard%2Fthingsboard-extensions/lists"}