Add an Android target alongside the desktop bundles. Users download a signed
universal .apk and sideload it; minSdk 31 blocks Android < 12 at install time.
- tauri.conf.json: bundle.android (minSdkVersion 31, versionCode 10601)
- commit the generated src-tauri/gen/android Gradle project (source only; build
outputs + keystore stay gitignored) with release signing wired from a
gitignored keystore.properties (graceful unsigned fallback when absent)
- self-host fonts via @fontsource (drop Google Fonts <link>, tighten CSP) so the
app renders fully offline
- robust native file open: basenameFromPath() recovers a filename from Android
content:// URIs; the native-open path filters extensions leniently so opaque
MediaStore URIs the dialog already vetted are not wrongly rejected
- npm scripts tauri:android:{init,dev,build}; android job in release.yml signs
from secrets and uploads the APK to the same draft release
- docs: README/README.vi Android sections, TAURI-NOTES maintainer notes (incl.
the WebView Chromium >= 111 requirement), ROADMAP phase 7
Validated on emulators: signed APK installs on Android 12+, blocked on API < 31
(INSTALL_FAILED_OLDER_SDK), launches, renders, runs converters, reads files via
the SAF picker, fully offline. New unit tests for basenameFromPath + lenient
filterByExtension; full gate green (format/typecheck/lint/knip/215 tests).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
2.1 KiB
HTML
52 lines
2.1 KiB
HTML
<!doctype html>
|
|
<html lang="en" class="dark">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="color-scheme" content="dark light" />
|
|
<meta name="theme-color" content="#0a0b14" />
|
|
|
|
<!--
|
|
Restores a deep-link path that public/404.html encoded into the query
|
|
string on GitHub Pages (see that file). Must run before the SPA router
|
|
reads the URL. No-op everywhere else (including Tauri) since `?/` is only
|
|
ever present right after the 404 redirect.
|
|
-->
|
|
<script type="text/javascript">
|
|
(function (l) {
|
|
if (l.search[1] === '/') {
|
|
var decoded = l.search
|
|
.slice(1)
|
|
.split('&')
|
|
.map(function (s) {
|
|
return s.replace(/~and~/g, '&');
|
|
})
|
|
.join('?');
|
|
window.history.replaceState(null, null, l.pathname.slice(0, -1) + decoded + l.hash);
|
|
}
|
|
})(window.location);
|
|
</script>
|
|
|
|
<meta name="description" content="JSONPrism — disperse JSON into many formats. Convert to JSONL, CSV, YAML, XML, TOML, RESX, Markdown, SQL. Fully client-side, batch up to 500 files." />
|
|
<meta name="keywords" content="JSON, converter, JSONL, YAML, CSV, XML, TOML, RESX, Markdown, SQL, batch, offline" />
|
|
|
|
<!-- Open Graph -->
|
|
<meta property="og:title" content="JSONPrism — Disperse JSON into many formats" />
|
|
<meta property="og:description" content="A refracting tool for developers. One JSON input, eight target formats, fully in-browser." />
|
|
<meta property="og:type" content="website" />
|
|
|
|
<!--
|
|
Fonts: Instrument Serif (display) + Geist (body) + JetBrains Mono (code).
|
|
Self-hosted via @fontsource and imported in src/main.tsx so the app works
|
|
fully offline (desktop + Android sideload) with no third-party requests.
|
|
-->
|
|
|
|
<title>JSONPrism · Disperse JSON</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|