{"id":37886662,"url":"https://github.com/plant-shutter/plant-shutter-pi","last_synced_at":"2026-01-16T16:52:51.343Z","repository":{"id":160847002,"uuid":"635653017","full_name":"plant-shutter/plant-shutter-pi","owner":"plant-shutter","description":"一个简单易用的延时摄影（TimeLapse）程序。","archived":false,"fork":false,"pushed_at":"2025-09-04T17:03:15.000Z","size":27034,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T19:08:05.657Z","etag":null,"topics":["golang","plant","raspberry-pi","timelapse"],"latest_commit_sha":null,"homepage":"","language":"Go","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/plant-shutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-03T06:56:53.000Z","updated_at":"2025-09-04T17:03:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb15ee1c-b19f-4348-9e10-b8e118ca7a14","html_url":"https://github.com/plant-shutter/plant-shutter-pi","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":0.03508771929824561,"last_synced_commit":"598aa61ed2e1b5580a6b6bd8d80e8c81b56cb258"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/plant-shutter/plant-shutter-pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plant-shutter%2Fplant-shutter-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plant-shutter%2Fplant-shutter-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plant-shutter%2Fplant-shutter-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plant-shutter%2Fplant-shutter-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plant-shutter","download_url":"https://codeload.github.com/plant-shutter/plant-shutter-pi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plant-shutter%2Fplant-shutter-pi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","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":["golang","plant","raspberry-pi","timelapse"],"created_at":"2026-01-16T16:52:51.008Z","updated_at":"2026-01-16T16:52:51.311Z","avatar_url":"https://github.com/plant-shutter.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plant-shutter for raspberry pi\n\n![icon](asset/icon-192x192.png)\n\n一个简单易用的延时摄影（TimeLapse）程序。\n\n\u003e 成片B站视频\n\u003e https://www.bilibili.com/video/BV1wZ42127U3/?spm_id_from=333.999.0.0\n\n\n***\n\n## Features\n\n* **实时预览**调参\n* 支持使用**WebDAV**共享拍摄的图片\n* 使用`Video for Linux 2` (**v4l2**) API\n* 支持生成**预览视频**\n* **All-In-One**，开箱即用\n\n## QuickStart\n\n```sh\nchmod +x plant-shutter\n./plant-shutter\n```\n\n在浏览器打开[管理界面](raspberry:9999)\n\n## Systemd\n\n\n\n## Storage\n\n```\n.\n└── root/\n    ├── \u003cproject-name\u003e/\n    │   ├── images/\n    │   │   ├── \u003cimage\u003e.jpg\n    │   │   ├── ...\n    │   │   └── info.json\n    │   └── videos/\n    │       ├── \u003cname\u003e.avi\n    │       └── ...\n    ├── ...\n    └── info.json\n```\n\n\n## Build\n\n```sh\ndocker build --platform \"linux/arm/v6\" --output \"./bin\"  .\n```\n\n## RNDIS\n\n树莓派的网络性能有限，如果你使用的zero w，那文件传输速率仅有2-3MB/s，使用RNDIS，将树莓派通过usb连接电脑，并将树莓派识别成网络设备，可以直接通过ip:port的方式访问树莓派，提升文件下载速度。\n\n\u003e https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget\n\n```bash\nvi /boot/config.txt\n# 最后一行新增\ndtoverlay=dwc2\n\nvi /etc/modules\n# rootwait后添加空格和如下内容\nmodules-load=dwc2,g_ether\n```\n\n安装RNDIS驱动\n\n通过usb连接树莓派\n\n## Hardware\n\n测试硬件\n\n* [raspberry pi zero w](https://www.raspberrypi.com/products/raspberry-pi-zero-w/)\n* [pi camera(module v2)](https://www.raspberrypi.com/products/camera-module-v2/)\n\n## Todo\n\n- [x] 图片存储结构\n- [x] 堆叠视频\n- [x] 相机管理\n- [x] 相机参数调节\n- [x] 任务调度与状态管理\n- [x] 测试RNDIS\n\n## Driver\n\nv4l2\n\n\u003e https://github.com/vladimirvivien/go4vl\n\n```shell\n# enable driver\nsudo raspi-config\n```\n\n\n## Other\n\n### icon\n\n\u003e https://favicon.io/emoji-favicons/blossom/\n\n### PixelViewer\n\n\u003e https://carinastudio.azurewebsites.net/PixelViewer/\n\n\n### Image utils\n\n\u003e https://github.com/disintegration/imaging\n\u003e https://gist.github.com/logrusorgru/570d64fd6a051e0441014387b89286ca\n\u003e https://github.com/nfnt/resize\n\u003e https://github.com/icza/mjpeg\n\u003e https://github.com/131/h264-live-player\n\n### pi camera\n\n\u003e https://www.raspberrypi.com/documentation/accessories/camera.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplant-shutter%2Fplant-shutter-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplant-shutter%2Fplant-shutter-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplant-shutter%2Fplant-shutter-pi/lists"}