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

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

一覧 / 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 for folder protection.

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 view, list/thumbnail mode, search
UploadFiles, folders, drag-and-drop from Explorer / Outlook
EditText files with undo/redo; images with annotations or pixel tools
Protect foldersSession login + .protected marker (no Apache Basic Auth)
Field photosNon-destructive overlays saved as .rnote sidecar files

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.

Toolbar

ButtonAction
β¬… Back / ➑ ForwardSession history (left tree + center folder + right preview)
πŸ“Œ ShotMemoSave and restore named scenes (tree + folder + preview)
πŸ”„ ReloadRefresh listing
⬆ UploadPick one or more files
πŸ“‚ FolderUpload an entire folder
πŸ—‚οΈ List / πŸ–ΌοΈ ThumbList vs thumbnail view
πŸ“ 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
ROOTJump to root-proxy (if configured)

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. Photos & field annotations (.rnote)

Select jpg / png / gif / webp / bmp to open the image workspace.

πŸ“ Field annotations (recommended)

Does not change the original photo. Overlays are saved to photo.jpg.rnote (sidecar, like Lightroom XMP).

ToolUsage
➑ ArrowDrag to draw
πŸ“ TextClick, then type
β—‹ CircleDrag to draw ellipse
πŸ“ DimensionTwo clicks, then label (e.g. 3500mm)
🏷 StampClick to place (OK, NG, Pending, etc.)
πŸ’Ύ Save annotations (.rnote)Save overlays only

🎨 Pixel editing

Modifies the actual image file.

For site survey photos, prefer Field annotations to keep originals intact.

7. Typical file layout (standalone)

/public_html/                    ← document root (root-proxy scope)
β”œβ”€β”€ root-proxy.php               ← open R-Scope at domain root
β”œβ”€β”€ R-Scope.php                  ← file manager core
β”œβ”€β”€ R-Scope-manual-en.php        ← this guide
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ rscope.json              ← viewing password (hash)
β”‚   └── scopes.json              ← ShotMemo scenes, etc.
β”œβ”€β”€ lib/
β”œβ”€β”€ projects/
β”‚   └── .protected               ← protection marker (empty file OK)
└── photo.jpg
    photo.jpg.rnote              ← annotations (original unchanged)
    

8. FAQ

Q. Where are edited photos saved?

Annotation mode β†’ only filename.rnote; image unchanged.
Pixel edit + Save β†’ overwrites the image on the server.

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 to content 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 and canvas image tools).

Q. Board Room integration?

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