Repo for the official bitburner filesynchronisation package.
Find a file
Alt 3298542143
Merge pull request #29 from Hoekstraa/main
Add manual push/pull feature
2022-10-10 00:38:57 +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 Add manual push/pull feature 2022-10-10 00:33:37 +02:00
src Add manual push/pull feature 2022-10-10 00:33:37 +02:00
test Format tests 2022-10-09 12:44:55 +02: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
.nycrc.json Limit tests to src/, run format 2022-10-09 13:33:57 +02: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 Fix bullet points & typo 2022-10-01 15:30:38 -07:00
LICENSE Initial commit 2022-08-23 19:07:51 +02:00
package-lock.json Add manual push/pull feature 2022-10-10 00:33:37 +02:00
package.json Add manual push/pull feature 2022-10-10 00:33:37 +02: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 Add Istanbul for test coverage 2022-10-09 13:07:43 +02: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
}