Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deifyed/gpctl
A simple CLI interface for managing your GoPro Hero 12
https://github.com/deifyed/gpctl
gopro
Last synced: 25 days ago
JSON representation
A simple CLI interface for managing your GoPro Hero 12
- Host: GitHub
- URL: https://github.com/deifyed/gpctl
- Owner: deifyed
- License: other
- Created: 2024-01-03T16:13:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-20T09:30:16.000Z (6 months ago)
- Last Synced: 2024-07-20T10:42:53.970Z (6 months ago)
- Topics: gopro
- Language: Go
- Homepage:
- Size: 18.8 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpctl
NB: I threw this together in one and a half hours. It is likely that something will blow up if you use it.
## Introduction
A simple CLI interface for managing your GoPro Hero 12.
## Usage
```shell
# List all available devices
gpctl devices# List all files and directories in the root folder
gpctl ls /# Download a file from the device
gpctl cp /100GOPRO/GX010008.MP4 /home/user/Downloads/awesome-vid.mp4# Delete a file from the device
gpctl rm /100GOPRO/GX010008.MP4# Start webcam mode (must be run with `sudo` and `-u` for now)
gpctl webcam start -u $USER# Stop webcam mode
gpctl webcam stop
```## Installation
To build the code, you will need to have `Go 1.21` or higher installed.
```shell
# Install in default location (~/.local/bin/gpctl)
make build && make install# Use PREFIX to change the install location
make build && make install PREFIX=/usr/local/bin# Uninstall from default location
make uninstall
```## Sources
- [KonradIT's awesome mmt project](https://github.com/KonradIT/mmt)
- [jschmid1's awesome gopro_as_webcam_on_linux project](https://github.com/jschmid1/gopro_as_webcam_on_linux)
- [Open GoPro's HTTP specification](https://gopro.github.io/OpenGoPro/)