{"id":38011894,"url":"https://github.com/bachtran02/ed-discohook","last_synced_at":"2026-01-16T19:21:21.030Z","repository":{"id":207314133,"uuid":"718954192","full_name":"bachtran02/ed-discohook","owner":"bachtran02","description":"A Python tool that monitors EdStem for new threads and publishes updates to Discord via webhooks using edspy.","archived":false,"fork":false,"pushed_at":"2025-03-17T17:57:03.000Z","size":175,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T18:32:01.889Z","etag":null,"topics":["discord-webhook","edstem"],"latest_commit_sha":null,"homepage":"","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/bachtran02.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":"2023-11-15T06:07:30.000Z","updated_at":"2025-03-17T17:57:07.000Z","dependencies_parsed_at":"2023-11-17T07:50:01.728Z","dependency_job_id":"c8f125eb-1b83-49e5-8277-4bf4a0a2aef4","html_url":"https://github.com/bachtran02/ed-discohook","commit_stats":null,"previous_names":["bachtran02/ed-discohook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bachtran02/ed-discohook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bachtran02%2Fed-discohook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bachtran02%2Fed-discohook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bachtran02%2Fed-discohook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bachtran02%2Fed-discohook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bachtran02","download_url":"https://codeload.github.com/bachtran02/ed-discohook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bachtran02%2Fed-discohook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["discord-webhook","edstem"],"created_at":"2026-01-16T19:21:20.927Z","updated_at":"2026-01-16T19:21:21.014Z","avatar_url":"https://github.com/bachtran02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ed-discohook\n\nA Python program that listens to [edstem](https://edstem.org/) websockets for new threads and publish events to [Discord](https://discord.com/) via [webhooks](https://discord.com/developers/docs/resources/webhook).\nThis project mainly makes use of [edpy](https://github.com/bachtran02/edpy), a Python wrapper for edstem API which I also maintain. \n\n## Demo \n\u003cimg alt=\"ed-discohook demo\" src=\"https://github.com/bachtran02/ed-discohook/assets/83796054/8f4c53b1-4a36-4ce2-b39b-1ebdd32a248d\" width=\"550\"\u003e\n\n## How to set up\n\n### Docker (highly recommended)\n\u003e I have been running this program in a [Docker](https://docs.docker.com/engine/install/) container. [`docker-compose.yml`](https://github.com/bachtran02/ed-discohook/blob/main/docker-compose.yml) is included in the repo which\n\u003e makes building \u0026 running the program with [Docker Compose](https://docs.docker.com/compose/install/) inside of Docker very straightforward.\n\n1. Clone the repo.\n2. Create an .env file using [this template](https://github.com/bachtran02/ed-discohook/blob/main/.env.example) and enter your Ed API token, which can be created [here](https://edstem.org/us/settings/api-tokens).\n3. In `.env` file, also enter Discord webhook URLs of the channels you want to send the payload to. \n\u003e Read more about Discord wehooks [here](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)\n\nIt is a good practice not to put Discord webhook URLs in the `main.py`, so you may want to store them in the `.env` as well. You can use any variable name as you like, just make sure\nthe names are matched in [`this part`](https://github.com/bachtran02/ed-discohook/blob/main/main.py#L13) of `main.py` so the secrets can be looked up and retrieved correctly in the main file.\n\n4. Run `docker compose build` to build the project and then `docker compose up` to start running it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbachtran02%2Fed-discohook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbachtran02%2Fed-discohook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbachtran02%2Fed-discohook/lists"}