{"id":18320905,"url":"https://github.com/1407arjun/vit-timetable-explorer","last_synced_at":"2025-08-31T22:41:58.465Z","repository":{"id":185694622,"uuid":"547544044","full_name":"1407arjun/vit-timetable-explorer","owner":"1407arjun","description":"NPM package for parsing VIT timetables and finding free slots from all timetables at once","archived":false,"fork":false,"pushed_at":"2023-09-06T23:24:25.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T22:24:03.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vit-timetable-explorer","language":"TypeScript","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/1407arjun.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-10-07T21:38:49.000Z","updated_at":"2023-08-02T19:07:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"6469448c-da9d-4799-b84e-fe1718c9f57b","html_url":"https://github.com/1407arjun/vit-timetable-explorer","commit_stats":null,"previous_names":["1407arjun/vit-timetable-explorer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1407arjun/vit-timetable-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1407arjun%2Fvit-timetable-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1407arjun%2Fvit-timetable-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1407arjun%2Fvit-timetable-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1407arjun%2Fvit-timetable-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1407arjun","download_url":"https://codeload.github.com/1407arjun/vit-timetable-explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1407arjun%2Fvit-timetable-explorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273051868,"owners_count":25037078,"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-08-31T02:00:09.071Z","response_time":79,"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":[],"created_at":"2024-11-05T18:17:51.735Z","updated_at":"2025-08-31T22:41:58.443Z","avatar_url":"https://github.com/1407arjun.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vit-timetable-explorer\nNPM package for parsing VIT timetables and finding free slots from all timetables at once.\n\n### For getting the timetable entries follow the steps below:\n- Go to your timetable on VTOP. Scroll down to see the table with your schedule.\n- Select the text from THEORY in the top left to L94 - in the bottom right\n- Copy-paste all of the selected text.\n\n### Find free slots using the `findFreeSlots()` function\n``` js\nimport { findFreeSlots, parseTimetable } from \"vit-timetable-explorer\"\n\nconst timetables = [\"\u003ctimteable-from-vtop-1\u003e\", \"\u003ctimteable-from-vtop-2\u003e\", ...]\n\nconsole.log(findFreeSlots(timetables))\n\n/* Returns start and end times in an array\ntype { start: string; end: string }[] */\n```\n\n### Find course details using the `parseTimetable()` utility function\n``` js\nimport { findFreeSlots, parseTimetable } from \"vit-timetable-explorer\"\n\nconst timetable = \"\u003ctimteable-from-vtop-1\u003e\"\n\nconsole.log(parseTimeTable(timetable))\n\n/* Returns the details of the registered courses in an array\ntype {\n    slot: string\n    code: string\n    type: string\n    room: string\n    day: number # 0-6 representing MON to SUN\n    start: string\n    end: string\n} */\n```\n\n### Find free slots using the CLI\n``` bash\n$ vit-tt \u003cpath-to-txt-file\u003e\n\n# Returns start and end times in an array, type { start: string; end: string }[]\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1407arjun%2Fvit-timetable-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1407arjun%2Fvit-timetable-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1407arjun%2Fvit-timetable-explorer/lists"}