YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
example to capture iphone
Louis Beaumont73d098107b4c
diff --git a/screenpipe-server/examples/iphone_recording/capture.sh b/screenpipe-server/examples/iphone_recording/capture.shnew file mode 100755index 000000000..5f6c823a1--- /dev/null+++ b/screenpipe-server/examples/iphone_recording/capture.sh@@ -0,0 +1,25 @@+#!/bin/bash++# Create screenshots directory if it doesn't exist+mkdir -p ~/screenshots+cd ~/screenshots++# List all available devices first+echo "Available devices:"+ffmpeg -f avfoundation -list_devices true -i ""++echo "Attempting capture..."+while true; do+ filename="screenshot_$(date +%Y%m%d_%H%M%S).jpg"+ ffmpeg -f avfoundation -framerate 30 -i "4:" \+ -frames:v 1 \+ -q:v 1 \+ "$filename" 2>&1++ if [ $? -eq 0 ]; then+ echo "Successfully captured: $filename"+ else+ echo "Failed to capture. Error code: $?"+ fi+ sleep 1+done