pathless

package module
v0.10.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: Unlicense Imports: 4 Imported by: 0

README

pathless

is a closed system.

sequence

pathless is an entity with a single purpose.

pathless prepares one artifact to be used from memory for every request. It has no runtime state, no session awareness, no opinion about content. It is a boundary. It knows how to hold applications without knowing what those applications are. The server's responsibility ends at delivery.

pathless allocates observable space.

frame's are a finite pool of simulataneously observable content.

The domain is the application.

A request arrives, bytes go out. That is the entirety of its runtime existence. The client arrives as those bytes. Two primitives govern the model.

space: where we observe frames.

Each space maintains independent state for each frame.

frame: observable object.

frame is the factory for building pathless frames. It handles the construction and delivery of frames, assets, and constants. The dependency flows one way.

The keyboard is a live reflection of the systems keys, which layout is active, which panel holds focus. When a frame is focused, its script executes. The frame registers its own keys, reads its own state, and runs. When focus moves, those keybindings are released. When focus returns, the script re-executes and resumes. Nothing is lost — state is preserved per space, per frame.

Inputs are the interface. The keyboard is the thread that runs through all three. Universal keys + frame keys that come and go with focus, state is what makes the system feel continuous. When focus moves, state is preserved. When a frame returns, it resumes. Only the client holds state for the life of the session. The session is the application. The seams are invisible by design.

The dependency flows are pre-established and then silent. What the user encounters is a single continuous surface: a domain, a keyboard, panels that respond.

Documentation

The window.pathless object provides the API coordinating between space, frame, and state.


layouts

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pathless

type Pathless struct {
	*zero.Zero
	*fx.Fx
	*one.One
}

Pathless is the top-level application, composed of its three layers:

  • zero: compiles the HTML shell, assets, and templates
  • fx: encodes content into the wire format and manages routes
  • one: serves the HTML shell on :1000 and the wire gateway on :1001

func NewPathless

func NewPathless(args ...string) *Pathless

NewPathless constructs a Pathless application.

Development — call with no arguments:

p := pathless.NewPathless()

Ports 1000 and 1001 are used on localhost. CORS is open (*).

Production — call with origin and circuit:

p := pathless.NewPathless("timefactory.io", "api.timefactory.io")

The HTML shell is served from origin; the wire gateway is served from circuit. CORS on the gateway is restricted to origin. HTTPS is assumed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL