{"id":13908269,"url":"https://github.com/dimMaryanto93/springboot2-upload-video-example","last_synced_at":"2025-07-18T07:30:45.685Z","repository":{"id":52539497,"uuid":"187171080","full_name":"dimMaryanto93/springboot2-upload-video-example","owner":"dimMaryanto93","description":"Upload video, using springboot then compressed ","archived":false,"fork":false,"pushed_at":"2023-02-22T08:12:44.000Z","size":42,"stargazers_count":7,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T09:51:18.629Z","etag":null,"topics":["commons-fileupload","ffmpeg","springboot2"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimMaryanto93.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-05-17T07:46:19.000Z","updated_at":"2024-08-12T19:09:05.000Z","dependencies_parsed_at":"2024-11-07T09:12:03.781Z","dependency_job_id":"06d52a80-bb94-441c-bd3f-39d3369e1151","html_url":"https://github.com/dimMaryanto93/springboot2-upload-video-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimMaryanto93/springboot2-upload-video-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-upload-video-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-upload-video-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-upload-video-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-upload-video-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimMaryanto93","download_url":"https://codeload.github.com/dimMaryanto93/springboot2-upload-video-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-upload-video-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720408,"owners_count":23817232,"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":["commons-fileupload","ffmpeg","springboot2"],"created_at":"2024-08-06T23:02:35.817Z","updated_at":"2025-07-18T07:30:45.398Z","avatar_url":"https://github.com/dimMaryanto93.png","language":"Java","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# Springboot Rest API upload media\n\nProject example upload video using springboot v2 via Rest API, then compressed and generated thumbnails of videos.\n\nSystem Required \n\n- maven\n- Java 8\n- [ffmpeg](https://ffmpeg.org)\n\n## Run application\n\nprepared database using postgresql:\n\n```bash\n# create schema user\ncreate user uploader with superuser login password 'uploader';\n\n# crete schema database\ncreate database uploader;\n```\n\nrun springboot project:\n\n```bash\nmvn clean spring-boot:run\n```\n\n## Run Application with docker-componse\n\nBuild image using maven command:\n\n```bash\nmvn clean install -DskipTests\n```\n\nit's will build the image, then you can run the container with docker-compose\n\n```docker\ndocker-compose up -d\n```\n\n\n## example Rest API\n\n```bash\ncurl -X POST \\\n  http://localhost:8080/api/media/upload/video \\\n  -H 'Content-Type: application/octet-stream' \\\n  -H 'cache-control: no-cache' \\\n  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \\\n  -F 'content=@/Users/user/Movies/file-video.mvk'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdimMaryanto93%2Fspringboot2-upload-video-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FdimMaryanto93%2Fspringboot2-upload-video-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdimMaryanto93%2Fspringboot2-upload-video-example/lists"}