Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maz01001/collapsiblegithubprojectfiles
Userscript to make the project files list on GitHub collapsible
https://github.com/maz01001/collapsiblegithubprojectfiles
github repository tampermonkey userscript
Last synced: about 1 month ago
JSON representation
Userscript to make the project files list on GitHub collapsible
- Host: GitHub
- URL: https://github.com/maz01001/collapsiblegithubprojectfiles
- Owner: MAZ01001
- License: mit
- Created: 2024-04-11T11:26:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-01T20:41:14.000Z (7 months ago)
- Last Synced: 2024-10-15T17:28:24.316Z (about 1 month ago)
- Topics: github, repository, tampermonkey, userscript
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Collapsible GitHub project files
A [Tampermonkey](https://www.tampermonkey.net/ "official tampermonkey website") userscript to make the project file lists on GitHub collapsible.
>
> Temporary solution to [`[Feature] Collapsible project files on Repository overview #109986`](https://github.com/orgs/community/discussions/109986 "open GitHub/community discussion 109986").
>
> And maybe also for [`toggle-files-button missing on "New Repository Overview" #6959`](https://github.com/refined-github/refined-github/issues/6959 "open GitHub/refined-github issue 6959")
> of [refined-github](https://github.com/refined-github/refined-github "GitHub: refined-github/refined-github").
>Uses `localStorage` to be persistent on `github.com` domain when reloading page/browser.
Format: `show NUM rows // DEFAULT`
- `show/hide NUM rows` will show/hide the list when clicked
- `NUM` displays the number of files/folders in the list
- `DEFAULT` show the current default _collapse state_ and when clicked will cycle through the following options
- `auto` (default) only collapse when a README (or LICENCE or similar) is displayed
- `expanded` never collapse
- `collapsed` allways collapse
- `last` uses last _collapse state_ (starts collapsed)Click [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).