awesome.init – cli.atl.pm WordPress theme updates
File
Edit
View
Help
Edit
View
Help
Ready
cli.atl.pm
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
clearresets 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,lscommands 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 directorymanworks for all builtins via hardcoded docs map
Posts / Blog
postscommand 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
| morestyle 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
findsearches both pages and posts content nowfinduses recursive tree walk instead of flat commands map
Conversation Trees
- Stateful multi-turn conversations with full branch support
0as 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.commandsno 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.inittheme name never appears in UI – site name used throughout
