Repo for the official bitburner filesynchronisation package.
Find a file
2022-09-19 20:02:05 +02:00
npx README + package naming update 2022-08-24 16:35:29 +02:00
src Patch to get around Bitburner's filehandling 2022-09-19 20:02:05 +02:00
.gitignore Initial commit 2022-08-23 19:07:51 +02:00
LICENSE Initial commit 2022-08-23 19:07:51 +02:00
package-lock.json 🦭 Seal of approval for regular use 2022-08-24 15:50:01 +02:00
package.json Bump version to 1.1.0 2022-08-25 23:52:33 +02:00
README.md Descriptive config name 2022-08-28 15:55:57 +01:00

bitburner-filesync

A file synchronisation utility for Bitburner, using the Remote File API.

It allows players to synchronize scripts and text files from their computer's disk to the game in both the Electron build and website.

How to use (for users)

You must have a recent version of npm installed after which you can run

npx bitburner-filesync

This pulls and runs the latest release of bitburner-filesync for you.

Configuration

The program, when ran, uses a local file to have itself configured to your preferences. This file is filesync.json within the directory you start bitburner-filesync.

Here's an example of it's contents:

{
  "allowedFiletypes": [
    ".js",
    ".script",
    ".txt"
  ],
  "allowDeletingFiles": false,
  "port": 12525,
  "scriptsFolder": ".",
  "quiet": false,
  "dry": false,
  "definitionFile": {
    "update": false,
    "location": "NetScriptDefinitions.d.ts"
  },
  "pushAllOnConnection": false
}