{"id":16057956,"url":"https://github.com/pascalgn/storybook-branches","last_synced_at":"2025-10-22T09:31:12.764Z","repository":{"id":40933242,"uuid":"152644270","full_name":"pascalgn/storybook-branches","owner":"pascalgn","description":"Provide storybook builds for multiple branches","archived":false,"fork":false,"pushed_at":"2022-06-22T16:41:22.000Z","size":1006,"stargazers_count":8,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-07T03:52:13.401Z","etag":null,"topics":["autodeploy","docker","storybook"],"latest_commit_sha":null,"homepage":null,"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/pascalgn.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}},"created_at":"2018-10-11T19:24:15.000Z","updated_at":"2023-03-05T01:40:53.000Z","dependencies_parsed_at":"2022-09-20T18:14:29.918Z","dependency_job_id":null,"html_url":"https://github.com/pascalgn/storybook-branches","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgn%2Fstorybook-branches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgn%2Fstorybook-branches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgn%2Fstorybook-branches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgn%2Fstorybook-branches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascalgn","download_url":"https://codeload.github.com/pascalgn/storybook-branches/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219868501,"owners_count":16555721,"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":["autodeploy","docker","storybook"],"created_at":"2024-10-09T03:05:37.197Z","updated_at":"2025-10-22T09:31:12.430Z","avatar_url":"https://github.com/pascalgn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# storybook-branches\n\n[![Docker build status](https://img.shields.io/docker/cloud/build/pascalgn/storybook-branches.svg?style=flat-square)](https://hub.docker.com/r/pascalgn/storybook-branches/) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/pascalgn/storybook-branches/blob/master/LICENSE)\n\nProvide [storybook](https://storybook.js.org/) builds for multiple branches and add a dropdown to quickly switch between those branches\n\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"600\" height=\"364\" src=\"https://pascalgn.github.io/storybook-branches/demo.gif\"\u003e\n    \u003cbr\u003e\n    \u003ci\u003eSwitching between different versions on branches storybook-1, storybook-2 and storybook-3\u003c/i\u003e\n\u003c/p\u003e\n\n## Usage\n\nStart \n\n    docker run --rm \\\n        -p 9001:9001 \\\n        -e \"REPOSITORY=https://github.com/pascalgn/storybook-branches\" \\\n        -e \"BRANCHES=storybook.+\" \\\n        pascalgn/storybook-branches:latest\n\n## Options\n\nThe following environment variables are required:\n\n* `REPOSITORY` The URL of the remote repository\n\nAdditionally, the following environment variables are supported:\n\n* `DIR` The subdirectory within the repository (default _._)\n* `PORT` The port to run the HTTP server on (default _9001_)\n* `BRANCHES` Regular expression filter of the branches to build (default _.+_)\n* `DEFAULT` Default branch to display (default remote branch will be used if unset)\n* `SLEEP` The time to sleep between fetches, in seconds (default _60_)\n* `OUTPUT` The output directory (default _dist_)\n* `LOG_LEVEL` A [winston](https://github.com/winstonjs/winston) log level (default _info_)\n\nAdditionally, the following environment variables are available for\nproviding SSH keys, to connect to the remote repository:\n\n* `KNOWN_HOSTS` The SSH host keys (stored in `~/.ssh/known_hosts`)\n* `ID_RSA` The private SSH key (stored in `~/.ssh/id_rsa`)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalgn%2Fstorybook-branches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalgn%2Fstorybook-branches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalgn%2Fstorybook-branches/lists"}