{"id":15097444,"url":"https://github.com/maz01001/collapsiblegithubprojectfiles","last_synced_at":"2026-01-07T06:06:52.041Z","repository":{"id":232787559,"uuid":"785186734","full_name":"MAZ01001/CollapsibleGitHubProjectFiles","owner":"MAZ01001","description":"Userscript to make the project files list on GitHub collapsible","archived":false,"fork":false,"pushed_at":"2025-03-11T02:04:07.000Z","size":394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T03:19:05.844Z","etag":null,"topics":["github","repository","tampermonkey","userscript"],"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/MAZ01001.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":"2024-04-11T11:26:59.000Z","updated_at":"2025-03-11T02:04:10.000Z","dependencies_parsed_at":"2025-02-01T17:44:20.534Z","dependency_job_id":"df64b8b2-0968-4980-96a0-3bb55a46e5b5","html_url":"https://github.com/MAZ01001/CollapsibleGitHubProjectFiles","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"bd0da5497d9ac558c54a47b7e135dace34c31c20"},"previous_names":["maz01001/collapsiblegithubprojectfiles"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAZ01001%2FCollapsibleGitHubProjectFiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAZ01001%2FCollapsibleGitHubProjectFiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAZ01001%2FCollapsibleGitHubProjectFiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAZ01001%2FCollapsibleGitHubProjectFiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MAZ01001","download_url":"https://codeload.github.com/MAZ01001/CollapsibleGitHubProjectFiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245853646,"owners_count":20683232,"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":["github","repository","tampermonkey","userscript"],"created_at":"2024-09-25T16:21:56.791Z","updated_at":"2026-01-07T06:06:52.034Z","avatar_url":"https://github.com/MAZ01001.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collapsible GitHub project files\n\nA [Tampermonkey](https://www.tampermonkey.net/ \"official tampermonkey website\") userscript to make the project file lists on GitHub collapsible.\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e Vote for community/community#109986\n\u003e\n\u003e If you want this to be a built-in feature on GitHub or generally argue about whether this is a good idea or not.\n\n\u003cimg src=\"./preview.gif\" width=\"600\" alt=\"preview GIF\" title=\"click to view full size\"\u003e\n\nUses `localStorage` to be persistent on `github.com` domain when reloading page/browser:\n\n- `github_collapse` stores _collapse state_ (`0` or `1`)\n- `github_collapse_auto` stores _collapse type_ (`auto`, `expanded`, `collapsed`, or `last`)\n\nShows an extra row at the top of the files/folders list with two buttons `show NUM rows // DEFAULT`:\n\n- `show/hide NUM rows` will toggle the list when clicked\n  - `NUM` displays the number of files/folders in the list\n- `DEFAULT` shows the _collapse type_ used and when clicked will cycle through them as follows\n  - `auto` (default) only collapse when a README is displayed\n  - `expanded` never collapse\n  - `collapsed` allways collapse\n  - `last` uses last _collapse state_ (starts collapsed)\n\nClick [here](https://github.com/MAZ01001/CollapsibleGitHubProjectFiles/raw/main/github_collapse.user.js \"GitHub raw URL to github_collapse.user.js file\") to see this userscript in tampermonkey (if you have the plugin installed) to add it to your list of userscripts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaz01001%2Fcollapsiblegithubprojectfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaz01001%2Fcollapsiblegithubprojectfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaz01001%2Fcollapsiblegithubprojectfiles/lists"}