☁️

Cloud Feature Rollout

May 2, 2025

Cloud Feature Rollout, pt.I

Introduction

  • Discussion on rolling out a cloud feature for a project.
  • Mention of a potential gathering in Europe for a week to focus on the project.
  • Acknowledgment of delays in the project since last summer until March.
  • Emphasis on moving forward with Ali’s pet project.

Open Source Competitor: Screen Pipe

  • An open-source project called Screen Pipe is discussed.
  • Screen Pipe has a working payment, subscription system, and API.
  • Compatible with Mac, Windows, and Linux, written in Rust.
  • Uses plugins written in JavaScript.
  • Features include:
    • OCR data search and interaction using a local or cloud LLM.
    • Rewind-like feature for marking ranges and queries.
    • Auto-locking work in Obsidian, an interview coach, and Mirror AI for behavior insights.
  • Criticism that it may be too niche for general users.

Discussion on Current Project Viability

  • Discussion on the viability and potential for earning money from the existing project.
  • Concerns about missing market entry and overly complex software.
  • Proposal to simplify the UI and functionality.
  • Comparison to Screen Pipe, which has traction on GitHub.

Technical Details of HLS (HTTP Live Streaming) Implementation

  • Introduction of HLS features using ffmpeg to convert movies into HLS streams.
  • Segmentation of movie files into encrypted parts using customized ffmpeg.
  • Explanation of encryption keys and their management via keychain.

Steps for HLS Implementation

  1. **Conversion Process: **
    • Use command-line utility to convert movie files.
    • Segmentation into HLS and creation of M3U8 playlist.
  2. **Security: **
    • Use of encryption to secure segments.
    • Explanation of key files and encryption vulnerabilities.
  3. **Playback and Testing: **
    • Testing playback via QuickTime, browser, and Swift UI test app.
    • Use of a local HTTP server for stream testing.

Cloud Integration and Storage

  • Discussion on integrating cloud storage using S3 or local alternatives like Minio.
  • Manual creation of S3 buckets and key management for testing.
  • Explanation of the process of connecting local storage to cloud through command-line utilities.
  • Demonstration of uploading and clearing segments in cloud storage.

Challenges and Next Steps

  • Issues with debugging and running apps simultaneously.
  • Need for better integration of UI with cloud backend.
  • Current status of cloud backend and subscription services.
  • Encouragement to get the HLS and cloud features working locally before further development.

Conclusion

  • The importance of simplifying functionality for user engagement.
  • The need for maintaining a backend for cloud storage services.
  • Emphasis on getting the cloud integration fully functional before further discussions.