{"id":16256617,"url":"https://github.com/dotneet/devneko-image-proxy","last_synced_at":"2026-01-20T11:32:54.308Z","repository":{"id":38973010,"uuid":"167751852","full_name":"dotneet/devneko-image-proxy","owner":"dotneet","description":"The serverless image proxy that resizes and converts an image on the fly with AWS lambda and S3 and sharp.","archived":false,"fork":false,"pushed_at":"2023-05-21T09:19:43.000Z","size":188,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T21:43:32.343Z","etag":null,"topics":["aws-lambda","aws-s3","image-processing","sharp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dotneet.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-26T23:52:55.000Z","updated_at":"2023-05-20T21:01:44.000Z","dependencies_parsed_at":"2024-10-27T21:36:10.785Z","dependency_job_id":"619d6b86-2a2b-4577-94e7-9134aeb55fea","html_url":"https://github.com/dotneet/devneko-image-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dotneet/devneko-image-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotneet%2Fdevneko-image-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotneet%2Fdevneko-image-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotneet%2Fdevneko-image-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotneet%2Fdevneko-image-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotneet","download_url":"https://codeload.github.com/dotneet/devneko-image-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotneet%2Fdevneko-image-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28602462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T10:46:13.255Z","status":"ssl_error","status_checked_at":"2026-01-20T10:42:51.865Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws-lambda","aws-s3","image-processing","sharp"],"created_at":"2024-10-10T15:45:46.437Z","updated_at":"2026-01-20T11:32:54.293Z","avatar_url":"https://github.com/dotneet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"The serverless image proxy that resizes and converts an image on the fly with AWS lambda and S3 and sharp.\n\n## Docker installation\n\nYou need to install docker before using devneko-image-proxy.\n\nhttps://docs.docker.com/install/\n\n## Setup AWS credentials\n\ndevneko-image-proxy uses [cloudia](https://github.com/claudiajs/claudia) to deploy a lambda function and setup API gateway.\nSo you need to setup AWS credentials to `.aws/credentials` like this:\n\n```\n[claudia]\naws_access_key_id = YOUR_ACCESS_KEY\naws_secret_access_key = YOUR_ACCESS_SECRET\n```\n\nThen set the environment variable AWS_PROFILE to cloudia.\n\n```bash\nexport AWS_PROFILE=claudia\n```\n\n## Configuration\n\nSetup S3 bucket and others to `.env` file.\n\n```bash\ncp .env-example .env\n```\n\nAWS_REGION:\nSet the region of S3 bucket.\n\nAWS_PROFILE:\nThe aws profile you want to use.\n\nS3_BUCKET:\nSet the S3 bucket that you want to access.\n\nLAMBDA_ROLE:\nSet the role for lambda function.\nThis role must have the privilege that allows the access to the S3 bucket.\nYou can use the command `yarn run create-role` to create a role.\n\nLAMBDA_MEMORY:\nThe memory size of lambda function.\n\nLAMBDA_TIMEOUT:\nThe timeout seconds of lambda function.\n\nPATH_PREFIX: (Optional)\nThis value will be used as the prefix of S3 key.\n\n## Management commands\n\n### Creating a lambda function\n\nThis command creates a lambda function and API gateway.\nAfter completes creating the lambda function, `claudia.json` will be created.\nThis file will be used for update and destroy command.\n\n```bash\nnpm run create\n```\n\n### Updating a lambda function\n\n```bash\nnpm run update\n```\n\n### Destroying a lambda function\n\nAfter completes destorying the lambda function, `claudia.json` will be removed.\n\n```bash\nnpm run destroy\n```\n\n## Accessing an image\n\nYou can access an image via API gateway like this:\n\n```\nhttps://xxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/latest/path.jpg?w=640\u0026h=480\n```\n\nThe processing options are specified with query parameters.\nIf query parameters are not set, an image will not be processed.\n\n### Image processing options\n\n - w: width of an image.\n - h: height of an image.\n - q: quality (1-100)\n - prog: if specified, a lambda function returns the progressive image.\n - format: convert an image to the format specified in this option. The possible values are jpeg, png, gif, webp.\n\n## Tips\n\n### Claudflare Integration\n\n[Cloudflare.md](https://github.com/dotneet/devneko-image-proxy/blob/master/Cloudflare.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotneet%2Fdevneko-image-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotneet%2Fdevneko-image-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotneet%2Fdevneko-image-proxy/lists"}