All Features
developer
URL Scheme - Media Attachment from URLs
Attach local files or remote URLs via URL scheme parameters
Attach media automatically using URL scheme. Local file paths, file:// URLs, or http/https URLs all work. Automate posting with images from anywhere - local disk, web, or generated content. Perfect for scripted posting workflows.
How to Use
- 1Create script with local file path
- 2URL: statuz://compose?media=/Users/name/image.jpg
- 3Execute URL
- 4Show composer with image attached
- 5Try remote URL: statuz://compose?media=https://example.com/photo.jpg
- 6Show Statuz downloading and attaching
- 7Try multiple media: media=file1.jpg,file2.jpg,video.mp4
- 8Show all three items in media grid
- 9Combine with text: statuz://compose?text=Check%20this&media=/path/to/image.jpg
- 10Show post with text and media
- 11Demonstrate automation: screenshot script → attach → post
- 12Show complex workflow with generated content
- 13Verify media from any source works
Key Features
Why Developers Love It
Automating social media means attaching media programmatically. URL scheme media= parameter makes it trivial - generate image, attach via URL, post. Complete automation.
Pro Tips
Example Automations
Post Latest Screenshot:
file=$(ls -t ~/Desktop/Screen*.png | head -1)
open "statuz://compose?media=$file"Daily Chart Post:
chart_path = generate_chart()
url = f"statuz://compose?text=Daily%20Stats&media={chart_path}"
os.system(f"open '{url}'")Remote Image Post:
open "statuz://compose?media=https://example.com/photo.jpg&text=Check%20this%20out"