Your context

{{.Home}}

Your files are not your context. This is where you choose which of them become context on your network — everything else stays exactly where it is and is never read.

This is running as you, so what it can show is exactly what you can already open. It reads names, sizes and the date each thing last changed — it never opens a file and never reads what is inside one.

{{template "context" .}}
{{define "context"}}
{{if .Flash}}
{{.Flash}}
{{end}} {{/* WHAT IS ALREADY CONTEXT, FIRST. A page called "Your context" that opens with a file browser answers every question except the one in its title. */}}

What is context now

{{if .Held}} {{range .Held}} {{end}}
FolderHostIt mayRe-readsUntil
{{if .Readable}}{{.Root}}{{else}}(store {{.StoreID}} — this machine cannot read its record){{end}} {{.Host}} {{range .What}}{{.}} {{end}} {{.Sweep}} {{.Expires}}
{{end}} {{if .HeldNote}}

{{.HeldNote}}

{{end}} {{if .Map.Scanning}}

COUNTING UP YOUR FILES

{{.Map.Entries}} things counted, {{.Map.SeenSize}} so far · running for {{.Map.Running}}.

{{if .Map.SeenAt}}

{{.Map.SeenAt}}

{{end}}

It keeps going if you close this page. Come back and it will be here.

{{end}} {{if not .Map.HaveMap}} {{if not .Map.Scanning}}

NOTHING COUNTED YET

Counting walks your folders and adds up what is in them. On a big home directory that takes a while, and it runs in the background.

{{range .Map.RootNotes}}

{{.}}

{{end}}
{{end}} {{else}} {{if .Map.NotFound}}
That folder is not in what was counted. It may be new — count again to pick it up.
{{end}} {{/* THE ACCOUNTING FIRST, above the picture. Everything here is a way the map is INCOMPLETE, and a caveat under a pretty picture is a caveat nobody reads. Denied matters more on this surface than on the admin one: a folder you cannot read is the normal case for a person, not an anomaly. */}} {{if .Map.Capped}}
This stopped after {{.Map.CappedAt}} — there was more than it counts in one pass, so what is below that point was never looked at.
{{end}} {{if .Map.Cancelled}}
You stopped this one, so it is partial. What it had already counted is kept.
{{end}} {{if .Map.Denied}}
{{.Map.Denied}} things could not be read by you and are not counted here. That is the operating system saying no, and it is normal — some of your own folders are managed by applications. {{if .Map.DeniedPaths}}{{end}}
{{end}}
{{.Map.Total}} · {{.Map.Items}} things directly in here
{{.Map.SVG}}
{{if .Map.Path}} {{/* THE ASK. One folder, named, with what happens next said before the button rather than after it. "Share" would be a lie: nothing is shared by pressing this — a person on the host has to approve it with a code first. */}}

Make this folder part of your context

A bastion agent reads one folder on this machine, indexes it here, and answers questions about it with personal details removed. Your files do not move and nothing is copied off this computer.

Pressing this does not share anything. It sends a request. Somebody has to approve it on your host, with a code, before a single file is read.

{{end}} {{if .Map.Biggest}}

The biggest things here

{{range .Map.Biggest}} {{end}}
NameSizeShareKindChanged
{{if .Dir}}{{.Name}}{{else}}{{.Name}}{{end}} {{.Size}} {{.Kind}} {{.Modified}}
{{if .Map.MoreRow}}

and {{.Map.MoreRow}} more, all smaller than these.

{{end}} {{end}}
{{end}} {{if .Asks}}

What you have asked to add

These are requests you made. They are kept here so closing this window does not lose them; whether each was approved is the host's answer, not this machine's.

{{end}}

Checked {{.Map.CheckedAt}}.

{{end}}