How reverie/yourworldoftext works
Your World of Text is a Django application for viewing and collaboratively editing large character worlds, with accounts, access controls, and world-specific features. The main workflow is a browser client polling for tile updates and submitting edits; server views enforce permissions and read or update lazily created 8×16 tiles. Configuration and tile properties support protected areas and links. The README documents client polling, while the sampled views show update, edit, configuration, and protection behavior. Some client/server details and unsampled routes are represented only where explicitly documented.
Main entry points: views.py World views · models.py Character tiles · yourworld.js World editor · urls.py URL routes
Components 13
Browser experience
- World editor
static/yourworld.js - Page templates
templates
Django web layer
- URL routes
urls.py - World views
ywot/views.py
World domain
- Access rules
ywot/permissions.py - Worlds
ywot/models.py - Character tiles
ywot/models.py - Edit history
ywot/models.py - World membership
ywot/models.py
Runtime configuration
- Application database
- Django settings
settings.py - Request helpers
helpers.py
Other components
- World visitor
Connections 15
- World visitor → World editor: edits world
README - World editor → World views: polls and submits
README - URL routes → World views: routes requests
urls.py - World views → Page templates: renders pages
ywot/views.py - World views → Access rules: checks access
ywot/views.py - World views → Worlds: loads and configures
ywot/views.py - World views → Character tiles: reads and edits
ywot/views.py - World views → World membership: manages membership
ywot/views.py - Character tiles → Edit history: records changes
ywot/models.py - Django settings → Application database: configures store
settings.py - Worlds → Application database: persists worlds
- Character tiles → Application database: persists tiles
- Edit history → Application database: persists history
- World membership → Application database: persists membership
- World views → Request helpers: renders with
ywot/views.py