{"id":20330083,"url":"https://github.com/redapesolutions/image_resizer","last_synced_at":"2025-03-04T12:21:26.362Z","repository":{"id":23790597,"uuid":"27166242","full_name":"redapesolutions/image_resizer","owner":"redapesolutions","description":"Image resizer","archived":false,"fork":false,"pushed_at":"2014-11-26T08:34:33.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-14T15:19:14.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/redapesolutions.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}},"created_at":"2014-11-26T08:12:40.000Z","updated_at":"2014-11-26T08:34:35.000Z","dependencies_parsed_at":"2022-08-22T05:10:41.806Z","dependency_job_id":null,"html_url":"https://github.com/redapesolutions/image_resizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redapesolutions%2Fimage_resizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redapesolutions%2Fimage_resizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redapesolutions%2Fimage_resizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redapesolutions%2Fimage_resizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redapesolutions","download_url":"https://codeload.github.com/redapesolutions/image_resizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844938,"owners_count":20029750,"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-11-14T20:14:53.739Z","updated_at":"2025-03-04T12:21:26.313Z","avatar_url":"https://github.com/redapesolutions.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image resizer\n## Installation\n### Ubuntu server\n```\nsudo apt-get update\nsudo apt-get install nginx\nsudo apt-get install build-essential python-dev python-pip\nsudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \\\n    libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk\n```\n### Virtual environment\n```\nsudo pip install virtualenv\nsudo pip install virtualenvwrapper\nexport WORKON_HOME=~/.virtualenvs\nmkvirtualenv resizer\nworkon resizer\n```\n### Python stuff\n```\npip install -r requirements.txt\n```\n###Directories\nCreate original directory and assets directory in the same folder as app.py\n## Running using nginx, upstart and uwsgi\n- Copy resizer.conf to /etc/init\n- Copy nginx_conf to /etc/nginx/sites-available/default\n- Make sure resizer.sh is executable\n```\nsudo service resizer start\nsudo service nginx restart\n```\n\n## Usage\n### Width and height\nUrl pattern url/to/file/\u0026lt;width\u0026gt;/\u0026lt;height\u0026gt;/filename.png\n### Keep ratio\nUse the same pattern as above but replace either width or height with \"x\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredapesolutions%2Fimage_resizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredapesolutions%2Fimage_resizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredapesolutions%2Fimage_resizer/lists"}