{"id":20021344,"url":"https://github.com/piotrpdev/wit-timetable-generator","last_synced_at":"2025-11-26T09:04:34.794Z","repository":{"id":114094962,"uuid":"485180490","full_name":"piotrpdev/WIT-Timetable-Generator","owner":"piotrpdev","description":"Uses Puppeteer to automatically fill out the WIT Timetable Page and generate a screenshot and PDF of the timetable.","archived":false,"fork":false,"pushed_at":"2024-09-01T23:02:45.000Z","size":1033,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:42:27.743Z","etag":null,"topics":["institute","schedule","setu","technology","timetable","waterford","wit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/piotrpdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-25T01:04:19.000Z","updated_at":"2024-09-01T23:02:49.000Z","dependencies_parsed_at":"2024-11-13T09:30:35.249Z","dependency_job_id":null,"html_url":"https://github.com/piotrpdev/WIT-Timetable-Generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piotrpdev/WIT-Timetable-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2FWIT-Timetable-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2FWIT-Timetable-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2FWIT-Timetable-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2FWIT-Timetable-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrpdev","download_url":"https://codeload.github.com/piotrpdev/WIT-Timetable-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2FWIT-Timetable-Generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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","status":"online","status_checked_at":"2025-11-26T02:00:06.075Z","response_time":193,"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":["institute","schedule","setu","technology","timetable","waterford","wit"],"created_at":"2024-11-13T08:36:31.258Z","updated_at":"2025-11-26T09:04:34.755Z","avatar_url":"https://github.com/piotrpdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WIT Timetable Generator\r\n\r\n![Example](.github/example/example.png)\r\n\r\nUses [Puppeteer](https://pptr.dev/) to automatically fill out the [WIT Timetable Page](http://studentssp.wit.ie/Timetables/StudentGroupTT.aspx) and generate a screenshot and PDF of the timetable. It can also send these to a [Discord](https://discord.com/) channel using a [webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks).\r\n\r\n## Why?\r\n\r\nFilling out the form every time is annoying, especially since it refreshes.\r\n\r\n## How do I use it?\r\n\r\n\u003e Make sure you have [Node](https://nodejs.org/en/) installed.\r\n\r\n* Clone the repo and `cd` into it.\r\n* `npm i`\r\n* Fill out your details in `.env.local.example` and rename it to `.env`\r\n* Change `SKIP_DISCORD` in the `.env` file if you want to use Discord webhooks:\r\n\r\n```js\r\nSKIP_DISCORD=0\r\n```\r\n\r\n* `npm run start`\r\n* The timetable should be in the `screenshots` and `pdfs` folder.\r\n\r\n## Resources used\r\n\r\n* [https://stackoverflow.com/a/62892482](https://stackoverflow.com/a/62892482)\r\n* [https://github.com/lannonbr/puppeteer-screenshot-action](https://github.com/lannonbr/puppeteer-screenshot-action)\r\n* [https://birdie0.github.io/discord-webhooks-guide/](https://birdie0.github.io/discord-webhooks-guide/)\r\n* [https://github.com/nektos/act/issues/588#issuecomment-1078427722](https://github.com/nektos/act/issues/588#issuecomment-1078427722)\r\n\r\n## How do I contribute?\r\n\r\nIf it is something small, make a change directly and make a pull request.\r\n\r\nIf it is something that requires testing:\r\n\r\n* Install [act](https://github.com/nektos/act).\r\n* Rename `env.local.example` to `env.local`\r\n* Run `act --secret-file .env.local workflow_dispatch` to test changes.\r\n\r\n## License\r\n\r\nLicensed under the MIT license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrpdev%2Fwit-timetable-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrpdev%2Fwit-timetable-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrpdev%2Fwit-timetable-generator/lists"}