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.
| Feature | Description |
|---|---|
| Browse & organize | Tree, list/thumbnail/details views, search, up to 3 pane views |
| Upload | Files, folders, drag-and-drop from Explorer / Outlook |
| Non-destructive layers | Originals unchanged Β· overlays in filename.rnote |
| Edit | Image / PDF / text (md) / video & audio editors |
| Distribution output | π¨οΈ Print β composite PNG/JPG/PDF as new files (originals intact) |
| ZIP | Browse inside ZIP archives, compress / extract |
| Protect folders | Session login + .protected marker |
2. Standalone deployment (root-proxy)
On lab.rnote.jp and similar setups, open:
https://lab.rnote.jp/root-proxy.php
How it works
| File | Root scope |
|---|---|
root-proxy.php | Entire document root (domain root) |
scope-proxy.php | Only the folder where the proxy file lives |
R-Scope.php | Same folder as R-Scope.php (direct access) |
First-time setup
- Open
root-proxy.php(orR-Scope.php). - Click π Password and set the shared access password.
- 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
| Button | Action |
|---|---|
| β¬ Back / β‘ Forward | Session history (left tree + center folder + right preview) |
| π ShotMemo | Save and restore named scenes (tree + folder + preview) |
| π Reload | Refresh listing |
| β¬ Upload / π Folder | Upload files or an entire folder |
| β Views / βΊ Reset | Add scope panes / reset saved views |
| View icons (4) | Compact / Large icons / Thumbnails / Details (Cat, Desc, Size, Perms, Date) |
| π New Folder / π New File | Create items |
| π·οΈ Rename / ποΈ Delete | Rename or remove |
| π Protect / π Unprotect | Add/remove .protected marker (viewing restriction, not delete prevention) |
| π Password | Shared viewing password stored in config/rscope.json |
| π Manual | This 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).
Text editing
Open .txt .md .php .html etc. in the built-in editor.
- πΎ Save β writes file (creates
.bakbackup first) - β© Undo / βͺ Redo β or Ctrl+Z / Ctrl+Y
4. Copying files (drag & drop)
Drag from Windows Explorer or Outlook onto the center pane or preview area.
- Select the destination folder in the left tree.
- Drop files or folders onto the highlighted blue area.
- Folder structure is preserved when dropping a whole folder.
5. Folder protection & viewing password
The standalone edition uses two separate mechanisms. The toolbar buttons look similar but do different jobs.
| Button | Role | Stored 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 |
How the two pieces fit together
config/rscope.json?No login screen; anyone can use the app fully.
β»
.protected markers have no effect until you set π Password first.Login screen is shown
.protected?List, preview, edit OK
βPassword Requiredβ
(with a password configured, login usually clears this)
List, preview, download OK
β» Delete and upload are still allowed after login (not read-only)
Recommended setup order
- π Password β set the shared viewing password (required; without it,
.protecteddoes nothing) - Select a folder β π Protect (creates an empty
.protectedmarker file) - Visitors without a session are prompted when they try to open protected paths
- π Unprotect removes the marker when no longer needed
What protection blocks (and what it does not)
| Blocked when not logged in | Not 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.
| Type | Original | Sidecar |
|---|---|---|
| Image | photo.jpg | photo.jpg.rnote |
drawing.pdf | drawing.pdf.rnote | |
| Text | memo.md | memo.md.rnote |
| Video / audio | meeting.mp4 | meeting.mp4.rnote |
Layer panel
Open the Layers drawer on the right side of each editor.
- Base β show/hide and opacity of the original
- Image overlay β stack another image on top
- Annotation layers β arrows, text, circles, dimensions, stamps, whiteout
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).
.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).
| Tool | Usage |
|---|---|
| β‘ Arrow / π Text / β Circle / π Dimension / π· Stamp | Draw or click on the canvas |
| Whiteout | Cover areas (annotation layer) |
| πΎ Save annotations | Writes .rnote only |
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
- Edit source β edit the file directly (πΎ Save updates original +
.bak) - Markup β annotation layers on the rendered view (
.rnote) - Cover β whiteout regions
β© Undo / βͺ Redo β Ctrl+Z / Ctrl+Y.
7-4. Video & audio (mp4 / webm / mp3, etc.)
- Preview β in-browser playback
- Trim β cut a segment (ffmpeg-wasm; first load may take a moment)
- π Markup β timed text/stamps linked to playback position (
.rnote). πΎ Save, then play to verify
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.
| Destination | Description |
|---|---|
| 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.
9. ZIP archives
- Select a ZIP to browse contents without extracting (virtual path
archive.zip/β¦) - Right-click to compress folders/files or extract ZIPs
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.