Skip to main content

A game server for hosting text-based online MOO-like games.

Project description

DjangoMOO

"LambdaMOO on Django"

release pipeline coverage quality docs

DjangoMOO is a game server for hosting text-based online MOO-like games.

Quick Start

Checkout the project and use Docker Compose to run the necessary components:

git clone https://gitlab.com/bubblehouse/django-moo
cd django-moo
docker compose up

Run migrate, collectstatic, and bootstrap the initial database with some sample objects and users:

docker compose run webapp manage.py migrate
docker compose run webapp manage.py collectstatic
docker compose run webapp manage.py moo_init
docker compose run webapp manage.py createsuperuser --username phil
docker compose run webapp manage.py moo_enableuser --wizard phil Wizard

Now you should be able to connect to https://localhost/ and login with the superuser you just created, described below.

Login via Web

To make things easier for folks without SSH access or who are behind firewalls, the server interface is exposed through webssh.

WebSSH Client Example WebSSH Editor Example

This client is only able to open connections to the local SSH server.

Admin Interface

As a secondary way to view the contents of a running server, a Django Admin interface is available at /admin. It's really a last resort for most things:

Django Admin Example

Login via SSH

Of course, it's also possible (perhaps even preferred) to connect directly over SSH:

SSH Client Example

It's also possible to associate an SSH Key with your user in the Django Admin so as to skip the password prompt.

When you're done exploring, you can hit Ctrl-D to exit.

LambdaCore Attributions

This package is heavily derived from the LambdaMOO and LambdaCore documentation, including the LambdaCore Programmer's Manual and the LambdaMOO Programmer's Manual. The code was written without reading the original LambdaCore source; it is an independent reimplementation based on documented behavior and conventions.

Various verbs have been modified from their LambdaCore equivalents to better fit a Pythonic codebase: output uses print() rather than return values, property access follows Django ORM patterns, and permission idioms have been updated to account for differences in how this server dispatches verbs compared to LambdaMOO.

DjangoMOO could not have happened without the work of the following authors:

  • LambdaCore Database User's Manual (LambdaMOO 1.3, April 1991) Mike Prudence (blip), Simon Hunt (Ezeke), Floyd Moore (Phantom), Kelly Larson (Zaphod), Al Harrington (geezer)

  • LambdaCore Programmer's Manual (LambdaMOO 1.8.0p6, Copyright 1991) Mike Prudence (blip), Simon Hunt (Ezeke), Floyd Moore (Phantom), Kelly Larson (Zaphod), Al Harrington (geezer)

  • LambdaMOO Programmer's Manual (LambdaMOO 1.8.0p6, March 1997) Pavel Curtis (Haakon / Lambda)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_moo-0.94.4.tar.gz (568.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_moo-0.94.4-py3-none-any.whl (424.9 kB view details)

Uploaded Python 3

File details

Details for the file django_moo-0.94.4.tar.gz.

File metadata

  • Download URL: django_moo-0.94.4.tar.gz
  • Upload date:
  • Size: 568.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for django_moo-0.94.4.tar.gz
Algorithm Hash digest
SHA256 8d9b9f92dd8a97578e905e99f78e81cf65b97b058182b599526344ad6ecb42d2
MD5 90d81e845519043f3d828f3c969e84ea
BLAKE2b-256 0ece2e5816173a604510cb0f0ca91803dfedb27cff760620b167a7a65aa0b57b

See more details on using hashes here.

File details

Details for the file django_moo-0.94.4-py3-none-any.whl.

File metadata

  • Download URL: django_moo-0.94.4-py3-none-any.whl
  • Upload date:
  • Size: 424.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for django_moo-0.94.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2e882f40ca1e1131086821f9a8ba330f8fe0f7c4171beebd98d7c4666693b702
MD5 8e7d887e2489eb7fb28042ff25c9079a
BLAKE2b-256 f0883727c27eda9faaf5b6291e769fa881fbeb2e7fd8850ffe31a11891c8fc0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page