Welcome to Iris Camera, a beautifully crafted, offline-first web application that turns any browser into a high-performance camera. Built with a cozy, minimalist glassmorphic aesthetic and a deeply robust Vanilla JavaScript architecture, Iris ensures that your moments are captured with zero latency and absolute privacy.
By avoiding heavy component frameworks, this application achieves instant load times and seamless hardware interaction.
- Native WebRTC API: Directly hooks into the device's media stream for hardware-accelerated video capture, frame extraction, and live filtering without lag.
- 100% Offline & Private: Zero server uploads, zero telemetry, and no backend databases. Every photo is processed, rendered, and downloaded entirely locally on the user's device.
- Vanilla Architecture: Built purely with structural HTML, advanced CSS3, and highly efficient Vanilla JS to eliminate dependency bloat and complex state management overhead.
- Premium Glassmorphic UI: Features a cozy, ethereal interface with dynamic blur effects, smooth state transitions, and carefully weighted drop shadows that make the browser feel like a native premium OS application.
- Instant Capture: Zero-shutter-lag photography utilizing raw video track data.
- Camera Switching: Seamlessly toggle between front-facing and environment (rear) lenses on mobile devices.
- Local Storage Optimization: Instantly converts raw canvas data into optimized image formats for immediate, secure downloading.
- Responsive Viewfinder: The viewfinder dynamically scales and crops to ensure a perfect aspect ratio across mobile, tablet, and desktop screens.
Because Iris is an offline-first, client-side application, it requires zero build steps, compilers, or local backend servers.
- Clone the repository:
git clone https://github.com/unskyit/iris-camera.git
- Launch:
Simply open
index.htmlin any modern web browser. - Permissions Note:
For the WebRTC API to function, browsers require the site to be served over
HTTPSorlocalhost. If testing on a mobile device on your local network, use a lightweight local server (like VS Code's Live Server) and access it via your local IP.