{"id":25419037,"url":"https://github.com/cycomachead/hubot-piazza","last_synced_at":"2025-10-31T10:31:05.309Z","repository":{"id":57269190,"uuid":"42623618","full_name":"cycomachead/hubot-piazza","owner":"cycomachead","description":"Get Context for Piazza posts inside you chatroom!","archived":false,"fork":false,"pushed_at":"2016-04-18T19:42:52.000Z","size":17,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T21:44:16.859Z","etag":null,"topics":["course-management","hubot","piazza","teaching-tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cycomachead.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":"2015-09-17T00:57:25.000Z","updated_at":"2019-02-14T21:57:10.000Z","dependencies_parsed_at":"2022-09-02T09:50:49.388Z","dependency_job_id":null,"html_url":"https://github.com/cycomachead/hubot-piazza","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/cycomachead%2Fhubot-piazza","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycomachead%2Fhubot-piazza/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycomachead%2Fhubot-piazza/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycomachead%2Fhubot-piazza/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cycomachead","download_url":"https://codeload.github.com/cycomachead/hubot-piazza/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239179284,"owners_count":19595589,"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":["course-management","hubot","piazza","teaching-tool"],"created_at":"2025-02-16T18:35:35.150Z","updated_at":"2025-10-31T10:31:04.942Z","avatar_url":"https://github.com/cycomachead.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hubot-piazza\n\u003e Get info about posts in your class' Piazza forum in chat!\n\nThis is simple hubot script to integrate with [Piazza](piazza.com), an educational forum. This script makes it easy to reference posts by Piazza conventions (`@##`) in a typical chat. Since few rational people use numbers as their user names, this poses little (if any) problem in conversations.\n\nSee [`src/hubot-piazza.coffee`](src/hubot-piazza.coffee) for full documentation.\n\n## Installation\n\nIn hubot project repo, run:\n\n`npm install hubot-piazza --save`\n\nThen add **hubot-piazza** to your `external-scripts.json`:\n\n```json\n[\n  \"hubot-piazza\"\n]\n```\n\n## Configuration\nThere are 3 environment variables you must set:\n\n* `HUBOT_PIAZZA_USERNAME` and\n* `HUBOT_PIAZZA_PASSWORD`\n\t* Are the login credentials of a course TA. \n\t* **NOTE**: I recommend creating a separate \"bot-only\" TA account for this info so that you don't risk revealing a personal password to everyone. (Of course, if you generated a random, unique, and cryptographically secure password for each service, you probably wouldn't care about others having access to your Piazza account. :stuck_out_tongue:)\n* `HUBOT_PIAZZA_ROOMS`\n\t* This maps a Piazza course ID to your chat rooms. There are two options here:\n\t* 1 ID for the chat bot:\n\t\t* This means that every room maps to the same Piazza course.\n\t\t* Simply set `HUBOT_PIAZZA_ROOMS=classId` and you're done!\n\t* A Separate Piazza course per chatroom:\n\t\t* This allows each room to map to a particular Piazza course.\n\t\t* The format is a query string:\n\t\t* `HUBOT_PIAZZA_ROOMS='roomId1=courseId1\u0026room2=course2'`\n\t\t* In this format there is a special room id, `DEFAULT` which you can use a fallback if you don't want to specify something for every room.\n\t\nPiazza course ids can be found by examining URL when looking at a particular post. It follows this format:\n\n```js\n'https://piazza.com/class/' + courseID + '?cid=' + postNum;\n```\n\n## Sample Interaction\n\n```\nuser1\u003e\u003e Checkout @100\nhubot\u003e\u003e Post @100\n\t[url]\n\t[time ago]\n\t[title]\n\t[short text]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycomachead%2Fhubot-piazza","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcycomachead%2Fhubot-piazza","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycomachead%2Fhubot-piazza/lists"}