{"id":26458563,"url":"https://github.com/m4p4/flask-media-storage","last_synced_at":"2026-05-18T01:36:18.424Z","repository":{"id":236009448,"uuid":"602338840","full_name":"M4p4/flask-media-storage","owner":"M4p4","description":"The Media Storage Flask Application is a web-based tool that allows users to store images and videos on a server, edit them in size and watermark, and generate thumbnails for videos.","archived":false,"fork":false,"pushed_at":"2023-03-10T02:36:26.000Z","size":171466,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T00:05:56.911Z","etag":null,"topics":["edit-images","edit-videos","flask","flask-file-server","flask-file-storage","media-storage","python"],"latest_commit_sha":null,"homepage":"","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/M4p4.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}},"created_at":"2023-02-16T01:55:37.000Z","updated_at":"2025-02-01T12:45:47.000Z","dependencies_parsed_at":"2024-04-25T09:49:53.733Z","dependency_job_id":null,"html_url":"https://github.com/M4p4/flask-media-storage","commit_stats":null,"previous_names":["m4p4/flask-media-storage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/M4p4/flask-media-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4p4%2Fflask-media-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4p4%2Fflask-media-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4p4%2Fflask-media-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4p4%2Fflask-media-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M4p4","download_url":"https://codeload.github.com/M4p4/flask-media-storage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M4p4%2Fflask-media-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33161884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"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":["edit-images","edit-videos","flask","flask-file-server","flask-file-storage","media-storage","python"],"created_at":"2025-03-19T00:06:11.514Z","updated_at":"2026-05-18T01:36:18.406Z","avatar_url":"https://github.com/M4p4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Media Storage\n\nThe Media Storage Flask Application is a web-based tool that allows users to store images and videos on a server, edit them in size and watermark, and generate thumbnails for videos.\n\n### Getting Started\n\nTo get started with the Media Storage Flask Application, follow these steps:\n\n1. Clone the repository from GitHub using git clone `https://github.com/M4p4/flask-media-storage.git`\n2. Install the necessary dependencies by running `pip install -r requirements.txt`.\n3. Run the application using `FLASK_DEBUG=1 flask run -p 3000`.\n4. Run background worker for image / video progressing with `celery -A app.celery worker --loglevel=info`.\n\n### Config\n\nIn the `config.py` file in the root dir you can configurate image and video settings. You also need to set there an AUTH_KEY because every request needs the AUTH_KEY as param.\n\nThere tons of config options in the config file like sizes and quality.\n\n### Add Video / Image\n\nTo add an Video or Image to the storage you call the `/media` (http://127.0.0.1:3000/media for local) route with a `POST` request.\n\nThe following params are needed\n\n```\nfile - byte array - the file the user uploaded (can be empty)\nurl - string -  if file is empty and url is given, it downloads file from url\nid - string - an id from backend\nfilename - string - filename from backend can be also a random genrated string\nuse_watermark - boolean - use watermark in image or video\nmedia_type - string - \"video\" or \"image\"\nauth - string - AUTH_KEY\n```\n\nAs result you get an UID, that can be used to check the status on the `/status/\u003cuid\u003e` route.\n\n### Delete Video / Image\n\nSend a `DELETE` request to `/image/\u003cuid\u003e` or `/video/\u003cuid\u003e` route, with AUTH_KEY as param as `auth`. This will result in deleting all files related to the UID (Images, Videos and Thumbnails).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4p4%2Fflask-media-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4p4%2Fflask-media-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4p4%2Fflask-media-storage/lists"}