NodeWorldOfText

From Our World of Text Wiki
Revision as of 10:12, 4 December 2024 by Dat Hack3r (talk | contribs) (→‎Hosting an NWOT using Replit: Added link to Kkosty4ka's fork.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NodeWorldOfText is the open source version of OWOT, which anyone can view, download, and contribute to by opening issues and pull requests. It allows users to host their own instance of Our World of Text called an NWOT.

Hosting an NWOT

Software requirements

Quickstart

  • Clone the OWOT repository
    git clone https://github.com/system2k/nodeworldoftext.git nwot
  • Navigate to the directory
    cd nwot
  • Install the dependencies
    npm install
  • Run the server
    node main.js
  • Running the server for the first time, you'll be asked to configure the settings.
    Created the settings file at [../nwotdata/settings.json]. You must configure the settings file and then start the server back up again.
    Full path of settings: [path to parent directory]/nwotdata/settings.json
  • After configuring the settings, run the command again. Note that this will create an nwotdata directory on the same level as your repository.
    node main.js
  • You will then be prompted to create a superuser account with this message:
    You've just installed the server,
    which means you don't have any superusers defined.
    Would you like to create one now? (yes/no):
  • After everything has been set up, your server will be live at this address:
    http://localhost:8080

Common issues

  • If you're encountering issues with nwot_error_logs.zip, please delete the zip file and try again.
  • If you're receiving node-gyp errors while installing the modules via NPM, please ensure you've got some compiling tools installed on your system. If you have any further questions, feel free to ask on the Discord.
  • If you're receiving an error saying Cannot find module, make sure you've installed the modules by running npm install.

List of active NWOTs

Hosting an NWOT using Replit

It used to be possible to host NWOT using Replit's free web hosting service. This could be accomplished by importing KKosty4ka's NodeWorldOfText fork to Replit and running the for-repl-it branch, which would host the NWOT at https://[repl name].[user name].repl.co. However, Replit's hosting changes effectively discontinued all NWOTs hosted on their platform.

List of NWOTs hosted using Replit

Below is a list of now-defunct NWOTs that were hosted using Replit.