pathless

package module
v0.10.11 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Unlicense Imports: 2 Imported by: 0

README

pathless

is a closed system.
p := pathless.NewPathless()
// <- frames ->
// p.Frame() accepts local path to html file or https
// Templates via p.Text(), p.Slides()...
// <- frames ->
p.Start()
p := pathless.NewPathless()
// source bytes using p.Input() 
// serve bytes using p.Input() -> p.Route()
p.Start() 
p := pathless.NewPathless() // pathless.NewPathless("domain", "api.domain")
p.Start() 
package main

import "github.com/timefactoryio/pathless"

func main() {
    p := pathless.NewPathless()
    p.Text("./readme.md")
    p.Slides("./pics")
    p.Frame("./custom.html")
    p.Start() // execute everything after p := pathless.NewPathless()
}

primitives

space: where we observe objects.
frame: observable object.
frames: simultaneously observable objects.

sequence

Three layers, one direction:

  • zero — compiles the HTML shell and the universe payload from embedded sources
  • fx — sources content into frames, panels, and routes; no wire format, no HTTP
  • one — encodes the wire format, then serves the shell on :1000 and the wire gateway on :1001

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pathless

type Pathless struct {
	fx.Fx
}

func NewPathless

func NewPathless(args ...string) *Pathless

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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