A Flask server for playing Lexicon
Go to file
Tim Van Baak 1c55d866a8 Reorganize parser and style pass 2021-06-11 23:55:52 -07:00
amanuensis Reorganize parser and style pass 2021-06-11 23:55:52 -07:00
tests membership unit test checks joinability and player limit; post.create() checks allow_post 2021-06-10 15:30:34 -07:00
.gitignore Refactor and annotate parser submodule 2020-04-21 12:52:02 -07:00
README.AMANUENSIS.md Minor cleanup 2020-04-29 21:58:57 -07:00
README.LEXICON.md Expand documentation 2020-01-27 09:55:54 -08:00
README.md Add icon to readme 2020-04-29 17:13:19 -07:00
default.nix Set up poetry project and nix packaging 2021-04-30 00:12:46 -07:00
mypy.ini Reorganize parser and style pass 2021-06-11 23:55:52 -07:00
poetry.lock Add mypy for type checking 2021-06-02 21:31:34 -07:00
pyproject.toml Reorganize parser and style pass 2021-06-11 23:55:52 -07:00
pytest.ini Add stopgap pytest.ini 2021-05-31 17:14:37 -07:00
shell.nix Set up poetry project and nix packaging 2021-04-30 00:12:46 -07:00
tox.ini Refactor and annotate parser submodule 2020-04-21 12:52:02 -07:00

README.md

Amanuensis

amanuensis, n. One who copies or writes from the dictation of another. -OED

Amanuensis is a web application using Flask on top of Python 3 for managing games of Lexicon, the worldbuilding RPG.

Lexicon in short

Lexicon is a role-playing game in which players take on the role of scholars. These scholars are collaborating on the construction of an encyclopedia describing some fantastic world or historical period. Each turn, players submit articles on some particular topic, citing other articles within the burgeoning encyclopedia. This process is complicated by three factors. First, some of the articles being cited will not exist at the time they are cited. Second, players may not cite themselves. Third, players may not contradict anything another player has said.

For more information on the game of Lexicon, see the Lexicon README.

Amanuensis in short

Amanuensis is the successor to Lexipython. Lexipython provides scripting to build lexicons from markdown files, but otherwise provides no solution for article intake or game hosting. The goal of Amanuensis is to provide centralized workflows for the entire game of Lexicon, from creating the game to writing articles for each turn to compiling the final product. Eventually, Amanuensis will be able to dump static files from a Lexicon game, at which point Lexipython will be discontinued.

For technical information on Amanuensis, see the technical README.

Running Amanuensis

Amanuensis is currently developed with Python 3.6 on Ubuntu. Some file locking code uses Linux-specific functionality. There are no plans at present to make the Amanuensis server run on Windows.

Most commands require that the --config-dir commandline argument point to a valid config directory. Use amanuensis init to create a config directory at the given location instead of loading one. The config directory contains private information, so it shouldn't be publicly visible. If an update to Amanuensis causes your config directory to be missing a required config value, run amanuensis init --update.

Amanuensis is installable as a package within a virtual environment using pip install -e . and runnable using python -m amanuensis. Currently, amanuensis run runs the default Flask development server, which is unsuited for visibility to the public Internet. If you run it, it should only be accessible on a secure local network. Before you can run the server, you will need to amanuensis generate-secret.