{"id":16611148,"url":"https://github.com/yhatt/circleci-artifacts-redirector","last_synced_at":"2025-07-14T12:36:19.062Z","repository":{"id":81700898,"uuid":"102757288","full_name":"yhatt/circleci-artifacts-redirector","owner":"yhatt","description":"Path resolver and redirect server of CircleCI's build artifacts.","archived":false,"fork":false,"pushed_at":"2017-09-08T13:28:32.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T18:31:58.047Z","etag":null,"topics":[],"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/yhatt.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":"2017-09-07T15:56:25.000Z","updated_at":"2020-03-16T02:39:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d724d3f-503b-4390-bd3a-5903b21c3699","html_url":"https://github.com/yhatt/circleci-artifacts-redirector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yhatt/circleci-artifacts-redirector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhatt%2Fcircleci-artifacts-redirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhatt%2Fcircleci-artifacts-redirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhatt%2Fcircleci-artifacts-redirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhatt%2Fcircleci-artifacts-redirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhatt","download_url":"https://codeload.github.com/yhatt/circleci-artifacts-redirector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhatt%2Fcircleci-artifacts-redirector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265293225,"owners_count":23742246,"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":[],"created_at":"2024-10-12T01:35:21.686Z","updated_at":"2025-07-14T12:36:19.043Z","avatar_url":"https://github.com/yhatt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CircleCI artifacts redirector\n\nPath resolver and redirect server of [CircleCI](https://circleci.com/)'s [build artifacts](https://circleci.com/docs/2.0/artifacts/).\n\n## Getting started\n\n### Run by [docker](https://hub.docker.com/r/yhatt/circleci-artifacts-redirector/)\n\nWith this command, the redirect server will be listening on port 8080:\n\n```bash\n$ docker run -d -p 8080:80 yhatt/circleci-artifacts-redirector\n```\n\n### Run express server\n\n```bash\n$ git clone https://github.com/yhatt/circleci-artifacts-redirector.git\n\n$ npm install\n$ npm start\n```\n\n## How to use\n\nYou can access to the CircleCI build artifact URL with redirect. It would resolve from the path specified by query options.\n\n```\nhttp://localhost:8080/?path=artifact.html\u0026user=yhatt\u0026project=circleci-artifacts-redirector\u0026token=xxxxxxxxxxxxxxxx\n```\n\n#### Options\n\n##### Reqruied\n\n- `user`: User name of repository.\n- `project`: Project name of repository.\n- `token`: CircleCI's API token for build artifacts. You could create it in [User Settings \u003e Personal API Tokens](https://circleci.com/account/api) on CircleCI.\n- `path`: The path to build artifact.\n\n##### Optional\n\n- `vcs`: VCS type to pass to API. (`github` by default)\n- `branch`: The name of branch that you want to get artifacts. (`master` by default)\n- `build`: Build number of CircleCI. (`latest` by default)\n- `filter`: Restricts which builds are returned. [See CircleCI API reference.](https://circleci.com/docs/api/v1-reference/#build-artifacts-latest)\n\n## Configuration\n\n### Environments\n\n- `CIRCLECI_ARTIFACTS_REDIRECTOR_PORT`: Listening port of express server (`8080` by default with running locally)\n\n### [direnv](http://direnv.net/) support\n\nYou can configure specific envs if you are using [direnv](http://direnv.net/) and allowed it.\n\n```bash\n$ direnv allow\n$ cp ./.envrc.local{.example,}\n$ vi ./.envrc.local\n```\n\n## Author\n\nYuki Hattori ([@yhatt](https://github.com/yhatt/))\n\n## License\n\nThis plugin releases under the [MIT License](https://github.com/yhatt/circleci-artifacts-redirector/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhatt%2Fcircleci-artifacts-redirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhatt%2Fcircleci-artifacts-redirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhatt%2Fcircleci-artifacts-redirector/lists"}