Go to file
2026-04-30 09:51:18 +08:00
src asdf 2026-04-30 09:51:18 +08:00
.eslintrc Add project as per ESLint requirements 2023-02-08 18:56:36 +01:00
.gitattributes chore: initial commit 2022-10-23 03:32:17 +08:00
.gitignore chore: use node.gitignore from github repo 2023-02-09 09:10:07 +08:00
.prettierrc asdf 2026-04-30 09:51:18 +08:00
LICENSE chore: initial commit 2022-10-23 03:32:17 +08:00
mise.toml initial commit 2026-04-29 08:56:38 +08:00
NetscriptDefinitions.d.ts initial commit 2026-04-29 08:56:38 +08:00
package-lock.json chore: update viteburner and other dependencies 2023-03-14 15:20:03 +08:00
package.json chore: update viteburner and other dependencies 2023-03-14 15:20:03 +08:00
README.md updated readme 2026-04-29 08:57:55 +08:00
tsconfig.json build: properly configure js for tsconfig 2023-03-14 15:13:51 +08:00
vite.config.ts Update vite.config.ts 2025-10-15 15:01:35 +01:00

Viteburner-template

NOTE: All user scripts to be synced with the game is found under src/.

This is a template for a viteburner project. It is a simple example of how to use Viteburner.

How to use

Prerequisites: Node.js

git clone https://github.com/Tanimodori/viteburner-template.git
cd viteburner-template
npm i
npm run dev

In bitburner, select "Options > Remote API", enter the port of viteburner displays (default: 12525) and click "Connect".

API

See viteburner.

How to update my clone to the latest version of the template

Usually you only need to upgrade viteburner using npm (or any other package manager you use).

npm i -D viteburner@latest

Or if you want to update all configs:

# add "upstream" to git remote in case you've overwritten the "origin"
git remote add upstream https://github.com/Tanimodori/viteburner-template.git
# fetch the updates from "upstream"
git fetch upstream
# perform the merge
git merge upstream/main
# NOTE: resolve git conflicts manually now.
# install packages if any gets updated.
npm i

License

MIT License © 2022-present Tanimodori