awesome.init – cli.atl.pm WordPress theme updates

>_
awesome.init – WordPress Theme


File
Edit
View
Help
Ready
cli.atl.pm

Architecture

  • Monolithic theme replacing separate plugins (CLImax, CRTline, hackimg, logic)
  • Pages auto-register as commands via slug, zero manual wiring
  • Progressive enhancement, works without JS, Lynx compatible base layer

Terminal UX

  • user@sitename:~$ prompt format
  • Command history using up/down arrows
  • Tab completion, prefix matching, context-aware inside directories
  • clear resets screen AND resets cwd
  • Empty enter prints a blank prompt line instead of silently ignoring
  • Hint “Type help to list commands” shown once per session via sessionStorage
  • Boot sequence skippable with Escape/Enter
  • Boot message defaults to site name, not theme name
  • Input placeholder applied from settings (was broken)
  • Typing speed 0 works as instant mode everywhere including 404

Filesystem / Directory System

  • Parent pages auto-detected as directories
  • cd, ls commands with full path navigation
  • Typing a directory slug auto-cds into it (for beginners)
  • Directory typed at root shows content + dim hint to cd
  • cd .., cd ~ navigation
  • Tab completion is context-aware per directory
  • (cd .. to return) hint after reading a post inside a directory
  • man works for all builtins via hardcoded docs map

Posts / Blog

  • posts command lists published posts
  • Blog page set in Settings → Reading auto-registers as a directory command
  • Posts appear as files inside that directory
  • Full post content shown when accessed, never excerpt
  • <!--more--> tags and read-more links stripped from all content

Pagination

  • | more style pagination for list commands only — ls, pages, posts, find, who
  • Content pages never paginate
  • Page size configurable in theme settings
  • Scroll behavior fixed – new content anchors to top of viewport not bottom

Search

  • find searches both pages and posts content now
  • find uses recursive tree walk instead of flat commands map

Conversation Trees

  • Stateful multi-turn conversations with full branch support
  • 0 as universal back key via navigation stack
  • Timeout + nudge line per node
  • Separated from easter egg commands – no overlap in dispatch

Admin Panel

  • 6-tab options panel – Terminal, Identity, CRT, Commands, Conversation, 404
  • Page size setting added
  • Boot message field defaults to site name, instead of theme name
  • Per-page command description meta box

Visual

  • CRT scanlines, SVG noise, scan beam, vignette
  • Phosphor color presets: green, amber, white, blue
  • Image CRT filter
  • Glitch effect optional
  • ASCII art field boot sequence – shown once per session

404 Page

  • Typewriter error message
  • Keypress/tap to redirect home
  • Guard added – keypress only fires after typing is complete

Performance

  • Transient caching on pages, posts, tree – 5 minute TTL
  • Single get_pages() shared between commands and tree builders
  • data.commands no longer duplicates content – tree is the single source

Security / Correctness

  • <!--more--> stripping applied consistently across commands and tree
  • Password-protected pages show (protected) in listings
  • Children of excluded parent pages also excluded
  • Pager calls drain() on end to clear any stuck queue

Fresh Install Experience

  • Empty terminal shows dim hint to create pages if no content found
  • awesome.init theme name never appears in UI – site name used throughout
Copyright 2013- © ATELUHM