/spiff

My own interface for playing SpaceTraders https://spacetraders.io/

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

spiff

My own interface for playing SpaceTraders.

I don't currently have the interface hosted anywhere.

Browser testing performed exclusively on modern Firefox. Other browsers may or may not work properly.

Spiff requires running a server. Space Traders involves automation, but the automation happens client-side, which means that it stops if the client isn't running.

I want to play on my laptop, but I don't want to leave my laptop running all the time. So I am going to run a server that interfaces with the SpaceTraders servers and then have my web app interface with my server.

The server can be started by running npm run start.

Argument List

Remember that the argument list should be preceded by --. Ex: npm start -- --insecure.

  • --cert PATH The path to the certificate to use for encryption. Ignored if --insecure is specified.
  • --dbpath PATH The path to the sqlite3 database to use. If non-existent, the database will be created at this path. This must be specified if the environment doesn't specify a data directory via the _B_UTIL_DATA_DIR environment variable (which is set automatically when my utilities repo).
  • --host HOST The hostname to service requests on.
  • --insecure Use HTTP instead of HTTPS.
  • --key PATH The path to the private key to use for encryption. Ignored if --insecure is specified.
  • --port PORT The port number to service requests on.