{"id":16520011,"url":"https://github.com/pageauc/webcam-video","last_synced_at":"2026-06-09T15:02:29.854Z","repository":{"id":74954788,"uuid":"62585178","full_name":"pageauc/webcam-video","owner":"pageauc","description":"A Bash script to take short video sequences using avconv and upload (sync) to google drive.  Runs on Raspberry Pi or other Unix Distros","archived":false,"fork":false,"pushed_at":"2017-12-17T12:52:08.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T06:54:00.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pageauc.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,"publiccode":null,"codemeta":null}},"created_at":"2016-07-04T20:00:05.000Z","updated_at":"2022-01-19T15:27:14.000Z","dependencies_parsed_at":"2023-07-25T20:31:08.482Z","dependency_job_id":null,"html_url":"https://github.com/pageauc/webcam-video","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pageauc/webcam-video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fwebcam-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fwebcam-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fwebcam-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fwebcam-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pageauc","download_url":"https://codeload.github.com/pageauc/webcam-video/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fwebcam-video/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34112225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","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-10-11T16:49:12.445Z","updated_at":"2026-06-09T15:02:29.836Z","avatar_url":"https://github.com/pageauc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### bash script to Record and Upload Web Cam Videos Securely to a users google drive\n\nThis is a Raspberry Pi Bash script that uses a usb connected webcam to take short video\nsequences in round robin fashion, encodes and securely uploads the videos to\nthe users google drive using an internet connection.\nThe camvid.sh script is self contained and is easily edited.\n\n#### Quick Install\nFrom a Raspberry Pi SSH or console terminal session.\n\n    cd ~\n    wget https://raw.github.com/pageauc/webcam-video/master/install.sh\n    chmod +x install.sh\n    ./install.sh\n\n#### How to Initialize gdrive security token\nNote I now recommend using rclone. See my Github project here https://github.com/pageauc/rclone4pi\n\nSetup gdrive security for secure access to your google drive. Note: This assumes you have a google drive with a google account eg gmail and you are using a SSH terminal session on a networked PC logged into your Raspberry Pi computer. for additional details see https://github.com/odeke-em/drive\nFrom a windows PC that has the Chrome browser or equivalent installed and logged into your google account eg gmail.\nLogin to the Raspberry Pi using SSH session on the PC. This may also be able to be done within a RPI browser desktop session but I have not tried that so I will outline the PC SSH terminal session method that works for me.\nFrom a logged in SSH session execute the following commands.\n\n    cd ~/camvid\n    gdrive init\n\nCommand above will display a long url in the RPI SSH session.\n\n1. In SSH window use mouse left button to highlight the very long url (do NOT press enter)\n2. On the PC Chrome Browser window open a new browser tab and right click in the top url box\n3. Make sure you are logged into your google account eg gmail\n4. Right mouse click in the browser new tab url box (at top) and select paste and go\n5. This will display a google message to confirm security access\n6. Read message and if you Accept then a security code box will be displayed showing a security token\n7. Use left mouse to highlight security code then right click and copy\n8. Return to RPI SSH session and right click at gdrive init prompt to paste security code token\n9. Press enter to accept code.\n\nIf OK and no errors are displayed then a hidden .gd subfolder will be created in the camvid folder. .\nThe .gd folder contains gdrive security files. For syncing purposes the camvid folder will be considered as root.\nTo see the hidden files and folders\n\n    cd ~/camvid\n    ls -al\n\nTo list gdrive help type gdrive command with no parameters\n\n    gdrive\n\nTo confirm access to your google drive perform the following. This should display the contents of your google drive root folder.\n \n    gdrive list\n    \nReview user settings in camvid.sh script using nano editor.  ctrl-x y to save\nMake sure Raspberry Pi has good internet connection and the web cam\nusb cable is plugged into the RPI, then run camvid.sh script to test\nper the following commands. \n\n    cd ~/camvid\n    ./camvid.sh\n    \nVideo Files will be stored in webcam-videos folder and uploaded to the\nusers google drive under webcam-videos folder.\n\nTrouble shoot as required ...   \n\nGood Luck Claude ...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpageauc%2Fwebcam-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpageauc%2Fwebcam-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpageauc%2Fwebcam-video/lists"}