Code for pronomen.lol https://pronomen.lol
Go to file
2015-07-04 01:46:21 +00:00
resources Remove invalid CSS, add generic to font stack 2015-06-16 18:37:46 +10:00
src/pronouns DRY up pages definition using minimum-unambiguous-path closes #16 (woo big negative line-count commit thanks @duckinator!) 2015-07-04 01:46:21 +00:00
.gitignore listen on the right pordt 2015-03-03 08:46:57 +00:00
Procfile initialize repo 2015-03-03 08:27:23 +00:00
project.clj include hiccup library and small functioning example, don't merge until it looks nice. 2015-03-13 19:34:43 -07:00
quickstart.sh nicer example modulo css 2015-03-13 20:39:54 -07:00
README.md include hiccup library and small functioning example, don't merge until it looks nice. 2015-03-13 19:34:43 -07:00

pronoun.is is a www site for showing people how to use pronouns

For users

You can use any pronouns you like simply by filling them into the url path. For example, http://pronoun.is/ze/zir/zir/zirs/zirself

That's pretty unwieldy! Fortunately you can also give it only the first pronoun or two: http://pronoun.is/she/her or http://pronoun.is/they

Automatically filling in the rest from only one or two forms only works for pronouns in the database. If the pronouns you or a friend uses aren't supported, please let us know and we'll add them. Alternatively you could add them yourself and submit a pull request (see the next section for details)

For developers

The database

The pronouns "database" is a tab-delimited file with fields and example values as follows:

subject object possessive-determiner possessive-pronoun reflexive
they them their theirs themself

If you edit it with a text editor, make sure your editor inputs real tab characters in that file (a thing your editor might normally be configured not to do!) In Emacs, you can input real tabs by doing Ctrl+q

Running the app in a dev environment

You can launch the app on your own computer by running the following commands:

$ lein uberjar
$ java -cp target/pronouns-standalone.jar clojure.main -m pronouns.web

Then browse to localhost:5000

You can also just run quickstart.sh which will do all of these things for you. Do it like this to get an example running on port 666

$ ./quickstart.sh 666