For the Galaxy Z Fold 7

Read your repo
on the half that unfolds.

A native document renderer and on-device git client — the reading half of a laptop-free development loop. Browse a repository, render everything in it, then clone, diff, commit and push. Unfolded: file tree left, document right.

Free · direct .apk, no unzipping · Android · v0.6.3

repo
  • ▾ render/
  • ▾ app/src/
  • README.md
  • MainActivity.kt
  • Renderer.kt
  • ▾ docs/
  • design.md
  • bench.csv
  • notebook.ipynb
  • CHANGELOG.md
README.mdserif · 15pt

FoldRender

Phases 1–4 · native Compose

A document renderer for the Samsung Galaxy Z Fold 7 — the reading half of a laptop-free development loop.

// folding is a pure relayout
LazyColumn { blocks.forEach { Block(it) } }
// activity never restarts
▸ A 5 MB document composes only what is on screen.
The engineering choice

A WebView is cheap to build and expensive every day after.

Markdown in a WebView takes an afternoon. Then text selection is the browser's, theming is a stylesheet fight, and every fold is a full page reflow. FoldRender parses to a block list instead.

WebView
  • Text selection belongs to the browser, not you
  • Theming is a stylesheet fight on every surface
  • Every fold / unfold triggers a page reflow
  • Scroll position jumps when the device changes shape
FoldRender · commonmark-java → LazyColumn
  • A 5 MB doc composes only what's on screen
  • Folding is a pure relayout — the activity never restarts
  • configChanges covers every axis; scroll never moves
  • Native selection, native theming, native speed
What it does

Everything in the repo, rendered to read.

01

Markdown, done properly

CommonMark + GFM: tables with alignment, task lists, strikethrough, autolinks and YAML front matter — plus mermaid, LaTeX and callouts.

02

Code that reads like code

Syntax-highlighted blocks with a copy button and horizontal scroll. Images resolve against relative paths in the document.

03

Git in your pocket

An on-device git client: clone, pull, diff, commit and push. Optional Sign in with GitHub via device flow.

04

Built for the hinge

Unfolded, a two-pane layout: file tree left, document right. An outline pane appears when there's width, a bottom sheet when there isn't.

05

A real reading surface

Theme, text size, line width and a serif toggle. Per-document scroll position, restored on reopen. Links stay tappable inside a selection.

06

Opens from everywhere

Registers for markdown, plain text and the share sheet — so Files, Drive, GitHub and Termux all offer FoldRender.

One viewer

It renders all of it.

No more bouncing between a markdown app, a code viewer and a PDF reader. One native surface for the whole repository.

MarkdownMermaidLaTeX Source codeJSONYAML TOMLCSVImages PDFHTMLLogs Jupyter notebooks
Questions

Before you download.

What phone does FoldRender run on?

It's built for the Samsung Galaxy Z Fold 7 and other large foldables. Unfolded it shows a file tree on the left and the rendered document on the right; folded it collapses to a single reading column. It runs on any modern Android device — the two-pane layout simply appears when there's width for it.

Why native Compose instead of a WebView?

A WebView makes text selection the browser's, turns theming into a stylesheet fight, and reflows the whole page on every fold. FoldRender parses markdown to a block list that feeds a LazyColumn, so a 5 MB document only composes what's on screen and folding the device is a pure relayout — the activity never restarts and scroll position never moves.

Can it actually push to GitHub from the phone?

Yes. FoldRender includes an on-device git client — clone, pull, diff, commit and push — plus optional Sign in with GitHub via device flow. It's the reading and reviewing half of a laptop-free development loop.

How much does it cost?

It's free. Download the latest app-debug.apk directly from GitHub Releases — no unzipping, no account required to read.

What file types can it render?

Markdown (tables, task lists, front matter, mermaid, LaTeX, callouts), syntax-highlighted source, JSON, YAML, TOML, CSV, images, PDF, HTML, plain logs and Jupyter notebooks.

Close the laptop

The reading half is already in your pocket.