โ† All projects
Experimental v0.1.0 Updated In development

Docs

A phone-first Nextcloud documents client with live collaborative editing.

KotlinAndroidNextcloudONLYOFFICE

Sign-in

Authentication uses Nextcloud Login Flow v2. The app opens the server's own login page, and the server returns an app password scoped to this client. The account password never passes through the app.

POST /index.php/login/v2
  -> poll endpoint + login URL
  -> app password on completion

LoginFlowClient.kt

Listing documents

The grid is populated from the mydocs file API rather than from WebDAV, so the server returns only Office documents already shaped for this view.

GET /apps/mydocs/api/files

NextcloudApi.kt

Opening for live edit

Tapping a document requests a JWT-signed editor configuration for that file id. The config is handed to the editor view, which joins the same collaborative session as any other client.

GET /ocs/v2.php/apps/eurooffice/api/v1/config/{fileId}
  -> JWT-signed editor config

DocsRepository.kt

Creating a document

New documents are created server-side and then opened through the same config path, so there is no local document format to keep in sync.

POST /apps/mydocs/api/create