{"id":17931046,"url":"https://github.com/marcussilva3298/iloveimages","last_synced_at":"2026-04-14T19:31:28.234Z","repository":{"id":259624713,"uuid":"862635492","full_name":"MarcusSilva3298/iloveimages","owner":"MarcusSilva3298","description":"NestJS Image Processor","archived":false,"fork":false,"pushed_at":"2024-11-08T13:55:57.000Z","size":716,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T10:29:45.572Z","etag":null,"topics":["aws","bucket","cdn","docker","docker-compose","nestjs","nestjs-backend","redis","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MarcusSilva3298.png","metadata":{"files":{"readme":null,"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,"zenodo":null}},"created_at":"2024-09-24T23:52:03.000Z","updated_at":"2024-11-08T13:56:01.000Z","dependencies_parsed_at":"2024-10-26T23:57:00.297Z","dependency_job_id":"842684e8-3d18-435b-a23d-2da69c641ee4","html_url":"https://github.com/MarcusSilva3298/iloveimages","commit_stats":null,"previous_names":["marcussilva3298/iloveimages"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarcusSilva3298/iloveimages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusSilva3298%2Filoveimages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusSilva3298%2Filoveimages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusSilva3298%2Filoveimages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusSilva3298%2Filoveimages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcusSilva3298","download_url":"https://codeload.github.com/MarcusSilva3298/iloveimages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusSilva3298%2Filoveimages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272260548,"owners_count":24902391,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","bucket","cdn","docker","docker-compose","nestjs","nestjs-backend","redis","typescript"],"created_at":"2024-10-28T21:19:15.996Z","updated_at":"2026-04-14T19:31:28.212Z","avatar_url":"https://github.com/MarcusSilva3298.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ILoveImages - NestJS Project\n\n![NestJS](https://img.shields.io/badge/NestJS-%23E0234E.svg?style=for-the-badge\u0026logo=nestjs\u0026logoColor=white)\n![TypeScript](https://img.shields.io/badge/TypeScript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![AWS](https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge\u0026logo=amazon-aws\u0026logoColor=white)\n![Redis](https://img.shields.io/badge/Redis-%23DC382D.svg?style=for-the-badge\u0026logo=redis\u0026logoColor=white)\n![Docker](https://img.shields.io/badge/Docker-%230db7ed.svg?style=for-the-badge\u0026logo=docker\u0026logoColor=white)\n\n## Description\n\nThis **NestJS** project is responsible for fetching, listing, and processing images stored in AWS buckets, utilizing a CDN to optimize distribution. It also uses **Redis** as a cache to enhance performance in repetitive image fetching and processing operations. The project is dockerized and uses a `docker-compose.yaml` file to simplify configuration and execution.\n\n## Features\n\n- Fetch images from AWS S3 buckets.\n- List available images via API.\n- Process images (formatting, quality adjustment, grayscale conversion).\n- Use Redis for caching to improve performance.\n- Distribute images via a CDN optimized for different regions.\n\n## Technologies Used\n\n- [NestJS](https://nestjs.com/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [AWS S3](https://aws.amazon.com/s3/)\n- [Redis](https://redis.io/)\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## How to Run the Project\n\n### Prerequisites\n\n- [Docker](https://www.docker.com/) installed.\n- [Docker Compose](https://docs.docker.com/compose/) installed.\n\n### Steps to run the project\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/MarcusSilva3298/iloveimages.git\n   cd iloveimages\n   ```\n2. Run the project with Docker Compose:\n   ```bash\n   docker-compose up --build\n   ```\n3. The application will be available at `http://localhost:3000`.\n\n### API Endpoints\n\n- **GET** `/pictures`: List available images.\n- **GET** `/pictures/{filename.format}`: Fetch a specific image with optional query parameters to process the image:\n  - `q`: Image quality (number from 1 to 100)\n  - `fm`: Image format (string: `png`, `jpg`, or `webp`)\n  - `w`: Image width (number)\n  - `h`: Image height (number)\n  - `gray`: Apply grayscale (1 or 0)\n\n\n## License\n\nNest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcussilva3298%2Filoveimages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcussilva3298%2Filoveimages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcussilva3298%2Filoveimages/lists"}