πŸ“– R-Scope User Guide (Standalone)

Standalone edition Β· v2.2.3 Β· 2026/06/06

一覧 / All ζ—₯本θͺžοΌˆε˜η‹¬οΌ‰ English ζ—₯本θͺžοΌˆBoard RoomοΌ‰
← Back to R-Scope R-Scope.php root-proxy.php

1. Overview

R-Scope is a browser-based file manager for your web server. It runs as a single PHP application β€” no Apache .htpasswd required β€” with non-destructive layer annotations on photos, PDFs, text, and video/audio via .rnote sidecar files.

This guide covers the standalone deployment (e.g. https://lab.rnote.jp/root-proxy.php), where R-Scope manages files from your site's document root.

FeatureDescription
Browse & organizeTree, list/thumbnail/details views, search, up to 3 pane views
UploadFiles, folders, drag-and-drop from Explorer / Outlook
Non-destructive layersOriginals unchanged Β· overlays in filename.rnote
EditImage / PDF / text (md) / video & audio editors
Distribution outputπŸ–¨οΈ Print β€” composite PNG/JPG/PDF as new files (originals intact)
ZIPBrowse inside ZIP archives, compress / extract
Protect foldersSession login + .protected marker
Design principle: Contract PDFs and field photos are never overwritten. Use πŸ–¨οΈ Print only when you need a separate composite file for sharing.

2. Standalone deployment (root-proxy)

On lab.rnote.jp and similar setups, open:

https://lab.rnote.jp/root-proxy.php

How it works

FileRoot scope
root-proxy.phpEntire document root (domain root)
scope-proxy.phpOnly the folder where the proxy file lives
R-Scope.phpSame folder as R-Scope.php (direct access)
First time: β‘  Set πŸ”‘ Password (shared viewing password) β†’ β‘‘ πŸ”’ Protect folders that need it. See Β§5 Folder protection & password for the full flow.

First-time setup

  1. Open root-proxy.php (or R-Scope.php).
  2. Click πŸ”‘ Password and set the shared access password.
  3. Select a folder β†’ πŸ”’ Protect to require login for that folder and its contents.

3. Interface

Three panes: left folder tree Β· center file list Β· right preview. Use βž• Views for up to three side-by-side scopes.

Toolbar

ButtonAction
β¬… Back / ➑ ForwardSession history (left tree + center folder + right preview)
πŸ“Œ ShotMemoSave and restore named scenes (tree + folder + preview)
πŸ”„ ReloadRefresh listing
⬆ Upload / πŸ“‚ FolderUpload files or an entire folder
βž• Views / β†Ί ResetAdd scope panes / reset saved views
View icons (4)Compact / Large icons / Thumbnails / Details (Cat, Desc, Size, Perms, Date)
πŸ“ New Folder / πŸ“„ New FileCreate items
🏷️ Rename / πŸ—‘οΈ DeleteRename or remove
πŸ”’ Protect / πŸ”“ UnprotectAdd/remove .protected marker (viewing restriction, not delete prevention)
πŸ”‘ PasswordShared viewing password stored in config/rscope.json
πŸ“– ManualThis guide (JP / EN)

Each scope header shows a breadcrumb of the current folder. Selecting a folder shows a meta strip (item count, size, dates). .rnote sidecar rows appear linked to their base file.

Context menu (right-click)

ZIP compress/extract, rename, permissions, delete, protect/unprotect, and more.

ShotMemo (named scenes)

Save the current left tree + center folder + right preview under a name, then click Go later to restore that checkpoint. Stored in config/scopes.json (scenes array).

vs β¬… Back: Back/Forward is for stepping through your current session. ShotMemo is for jumping to a checkpoint from days or months ago.
After Go: β¬… Back history starts fresh from the restored scene β€” you cannot undo back to before the restore (by design). Save another ShotMemo before jumping if you may want to return.

Text editing

Open .txt .md .php .html etc. in the built-in editor.

4. Copying files (drag & drop)

Drag from Windows Explorer or Outlook onto the center pane or preview area.

  1. Select the destination folder in the left tree.
  2. Drop files or folders onto the highlighted blue area.
  3. Folder structure is preserved when dropping a whole folder.
Outlook attachments and inline images usually work. If not, save to disk first, then drag from Explorer.
Empty folders are not copied β€” only folders that contain files.

5. Folder protection & viewing password

The standalone edition uses two separate mechanisms. The toolbar buttons look similar but do different jobs.

ButtonRoleStored in
πŸ”‘ Password App entry password (shared viewing password). Once set, visitors must log in before using R-Scope at all. config/rscope.json
πŸ”’ Protect / πŸ”“ Unprotect Marks a folder as β€œpassword required”. Does not prevent deletion. Blocks listing, preview, and download when not logged in. folder/.protected
Standalone model: There is no board-member vs general-member split (unlike the optional Board Room portal). Anyone who knows the password gets the same full access after login β€” including delete, upload, and edit (not view-only). Finer roles are planned for v2.3.

How the two pieces fit together

Visitor opens R-Scope
↓
Is a viewing password set in config/rscope.json?
No
No login screen; anyone can use the app fully.
β€» .protected markers have no effect until you set πŸ”‘ Password first.
Yes
Login screen is shown
↓ (login success)
Session established β€” R-Scope is usable
↓
Does the target folder (or a parent) have .protected?
No
List, preview, edit OK
Yes, not logged in
β€œPassword Required”
(with a password configured, login usually clears this)
↓
Protected folder + logged in
List, preview, download OK
β€» Delete and upload are still allowed after login (not read-only)

Recommended setup order

  1. πŸ”‘ Password β€” set the shared viewing password (required; without it, .protected does nothing)
  2. Select a folder β†’ πŸ”’ Protect (creates an empty .protected marker file)
  3. Visitors without a session are prompted when they try to open protected paths
  4. πŸ”“ Unprotect removes the marker when no longer needed

What protection blocks (and what it does not)

Blocked when not logged inNot blocked
Folder listing, file preview, download Not delete prevention β€” after login, πŸ—‘οΈ Delete still works

Your original files are never modified by protection β€” only visibility through R-Scope is restricted. Folders in the list show a leading πŸ”’ when protected.

6. Non-destructive layers (.rnote)

Annotations on images, PDFs, text, and video/audio are stored in a sidecar file. Example: photo.jpg β†’ photo.jpg.rnote. The original is never modified.

TypeOriginalSidecar
Imagephoto.jpgphoto.jpg.rnote
PDFdrawing.pdfdrawing.pdf.rnote
Textmemo.mdmemo.md.rnote
Video / audiomeeting.mp4meeting.mp4.rnote

Layer panel

Open the Layers drawer on the right side of each editor.

Each layer supports visibility, opacity, order, and lock.

πŸ‘ Overlay ON/OFF

The πŸ‘ button in the mode bar toggles overlay preview. When OFF, you see the original only β€” and πŸ–¨οΈ Print / export uses the same setting (useful before distribution).

πŸ’Ύ Save annotations always updates .rnote only. Originals stay intact.

7. Editors

7-1. Images (jpg / png / gif / webp / bmp)

πŸ“ Field annotations (recommended) β€” original unchanged. Draw on layers β†’ πŸ’Ύ saves .rnote only.

🎨 Pixel edit β€” resize, adjustments, crop, rotate. Modifies the image file itself (overwrite or save as).

ToolUsage
➑ Arrow / πŸ“ Text / β—‹ Circle / πŸ“ Dimension / 🏷 StampDraw or click on the canvas
WhiteoutCover areas (annotation layer)
πŸ’Ύ Save annotationsWrites .rnote only
For survey and evidence photos, use Field annotations to keep originals intact.

7-2. PDF

Rendered with PDF.js. Page through the document and mark up with the same tools as images. Cover mode for whiteout. πŸ’Ύ saves to drawing.pdf.rnote.

7-3. Text / Markdown

↩ Undo / β†ͺ Redo β€” Ctrl+Z / Ctrl+Y.

7-4. Video & audio (mp4 / webm / mp3, etc.)

In Markup mode, πŸ‘ toggles mark visibility during preview.

8. Print & export (πŸ–¨οΈ Print)

Use πŸ–¨οΈ Print in the image, PDF, and text editors to output a composite. Originals and .rnote sidecars are never modified.

DestinationDescription
Printer…System print dialog (network printers supported)
Save on server…Save as a new file on the server β†’ preview opens; you can add a fresh .rnote
Download to PC…Download to your computer

Formats: PNG / JPEG / GIF / PDF (multi-page PDF supported).

Include layer annotations syncs with πŸ‘. When OFF, export uses the original only.

For a shareable PDF/PNG: save annotations β†’ πŸ‘ ON β†’ πŸ–¨οΈ Print β†’ Save on server or Download.

9. ZIP archives

10. Typical file layout (standalone)

/public_html/                    ← document root (root-proxy scope)
β”œβ”€β”€ root-proxy.php
β”œβ”€β”€ R-Scope.php
β”œβ”€β”€ R-Scope-manual-en.php        ← this guide
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ rscope.json              ← viewing password (hash)
β”‚   └── scopes.json              ← ShotMemo, view restore, etc.
β”œβ”€β”€ lib/                         ← R-Scope core JS/PHP
└── projects/
    β”œβ”€β”€ .protected
    β”œβ”€β”€ photo.jpg
    β”œβ”€β”€ photo.jpg.rnote          ← image annotations
    β”œβ”€β”€ drawing.pdf
    β”œβ”€β”€ drawing.pdf.rnote        ← PDF annotations
    └── meeting.mp4
        meeting.mp4.rnote        ← video markup
    

11. FAQ

Q. Where are edits saved?

Layer annotations β†’ .rnote only.
Pixel edit / text Save β†’ overwrites original (with .bak).
πŸ–¨οΈ Print β†’ new file with a different name.

Q. Print when πŸ‘ is OFF?

Output is the original only. Turn πŸ‘ ON (or check Include layer annotations in the Print dialog) for a composite with layers.

Q. Forgot the viewing password?

Clear password_hash in config/rscope.json on the server, or β€” if you can still log in β€” set a new password with πŸ”‘ Password.

Q. Does πŸ”’ Protect prevent deletion?

No. It hides / blocks access when not logged in. After login, delete and upload still work.

Q. root-proxy vs R-Scope.php?

Both load the same app. root-proxy.php sets the root to the entire document root. R-Scope.php uses its own directory as root.

Q. Recommended browser?

Chrome or Edge (folder drag-and-drop, canvas, PDF.js, ffmpeg-wasm).

Q. Board Room integration?

Optional portal for housing associations (NEWS + folder browser). See the Japanese Board Room guide on welv51.org.