{"id":15292876,"url":"https://github.com/nikby53/image-converter","last_synced_at":"2026-01-27T16:01:23.796Z","repository":{"id":44901138,"uuid":"405984634","full_name":"Nikby53/image-converter","owner":"Nikby53","description":"Service that expose a RESTful API to convert JPEG to PNG and vice versa and compress the image with the compression ratio specified by the user.","archived":false,"fork":false,"pushed_at":"2022-02-18T15:16:29.000Z","size":2302,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T15:46:39.823Z","etag":null,"topics":["aws-ec2","aws-s3","cli","docker","docker-compose","github-actions","go","golang","golang-api","jwt-authentication","minio","rds-database","rest-api","swagger-ui","transactions"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nikby53.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":"2021-09-13T13:27:28.000Z","updated_at":"2024-12-14T15:36:46.000Z","dependencies_parsed_at":"2022-08-26T08:01:22.597Z","dependency_job_id":null,"html_url":"https://github.com/Nikby53/image-converter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Nikby53/image-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikby53%2Fimage-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikby53%2Fimage-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikby53%2Fimage-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikby53%2Fimage-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikby53","download_url":"https://codeload.github.com/Nikby53/image-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikby53%2Fimage-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28816351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"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-ec2","aws-s3","cli","docker","docker-compose","github-actions","go","golang","golang-api","jwt-authentication","minio","rds-database","rest-api","swagger-ui","transactions"],"created_at":"2024-09-30T16:29:43.288Z","updated_at":"2026-01-27T16:01:23.778Z","avatar_url":"https://github.com/Nikby53.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image-converter\nService that expose a RESTful API to convert JPEG to PNG and vice versa and compress the image with the compression ratio specified by the user. The user has the ability to view the history and status of their requests (queued, processed, completed) and download the original image and the processed one.\n\n## Build \u0026 Run (Locally)\n### Prerequisites\n- go 1.16\n- docker\n- golangci-lint (\u003ci\u003eoptional\u003c/i\u003e, used to run code checks)\n- aws access and secret key\n\nCreate .env file in root directory and add following values:\n```dotenv\nAPI_PORT=\n\nDB_USERNAME=\nDB_PASSWORD=\nDB_NAME=\nDB_HOST=\nDB_PORT=\nDB_SSL_MODE=\n\nAWS_BUCKET_NAME=\nAWS_ACC_ID=\nAWS_SECRET_KEY=\nAWS_REGION=\n\nMINIO_BUCKET_NAME=\nMINIO_ACC_ID=\nMINIO_SECRET_KEY=\nMINIO_REGION=\nMINIO_ENDPOINT=\n\nJWT_SIGNING_KEY=\nJWT_TOKEN_TTL=\n```\n\nUse `make run` to build\u0026run project, `make lint` to check code with linter.\n\n## Architecture Diagram\n![](schema/Architecture.jpg)\n\n## Entity–relationship model\n![](schema/ERD.jpg)\n\n# Endpoints\n * /auth/signup - user registration [POST]\n * /auth/login - user authorization [POST]\n * /image/convert - convert and compress image [POST]\n * /image/download/{id} - downloads needed image [GET]\n * /requests - get the user's requests history [GET]\n\n## Run image converter from a binary command line interface\nGrab a binary from [releases page](https://github.com/Nikby53/image-converter/releases)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikby53%2Fimage-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikby53%2Fimage-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikby53%2Fimage-converter/lists"}