Repo for the official bitburner filesynchronisation package.
Find a file
2022-10-02 00:15:39 +02:00
.github/workflows Updates prettier configuration and adds prettier workflow 2022-10-01 10:44:07 -04:00
.vscode Updates prettier configuration and adds prettier workflow 2022-10-01 10:44:07 -04:00
npx Updates build config to output node script for npx 2022-10-01 12:02:20 -04:00
src Prettier pass 2022-10-01 10:54:26 -04:00
test Prettier pass 2022-10-01 10:54:26 -04:00
.gitignore Initial commit 2022-08-23 19:07:51 +02:00
.mocharc.jsonc Moves mocha config out of package.json into mocharc file 2022-10-01 10:44:07 -04:00
.prettierignore Updates prettier configuration and adds prettier workflow 2022-10-01 10:44:07 -04:00
.prettierrc Add prettier config and format script 2022-09-30 21:09:56 +02:00
CONTRIBUTING.md Add simple PR guide 2022-10-01 15:13:27 -07:00
LICENSE Initial commit 2022-08-23 19:07:51 +02:00
package-lock.json Fix merge mistakes 2022-10-01 12:42:38 +02:00
package.json Updates build config to output node script for npx 2022-10-01 12:02:20 -04:00
README.md Prettier pass 2022-10-01 10:54:26 -04:00
tsconfig.base.json Updates build config to output node script for npx 2022-10-01 12:02:20 -04:00
tsconfig.json Updates build config to output node script for npx 2022-10-01 12:02:20 -04:00
tsconfig.test.json Updates build config to output node script for npx 2022-10-01 12:02:20 -04: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
}