{"id":18340090,"url":"https://github.com/rawandahmad698/pydiscordsentry","last_synced_at":"2026-04-30T09:36:42.437Z","repository":{"id":41511041,"uuid":"503381645","full_name":"rawandahmad698/PyDiscordSentry","owner":"rawandahmad698","description":"🚀 Send your sentry events to discord (with a Flask server)","archived":false,"fork":false,"pushed_at":"2022-08-05T20:25:58.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T07:32:18.906Z","etag":null,"topics":["flask","heroku","sentry-sdk"],"latest_commit_sha":null,"homepage":"https://rawa.dev","language":"Python","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/rawandahmad698.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":"2022-06-14T13:55:23.000Z","updated_at":"2023-03-13T10:45:37.000Z","dependencies_parsed_at":"2022-09-08T14:23:14.804Z","dependency_job_id":null,"html_url":"https://github.com/rawandahmad698/PyDiscordSentry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rawandahmad698/PyDiscordSentry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FPyDiscordSentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FPyDiscordSentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FPyDiscordSentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FPyDiscordSentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rawandahmad698","download_url":"https://codeload.github.com/rawandahmad698/PyDiscordSentry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FPyDiscordSentry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["flask","heroku","sentry-sdk"],"created_at":"2024-11-05T20:20:55.917Z","updated_at":"2026-04-30T09:36:42.418Z","avatar_url":"https://github.com/rawandahmad698.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![py-Discord.png](https://i.postimg.cc/xTNx6mbZ/py-Discord.png)](https://postimg.cc/TpGJwp0j)\n\n[PyDiscordSentry][]\n===================\n[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg?style=flat-square)](https://www.python.org/downloads/)\n\n\n[md-pypi]: https://pypi.org/project/Markdown/\n[pyversion-button]: https://img.shields.io/pypi/pyversions/Markdown.svg\n\nA very simple Flask+Python class to send [Sentry's][] custom messages \u0026 exceptions\nto your Discord channel.\n\nThis repo contains the necessary to download and deploy to heroku.\n\n[PyDiscordSentry]: https://sentry.io/\n[Sentry's]: https://sentry.io/\n\n[Markdown]: https://daringfireball.net/projects/markdown/\n[Features]: https://Python-Markdown.github.io#Features\n[Available Extensions]: https://Python-Markdown.github.io/extensions\n\nHow to use?\n-------------\n\n\n```python\n# Just like how you would use Sentry\nsentry_sdk.init(\"https://\u003cpublic_key\u003e@\u003cyour_heroku_link\u003e/\u003cdsn\u003e\", \n                release=\"1.0.0\", debug=True)\n```\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\"https://Foo@awesomeapp.herokuapp.com/1\", \n                release=\"1.0.0\", debug=True)\n```\n\nThat's it!\n\nBonus note: \nWhen you deploy to heroku, you may provide the discord webhook url as an env variable.\nFollowing is required env variables:\n\n- `WEBHOOK_MAIN`: The main webhook url to send the messages to.\n- `WEBHOOK_ERRORS`: Sometimes the class may not be able to cast the exception to a string, this is a fallback webhook to send the raw error to.\n- `ICON_URL`: Embed icon url.\n-------\nNotes: \n1. The `Classes/SentryParser.py` will need to be updated to accept all types of events. Currently, It's very limited and I don't have much time to add more.\n2. I'm not a Flask expert, but I'm sure you'd point out certain things that I'm missing on `app.py`\n-------\nSupport\n----\nYou may report bugs, ask for help, and discuss various other issues on the issues page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawandahmad698%2Fpydiscordsentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawandahmad698%2Fpydiscordsentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawandahmad698%2Fpydiscordsentry/lists"}