Files
timmy-home/evennia/timmy_world/web/webclient/README.md
Alexander Whitestone 9c1dd7fff7 chore: check in all local work — uniwizard, briefings, reports, evennia, morrowind, scripts, specs, training data, angband MCP, diagrams, twitter archive, wizards
- Resolve decisions.md merge conflict (keep both Codex boundary + Ezra/Bezalel entries)
- Update .gitignore: protect bare secret files, exclude venvs and nexus-localhost
- Add uniwizard tools (mention watcher, adaptive prompt router, self-grader, classifiers)
- Add briefings, good-morning reports, production reports
- Add evennia world scaffold and training data
- Add angband and morrowind MCP servers
- Add diagrams, specs, test results, overnight loop scripts
- Add twitter archive insights and media metadata
- Add wizard workspaces (allegro, nahshon)
2026-03-30 17:18:09 -04:00

1.1 KiB

Webclient Views

The webclient is mainly controlled by Javascript directly in the browser, so you usually customize it via mygame/web/static/webclient/js/ - files instead.

There is very little you can change from here, unless you want to implement your very own client from scratch.

On views

A 'view' is python code (a function or callable class) responsible for producing a HTML page for a user to view in response for going to a given URL in their browser. In Evennia lingo, it's similar in function to a Command, with the input/args being the URL/request and the output being a new web-page.

The urls.py file contains regular expressions that are run against the provided URL - when a match is found, the execution is passed to a view which is then responsible (usually) for producing the web page by filling in a template - a HTML document that can have special tags in it that are replaced for dynamic content. It then returns the finished HTML page for the user to view.

See the Django docs on Views for more information.