{"id":16837820,"url":"https://github.com/tsl0922/sentry-wxwork","last_synced_at":"2025-03-22T04:31:04.692Z","repository":{"id":57465667,"uuid":"278596791","full_name":"tsl0922/sentry-wxwork","owner":"tsl0922","description":"Plugin for Sentry which allows sending notification and SSO Login via WeChat Work.","archived":false,"fork":false,"pushed_at":"2021-02-03T06:23:15.000Z","size":27,"stargazers_count":30,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T08:21:33.540Z","etag":null,"topics":["sentry","sentry-integration","sentry-plugin","wechat","wxwork"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tsl0922.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":"2020-07-10T09:43:24.000Z","updated_at":"2023-03-31T02:15:55.000Z","dependencies_parsed_at":"2022-09-15T01:20:43.821Z","dependency_job_id":null,"html_url":"https://github.com/tsl0922/sentry-wxwork","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsl0922%2Fsentry-wxwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsl0922%2Fsentry-wxwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsl0922%2Fsentry-wxwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsl0922%2Fsentry-wxwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsl0922","download_url":"https://codeload.github.com/tsl0922/sentry-wxwork/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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":["sentry","sentry-integration","sentry-plugin","wechat","wxwork"],"created_at":"2024-10-13T12:18:55.828Z","updated_at":"2025-03-22T04:31:04.330Z","avatar_url":"https://github.com/tsl0922.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry WeChat Work [![pypi](https://badge.fury.io/py/sentry-wxwork.svg)](https://pypi.python.org/pypi/sentry-wxwork) [![Downloads](https://pepy.tech/badge/sentry-wxwork)](https://pepy.tech/project/sentry-wxwork)\n\nPlugin for [Sentry](https://github.com/getsentry/sentry) which allows sending notification and SSO Login via [WeChat Work](https://work.weixin.qq.com).\n\n## Installation\n\n\u003e **NOTE:** sentry 20.x removed support for legacy plugins, so this plugin only works for sentry 9.x-10.x.\n\n### Prepare\n\n- Install the plugin:\n    - [onpremise](https://github.com/getsentry/onpremise): put `sentry-wxwork` to `requirements.txt`\n    - manual: `pip install sentry-wxwork`\n- Obtain required config from WeChat Work admin console ([Read Me](https://work.weixin.qq.com/api/doc/90000/90135/90664)).\n\n### Notification\n\nOn (Legacy) Integrations page, find `WeChat Work`, enable and configure it. \n\n### SSO Login\n\nAdd the following settings to your `sentry.conf.py`:\n\n```python\nWXWORK_CORP_ID = ''\nWXWORK_SECRET = ''\nWXWORK_AGENT_ID = ''\n```\n\nor, if you prefer setting it via environment variables:\n\n```python\nif 'WXWORK_CORP_ID' in os.environ:\n    WXWORK_CORP_ID = env('WXWORK_CORP_ID')\n    WXWORK_SECRET = env('WXWORK_SECRET')\n    WXWORK_AGENT_ID = env('WXWORK_AGENT_ID')\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsl0922%2Fsentry-wxwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsl0922%2Fsentry-wxwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsl0922%2Fsentry-wxwork/lists"}