{"id":21302722,"url":"https://github.com/magnusrodseth/unzipper-archive","last_synced_at":"2025-07-11T20:31:50.765Z","repository":{"id":45714725,"uuid":"402049769","full_name":"magnusrodseth/unzipper-archive","owner":"magnusrodseth","description":"⚠️ Deprecated ⚠️","archived":true,"fork":false,"pushed_at":"2022-08-17T06:54:32.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T18:52:44.429Z","etag":null,"topics":["bash","python","python3","shell","zip"],"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/magnusrodseth.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":"2021-09-01T12:18:29.000Z","updated_at":"2024-08-20T17:47:31.000Z","dependencies_parsed_at":"2022-09-22T20:23:04.214Z","dependency_job_id":null,"html_url":"https://github.com/magnusrodseth/unzipper-archive","commit_stats":null,"previous_names":["magnusrodseth/unzipper-archive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/magnusrodseth/unzipper-archive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Funzipper-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Funzipper-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Funzipper-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Funzipper-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnusrodseth","download_url":"https://codeload.github.com/magnusrodseth/unzipper-archive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnusrodseth%2Funzipper-archive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892355,"owners_count":23679276,"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":["bash","python","python3","shell","zip"],"created_at":"2024-11-21T15:57:27.901Z","updated_at":"2025-07-11T20:31:50.478Z","avatar_url":"https://github.com/magnusrodseth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unzipper 📂\n\n## Description ✏️\n\nThis repository was developed out of frustration related to the tedious process of downloading and grading student deliverables.\n\nBefore following the **Running the application** below, make sure you place the zipped file in the `unzipper` directory.\n\n## Directory Structure 📂\n\nAfter running the script, the directories `deliverables` and `feedback` are generated. The files contained in these folders are named after each student's username. Use the `.txt` files in the `feedback` directory to easily write student feedback. When you are done giving the feedback, simply `Copy + Paste` the contents of the `.txt` file to the comment section in BlackBoard.\n\n## Validate files with W3 Validator 🔍\n\nDo you want to \"automagically\" validate all `.html`, `.css` and `.js` files for an assignment using W3 Validator? Simply use the `validate.sh` script to recursively navigate through all subdirectories for an assignment and `POST` the relevant files. The result is stored as a `.json` file in each student's deliverable directory.\n\n**`Terminal`**\n\n```sh\n# Execute the script from the unzipper directory and simply name the assignment directory\nsh validate.sh assignment-1\n```\n\n**`about_html.json`**\n\n```json\n// An example of a result from W3 Validator\n{\n  \"messages\": [\n    {\n      \"type\": \"error\",\n      \"lastLine\": 16,\n      \"lastColumn\": 82,\n      \"firstColumn\": 9,\n      \"message\": \"Bad value “100px” for attribute “width” on element “img”: Expected a digit but saw “p” instead.\",\n      \"extract\": \" \\n        \u003cimg src=\\\"attachments/me.jpg\\\" alt=\\\"My image\\\" width = \\\"100px\\\" height=\\\"100\\\"\u003e\\n     \",\n      \"hiliteStart\": 10,\n      \"hiliteLength\": 74\n    }\n  ]\n}\n```\n\n## Developer Information 🙋🏼‍♂️\n\nDeveloped by Magnus Rødseth.\n\n## Running the application ✅\n\n```sh\ncd unzipper\n\n# Unzip and structure files\npython3 unzip.py zipped_filename destination_directory\n\n# Validate all students' .html, .css and .js files\nsh validate.sh assignment_directory\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusrodseth%2Funzipper-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnusrodseth%2Funzipper-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusrodseth%2Funzipper-archive/lists"}