A small iOS 18+ app to open HTML files on your phone, edit the source and see the result. The Files app can't render HTML, this can.
No account, no server, no analytics. The only network request is the update check in Settings, and only when you tap it.
- Folders, new pages from a blank template, import from Files or iCloud Drive, rename, delete, multi-select
- Rendered preview in a WebView. Relative links and images next to the file work
- Edit the raw HTML, tap Preview to save and see it
- Same four themes as FileManager
- Version, changelog and update check in Settings
- English and German
Add this source (AltStore: Browse → Sources → Add Source):
https://raw.githubusercontent.com/xsxs18-dev/HTMLViewer/main/altstore-source.json
On the device you can also tap here. Use the raw.githubusercontent.com link, not the link to this page. AltStore PAL doesn't work, it only installs notarized apps.
Every push to main builds an unsigned IPA and publishes it as a release (build-N). Sign it with Sideloadly, AltStore or whatever you use.
Needs a Mac with Xcode and XcodeGen:
brew install xcodegen
git clone https://github.com/xsxs18-dev/HTMLViewer.git
cd HTMLViewer
xcodegen generate
open HTMLViewer.xcodeprojSet your signing team and build.
SwiftUI and WKWebView. Pages are loaded with their own folder as the base URL. The editor is a plain monospaced text view.
HTMLViewer/
├── App/ entry point
├── DesignSystem/ colors, spacing, themes
├── Models/ PageItem
├── Services/ FileSystemService, ThemeManager, UpdateChecker
├── Views/ file browser, preview/edit, Settings, Changelog
└── Resources/ assets, Info.plist, Localizable.xcstrings
project.yml XcodeGen project
- No Share Sheet support yet
- No syntax highlighting
- Files outside the page's own folder don't load
- No iPad layout yet
MIT, see LICENSE.