All Projects → emanchado → Narrows

emanchado / Narrows

Licence: bsd-3-clause
Online storytelling system

Programming Languages

elm
856 projects

Projects that are alternatives of or similar to Narrows

rpnow
The Do-It-Yourself Roleplay Chat Solution
Stars: ✭ 22 (-79.82%)
Mutual labels:  rpg, storytelling, writing
200wordrpg.github.io
Homepage for the 200 Word RPG Challenge
Stars: ✭ 31 (-71.56%)
Mutual labels:  rpg, writing
Gonorth
GoNorth is a story and content planning tool for RPGs and other open world games.
Stars: ✭ 289 (+165.14%)
Mutual labels:  storytelling, rpg
Readteractive
Tool for writing and generating interactive books.
Stars: ✭ 23 (-78.9%)
Mutual labels:  storytelling, writing
Tokentool
TokenTool removes much of the tedium from creating tokens for use with MapTool or your favorite online gaming application. Just drag an image into the background, select a frame, zoom and pan to suit, and drag off a finished token. The resulting token is transparent around the edges and cropped to the size you wanted.
Stars: ✭ 96 (-11.93%)
Mutual labels:  rpg
Cotwelm
Castle of the Winds (A Remake in Elm)
Stars: ✭ 88 (-19.27%)
Mutual labels:  rpg
1 Character Movement
The first section of the course. You will learn everything required to build a simple movement system in your RPG, creating the core experience. http://gdev.tv/rpggithub
Stars: ✭ 81 (-25.69%)
Mutual labels:  rpg
Pandoc Sidenote
Convert Pandoc Markdown-style footnotes into sidenotes
Stars: ✭ 78 (-28.44%)
Mutual labels:  writing
Idlerpg
A fantasy RPG bot for Discord.
Stars: ✭ 108 (-0.92%)
Mutual labels:  rpg
Research Advice List
A compilation of research advice.
Stars: ✭ 103 (-5.5%)
Mutual labels:  writing
Blades In The Dark Srd Content
SRD for the Blades in the Dark RPG
Stars: ✭ 95 (-12.84%)
Mutual labels:  rpg
Writing It Books
프로그래머의 책쓰기: 나도 IT 책 잘 쓰면 소원이 없겠네!
Stars: ✭ 90 (-17.43%)
Mutual labels:  writing
Pocket Manual
💡 The place for thinking and writing.
Stars: ✭ 99 (-9.17%)
Mutual labels:  writing
Crd3
The repo containing the Critical Role Dungeons and Dragons Dataset.
Stars: ✭ 83 (-23.85%)
Mutual labels:  storytelling
Binder
Emacs global minor mode facilitating multi-file writing projects
Stars: ✭ 104 (-4.59%)
Mutual labels:  writing
Typenovel
A simple markup language to write novel with types.
Stars: ✭ 80 (-26.61%)
Mutual labels:  writing
Storymap Cascade
The Story Map Cascade℠ app lets you combine narrative text with maps, images, and multimedia content in an engaging, full-screen scrolling experience.
Stars: ✭ 92 (-15.6%)
Mutual labels:  storytelling
Bytearray.js
An equivalent to Actionscript 3's ByteArray for Javascript with AMF0 and AMF3 support.
Stars: ✭ 100 (-8.26%)
Mutual labels:  writing
Mural
Mural is a tool for visual storytelling. It’s a program that helps you sequence your visual story, and then generates everything needed for that story to be displayed on most modern web browsers and served from any web server.
Stars: ✭ 92 (-15.6%)
Mutual labels:  storytelling
Srd spells
A JSON formatted list of all the spells from the 5e SRD
Stars: ✭ 91 (-16.51%)
Mutual labels:  rpg

NARROWS

NARROWS is an online storytelling system. The name stands for NARRation On Web System. The easiest way to explain it is to imagine an online Choose Your Own Adventure book with the following differences:

  1. Instead of having a single reader, there are as many readers as protagonists in the story (it could be one, but also four or five).
  2. Instead of having to choose between two or three preset choices after each "chapter", readers can write in a textbox whatever their characters do.
  3. Instead of the narrator writing the whole story with all possible branches upfront, then give it to the readers; the narrator writes only one chapter at a time and waits for the readers to submit the "actions" for their characters. Based on those actions, the narrator writes the next chapter.

You can also think of it as a way of running ruleless, diceless RPGs online (which is indeed the reason why I wrote it in the first place).

Installation

NARROWS is a web application with a backend. As such, it needs a server connected to the internet to be used. To install you need to run the following steps:

  1. Clone the code somewhere.
  2. Make sure you have Node.js (at least version 6) and NPM (at least version 4).
  3. Run npm install
  4. Run npm install -g [email protected]
  5. Run elm-package install
  6. Run npm run build
  7. Install MySQL, create a new user and an empty MySQL database. Make sure the new user has all privileges to that database.
  8. Copy config/default.js to config/local-production.js and modify any values you need.
  9. Run NODE_ENV=production npm run dbmigrate
  10. Run NODE_ENV=production node build/index.js

If all this works you will have to find a way to keep the server running, eg. supervisor.

Updating the code

Every time you update the code you will have to install any new dependencies with:

npm install

And run any new migrations with the following command. Note that you might need to pass the NODE_ENV variable as in the installation instructions above:

npm run dbmigrate

Then you will have to recompile the frontend and backend code with:

npm run build

Running the tests

To be able to run the tests you need to create two test databases: the main one, and the "user storage" one. For the first one you have the settings in config/test.js. The second one is the same, except for the database name, which is narrows-userstore-test.

Once you have the two databases created and the test user created and have given access to them, you can run the tests by typing:

npm t

Docker

This repo includes a Dockerfile for building a deployable image. It also contains a docker-compose.yaml suitable for quickly getting a local copy running. The Dockerfile and compose file have been used (with modification) to host a production version of the app.

To get going with docker-compose:

docker-compose create && docker-compose up -d

If you want to host it publicly and setup e-mail, add the appropriate Docker environment variables from below:

  • PORT: port to listen to.
  • PUBLIC_ADDRESS: used to generate URLs in e-mails.
  • DB_HOST: MySQL hostname/IP.
  • DB_USER: MySQL username.
  • DB_PASSWORD: MySQL password.
  • DB_NAME: database name.
  • FROM_EMAIL: e-mail address to send from. e.g. "Narrows" <[email protected]>.
  • NODEMAILER: a nodemailer URI configuration string, e.g. smtps://user:[email protected]/?secure=true.

Note: NODEMAILER URI strings need to URI escape special characters within username/password. For example, usernames often contain @, and AWS SES passwords often contain /.

Credits

Icons/graphics

  • Speaker/mute icons made by Madebyoliver, from Flaticon. They are licensed under Creative Commons BY 3.0.
  • Trash icon by Freepik, from Flaticon. Licensed under Creative Commons BY 3.0.
  • Add/plus icon, message icon, user icon, info icon and edit icon by Lucy G, from Flaticon. Licensed under Creative Commons BY 3.0.
  • RSS icon by Dave Gandy from Flaticon. Licensed under Creative Commons BY 3.0.
  • Vintage divider by Web Design Hot. Licensed under Creative Commons BY 3.0.

Contributors

  • Tess Gadwa (tessgadwa): UX help and recommendations.
  • James Sapara (interlock): Docker setup.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].