MediaKit Offline is a complete, production-ready "Offline Image & Audio Utility Toolkit" delivered as a single, self-contained HTML file with embedded CSS and vanilla JavaScript. It gives people on Android phones and in desktop browsers a private, zero-upload workspace for four everyday media jobs: resizing images to exact print and social dimensions, converting and compressing images between formats, trimming audio into ringtones, and composing quote or thumbnail text cards.
The product intent is privacy and reliability first. Every operation runs 100% offline using browser-native APIs — HTML5 Canvas, FileReader and the Web Audio API — with zero external server uploads and zero external CDN dependencies that could break offline. The single HTML file is designed so it can be directly wrapped into an Android APK.
The audience is the Offline Media Creator: a person who prepares passport photos, profile pictures, thumbnails, ringtones and social quote cards on one device, often on a mid-range Android WebView, and who wants finished files downloaded locally without sending anything to a server.
MediaKit Offline is a client-only, single-file web application. All image decoding, resizing, format conversion, audio decoding, waveform rendering, trimming, WAV encoding and card rendering happen inside the browser using HTML5 Canvas, FileReader and the Web Audio API. No file ever leaves the device, and no network request is required for the app to function.
The app presents a sticky top header titled "MediaKit Offline", a clean dashboard grid of the four tools, and a bottom or back navigation bar when a tool is active. A tab or card switcher lets the user jump between the four tools. The visual system is a colorful, modern light glassmorphism design: a soft pastel mesh gradient background, frosted translucent white cards with subtle borders, soft shadows and crisp dark slate typography. Dark themes, black backgrounds, neon colors and electric blue are excluded.
The single active human persona is the Offline Media Creator. All four tools are anonymous, no-account, on-device utilities; there is no application-owned identity, no login, and no persistent server-side state. The provisioned backend, database and frontend services in the scaffold are infrastructure inventory only and do not add product requirements, domain entities or authentication to this offline toolkit.
Removed from scope
MediaKit Offline is delivered as one self-contained HTML file. The user opens that file in a browser or an Android WebView, and the entire toolkit — all four tools, all styling and all logic — is available immediately with no install step, no network connection and no account. The file is structured so it can be wrapped directly into an Android APK.
All processing is local and ephemeral. Uploaded images and audio are read with FileReader and decoded in memory; results are produced on Canvas or via the Web Audio API and delivered to the user as downloaded files. Object URLs are revoked and unused AudioContext instances are closed so the app stays smooth on mid-range Android WebViews. Nothing is transmitted, stored remotely or shared.
The current delivery boundary is the single offline HTML file and its four tools. There is no current or planned server-side component, no user account, and no cloud storage. The provisioned backend, database and frontend services exist as scaffold infrastructure only; they are not required by, and do not extend, the accepted offline product behavior.
toBlob() conversion; estimated-size display; download control; bottom glass bar with active tool name and Back control.FR-1 — Single self-contained offline file (explicit) As an Offline Media Creator, I should open one self-contained HTML file with embedded CSS and vanilla JavaScript so that the entire toolkit works without any server or network.
FR-2 — 100% offline with browser-native APIs (explicit) As an Offline Media Creator, I should have all processing run locally via HTML5 Canvas, FileReader and the Web Audio API so that nothing is uploaded and no CDN is needed.
FR-3 — Light glassmorphism visual system (explicit) As an Offline Media Creator, I should see a colorful, modern light glassmorphism design — soft pastel mesh gradient background, frosted translucent white cards with subtle borders, soft shadows and crisp dark slate typography — so the app feels calm and friendly.
FR-4 — Mobile-first responsive layout (explicit) As an Offline Media Creator, I should get a mobile-first layout for portrait viewports that is responsive up to desktop, with a sticky top header "MediaKit Offline", a clean dashboard grid of tools, and a bottom or back navigation bar when inside an active tool.
FR-5 — Clean English (explicit) As an Offline Media Creator, I should see strictly clean English across all UI labels, buttons, code comments and variable names.
FR-6 — Tab/card switcher (explicit) As an Offline Media Creator, I should use a tab or card switcher to jump between the four tools.
FR-7 — Image Resizer upload (explicit) As an Offline Media Creator, I should upload a JPG, PNG or WEBP image into the Passport Photo & Custom Image Resizer.
FR-8 — Resizer presets (explicit) As an Offline Media Creator, I should tap preset buttons "Indian Passport (35x45 mm / 413x531 px)", "Square Profile (1080x1080 px)" and "YouTube Thumbnail (1280x720 px)" to set target dimensions.
FR-9 — Custom dimensions with Aspect Ratio Lock (explicit) As an Offline Media Creator, I should enter custom Width and Height and toggle "Aspect Ratio Lock" to control the output size.
FR-10 — Live preview and quality slider (explicit) As an Offline Media Creator, I should see a live HTML5 Canvas preview and adjust a target file-size quality slider from 10% to 100%.
FR-11 — Download resized image (explicit) As an Offline Media Creator, I should tap "Download Resized Image" once to save the result.
FR-12 — Format Converter upload and info (explicit) As an Offline Media Creator, I should upload any image and see its original file size and dimensions.
FR-13 — Format conversion (explicit)
As an Offline Media Creator, I should convert between PNG, JPEG and WEBP using Canvas toBlob().
FR-14 — Estimated new size (explicit) As an Offline Media Creator, I should see the estimated new file size in KB/MB before downloading.
FR-15 — Audio upload and local decode (explicit) As an Offline Media Creator, I should upload MP3, WAV, OGG or M4A audio and have it decoded locally with the Web Audio API AudioContext.
FR-16 — Waveform rendering (explicit) As an Offline Media Creator, I should see a clean visual waveform on an HTML5 Canvas.
FR-17 — Start/End time sliders (explicit) As an Offline Media Creator, I should set Start Time and End Time with range sliders that show numeric seconds.
FR-18 — Play Selection preview (explicit) As an Offline Media Creator, I should preview the selection with a "Play Selection" player.
FR-19 — Export Trimmed WAV (explicit) As an Offline Media Creator, I should tap "Export Trimmed WAV" to encode the sliced AudioBuffer into a downloadable .wav file.
FR-20 — Text Card Maker inputs (explicit) As an Offline Media Creator, I should enter a custom headline and subtext, choose a background gradient from 4–5 light pastel/vibrant presets, set text alignment and adjust a font size slider.
FR-21 — Live card render and PNG export (explicit) As an Offline Media Creator, I should see the card render live on an HTML5 Canvas and export it as PNG in one tap.
FR-22 — Memory safety (explicit)
As an Offline Media Creator, I should have object URLs revoked with URL.revokeObjectURL and unused AudioContext instances closed so the app runs smoothly on mid-range Android WebViews without memory leaks.
FR-23 — Toast notifications (explicit) As an Offline Media Creator, I should see clean, user-friendly toast notifications for unsupported file types, empty inputs and successful file downloads.
FR-24 — Code quality for APK wrapping (explicit)
As an Offline Media Creator, I should have clean, modular, well-structured vanilla JavaScript in a single <script> tag and clean CSS in a single <style> tag so the single HTML file can be directly wrapped into an Android APK.
FR-25 — Runtime environment (required_inference) As an Offline Media Creator, I should open the single HTML file in a browser or Android WebView that supplies HTML5 Canvas, FileReader and Web Audio API support, so the accepted journeys are executable.
toBlob() and shows the estimated new file size in KB/MB.The visual direction follows the muse Michal Malewicz — layered translucency — under the headline "Edit images and audio on your phone." The mood is calm, light and friendly, never technical or dark.
Color tokens (light mode):
#F4EEFB#FFFFFF at 72% opacity#2B2A3D (dark slate)#7A4FBF (violet)#E0629A (pink)#6E6B85#F4EEFB, #FBE9F1, #E7F4F2, #FDF3E3 behind frosted white cardsTypography:
Shape language: Soft rounded cards at 20px radius with 1px white borders; floating glass layers; pill buttons.
Layout: Mobile-first single column; sticky header; dashboard card grid; bottom bar inside a tool. Cards stack in two columns at 768px and three at 1280px.
Imagery: Abstract pastel gradient shapes and glass 3D primitives behind the cards; tool icons are simple line symbols on frosted tiles.
Signature moves: Sticky frosted header showing "MediaKit Offline" that blurs the mesh gradient behind it; four dashboard tiles floating on soft colour glows that lift 4px on tap; a bottom glass bar showing the active tool name and a Back control; sliders with a violet-to-pink track on frosted rails and large round thumbs.
Readability rule: Headlines, wordmarks, labels, numbers, card text and controls stay entirely inside the viewport and their containers at 375px, 768px and 1280px, wrapping or scaling (e.g. font-size: clamp(...)) to fit; decoration may bleed but never covers readable text or controls.
The public entry (Landing) is a composed pastel mesh stage: a full first screen of soft pastel mesh gradient (#F4EEFB, #FBE9F1, #E7F4F2, #FDF3E3) with abstract glass primitives floating behind a large frosted white panel (72% opacity, 20px radius, 1px white border, soft shadow). The panel holds the headline "Edit images and audio on your phone", the subline "Resize, convert, trim and make quote cards. All work stays on your device." and the "Open a tool" pill button in violet #7A4FBF. On entry to the Dashboard, the same panel language carries the four tool tiles, each a glass card with a soft colour glow behind it and a line-symbol icon on a frosted tile. The concept recomposes only accepted content and controls — it introduces no new behavior or destination.
Interaction Model: Animated Motion Tempo: expressive Hero Dimensionality: layered_2d
Landing Hero Motion Brief
prefers-reduced-motion, the mesh and panel render statically with no float or blur transition; all text and the CTA remain fully visible and usable.URL.revokeObjectURL and unused AudioContext instances closed so the app runs smoothly on mid-range Android WebViews without memory leaks.<script> tag and clean CSS in a single <style> tag.<style> tag) and vanilla JavaScript (single <script> tag). No frameworks, no external CDN dependencies.toBlob() conversion), FileReader (file reading), Web Audio API (AudioContext decode, playback, WAV encoding).#F4EEFB, #FBE9F1, #E7F4F2 and #FDF3E3..wav file encoded from the sliced AudioBuffer for the selected Start/End range.
Resize, convert, trim and make quote cards. All work stays on your device.

Resize, convert, trim and make quote cards. All work stays on your device.
No comments yet. Be the first!