How aboard-io/tinylittleoffice works
Tiny Little Office is a browser-based, account-free office suite in which a document is encoded in its URL fragment. The main workflow is to open a link, edit in one of ten app-specific editors, and share the changed link; optional capabilities include local saving, encrypted short links, social preview cards, exports, and an agent-facing API. The graph groups app editors by product domain and shows the shared route, codec, and shell layers. Some unsampled subsystems are included from the README and source index; their internal wiring is not inferred.
Main entry points: apps.ts App registry · shell.ts App shell · codec.ts Document codec · route.ts Link routing
Components 23
Office apps
- Word processor
src/apps/write/view.ts - Outliner
src/apps/outline/editor.ts - Presentation builder
src/apps/deck/editor.ts - Spreadsheet
src/apps/sheet/editor.ts - Calculator
src/apps/calc/editor.ts - Drawing tool
src/apps/draw/editor.ts - Diagram maker
src/apps/diagram/editor.ts - Animator
src/apps/anim/editor.ts - Calendar
src/apps/cal/editor.ts - Trip planner
src/apps/trip/editor.ts
Document runtime
- App shell
src/kit/core/shell.ts - App registry
src/kit/core/apps.ts - Link routing
src/kit/core/route.ts - Document codec
src/kit/core/codec.ts - Command system
src/kit/core/commands.ts - Text editing
src/kit/text/text.ts
Sharing and privacy
- Privacy and sharing
src/kit/share/locked.ts - File exports
src/kit/file/exports.ts
Interfaces and hosting
- Agent API
src/api.ts - Site pages
site/site.ts - Self-host server
selfhost/server.ts - Preview cards
tinier/cards.ts
Other components
- Document user
Connections 23
- Document user → App shell: opens link
- App shell → Link routing: reads fragment
- Link routing → Document codec: checks payload
src/kit/core/route.ts - App shell → App registry: selects app
- App registry → Word processor: offers app
- App registry → Outliner: offers app
src/apps/outline/editor.ts - App registry → Presentation builder: offers app
- App registry → Spreadsheet: offers app
- App registry → Calculator: offers app
- App registry → Drawing tool: offers app
- App registry → Diagram maker: offers app
- App registry → Animator: offers app
- App registry → Calendar: offers app
- App registry → Trip planner: offers app
- App shell → Document codec: encodes edits
- App shell → Command system: forwards actions
- Text editing → Document codec: copies links
- Document user → Privacy and sharing: chooses privacy
- Document user → File exports: downloads file
- Document user → Agent API: uses agent access
- Document user → Site pages: opens site
- Document user → Self-host server: self-hosts
- Privacy and sharing → Preview cards: saves preview