{"id":19080683,"url":"https://github.com/tomcur/phone-camera-upload","last_synced_at":"2025-08-19T09:15:14.510Z","repository":{"id":86436168,"uuid":"372253232","full_name":"tomcur/phone-camera-upload","owner":"tomcur","description":"Recompress and upload synced pictures and videos from a Phone to a WebDAV server","archived":false,"fork":false,"pushed_at":"2025-06-25T09:52:53.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T10:50:27.855Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomcur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-05-30T15:42:21.000Z","updated_at":"2025-06-25T09:52:57.000Z","dependencies_parsed_at":"2025-06-25T10:34:04.925Z","dependency_job_id":"555aac15-24b0-47d0-afc5-c570f648e8d0","html_url":"https://github.com/tomcur/phone-camera-upload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tomcur/phone-camera-upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Fphone-camera-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Fphone-camera-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Fphone-camera-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Fphone-camera-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomcur","download_url":"https://codeload.github.com/tomcur/phone-camera-upload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Fphone-camera-upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271129119,"owners_count":24703879,"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-19T02:00:09.176Z","response_time":63,"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":[],"created_at":"2024-11-09T02:25:05.781Z","updated_at":"2025-08-19T09:15:14.480Z","avatar_url":"https://github.com/tomcur.png","language":"Python","readme":"# phone-camera-upload\nThis script recompresses and uploads synced pictures and videos from my phone\nto a remote.\n\nCurrently supported remotes:\n- WebDAV servers;\n- local directories.\n\nPictures are recompressed to medium quality using the SmallFry JPEG optimizer from [jpeg-archive](https://github.com/danielgtaylor/jpeg-archive).\n\nVideos are recompressed/re-encoded to H.265 with a constant rate factor using [ffmpeg](https://ffmpeg.org).\n\n# Building / Installing\n## With Nix\nRun:\n\n```bash\n$ git clone https://github.com/tomcur/phone-camera-upload.git\n$ cd phone-camera-upload\n$ nix-env --file default.nix -i\n```\nThis installs the required dependencies and places phone-camera-upload's executables in\nyour path.\n\n## With Nix flakes\nRun:\n\n```bash\n$ git clone https://github.com/tomcur/phone-camera-upload.git\n$ cd phone-camera-upload\n$ nix build .#\n```\n\nThis places phone-camera-upload's executables in `./result/bin`.\n\n# Usage\nCopy `./config/phone-camera-upload.json.example` to\n`$HOME/.config/phone-camera-upload/config.json` and edit it with your remote\ndetails.\n\nThe script is hardcoded to upload media in\n`~/syncthing/oneplus-a3003-camera/Camera` to the configured remote. It stores\nfile names of successful uploads in `~/.local/share/phone-camera-upload`.\n\nTo start the script, run:\n\n```bash\n$ phone-camera-upload\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcur%2Fphone-camera-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomcur%2Fphone-camera-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcur%2Fphone-camera-upload/lists"}