Merge branch 'main' into spall-liner-in-tankopdiea-model-viewer

This commit is contained in:
TrèsAbhi authored and GitHub committed 2026-10-04 13:47:04 -05:00
commit b880b8cdbd
6 files changed
+172 -3

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
name: 🐞 Bug Report
description: BlitzKit is not behaving as expected.
labels: ["bug"]
type: bug
body:
- type: markdown
attributes:
value: Thank you so much for reporting an issue! Please fill out the form below in its entirety and we'll address your issue as soon as possible.
- type: textarea
validations:
required: true
attributes:
label: What happened?
description: What about BlitzKit's behavior did you find unexpected?
- type: textarea
attributes:
label: How do you reproduce the issue?
description: What steps one must follow to recreate your issue?
- type: dropdown
attributes:
label: Branch
description: What branch of BlitzKit were you using? Please see the "Branch" section of the footer at the very bottom of any page.
options:
- Production
- Preview
- OpenTest
default: 0
validations:
required: true
- type: input
attributes:
label: Discord username
description: Do you have a Discord account that we can reach out to for further information?
+10
View File
@@ -0,0 +1,10 @@
blank_issues_enabled: false
contact_links:
- name: 🎮 Discord Server
about: Got questions? We answer better on Discord!
url: https://discord.gg/nDt7AjGJQH
- name: ✉️ Email
about: Reach out to BlitzKit formally through email.
url: https://blitzkit.app/contact
+16
View File
@@ -0,0 +1,16 @@
name: 💡 Feature Request
description: BlitzKit could use a new idea.
labels: ["enhancement"]
type: feature
body:
- type: markdown
attributes:
value: Thank you so much for pitching in an idea!
- type: textarea
validations:
required: true
attributes:
label: What's your idea?
description: Please be descriptive and feel free to add drawings/screenshots if needed.
+71 -3
View File
@@ -1,7 +1,75 @@
# BlitzKit # BlitzKit
Tools for everything and anything, World of Tanks Blitz. Your Blitz experience, elevated. https://blitzkit.app/.
This GitHub repository contains the code for BlitzKit and all its services. If you are here, looking to use BlitzKit, go to https://blitzkit.app/. ## Developing: Prerequisites
If you intend to contribute to the code, note that you may need to check out sensitive, closed-source submodules to locally develop certain aspects of BlitzKit. Communicate with `@tresabhi` on Discord to get started or discuss sensitive content, such as environment variables or submodules. There's a few things you'll need to get started. If this is your first time working with BlitzKit, it's completely safe to ignore all optional prerequisites below to get things running as quickly as possible.
### Bun
[Bun](https://bun.sh/) is the package manager and runtime that BlitzKit uses.
Ideally, you should also uninstall Node.js if you have it installed to avoid any cases where Node.js is used to run code instead of Bun which happens in some cases. But, this is not required and is unlikely to cause issues.
### Protocol Buffer
BlitzKit uses [Protocol Buffer's protoc CLI](https://protobuf.dev/installation/) to generate efficiently packed data structures to serve data to clients in place of JSON.
### World of Tanks Blitz
You will need a local installation of [World of Tanks Blitz](https://wotblitz.com/) for BlitzKit to build off.
### aria2 (Optional)
If you plan to use BlitzKit's client-management CLI for BlitzKit Previews, you will need to [get aria2](https://aria2.github.io/) to speed up your downloads.
### libarchive (Optional)
If you plan to use BlitzKit's client-management CLI for BlitzKit OpenTests, you will need to [get libarchive](https://www.libarchive.org/) to keep your downloads completely in-memory.
### Linux (Optional)
All work on BlitzKit is done on Linux and macOS. It is theoretically possible to work on Windows; please feel free to try and share your discoveries with us!
## Developing: Setting Up
Start by cloning the repository and changing directories.
```bash
git clone https://github.com/blitzkit/blitzkit.git
cd blitzkit
```
> [!NOTE]
> There is a closed source submodule under `packages/closed` that you can safely ignore. This sole purpose of this submodule is to provide `dvp.ts`, a proprietary Wargaming game asset tree compression tool. You will not need this at any point.
Then, download the dependencies with Bun.
```bash
bun install
```
Finally, compile the proto files into TypeScript.
```bash
build build-protos
```
## Developing: Environment
Go through the different packages in the `packages` directory and clone their respective `template.env`'s to `.env` files. Follow the instructions in the `.env` files to fill them out as much as you can.
## Developing: Running
Launching the website is as easy as running the `dev` script.
```bash
bun dev
```
If you ever make a change to any proto file, make sure to rebuild them.
```bash
build build-protos
```
+2
View File
@@ -6,7 +6,9 @@ import { promisify } from "util";
const MAX_COMMAND_LENGTH = 2 ** 11; const MAX_COMMAND_LENGTH = 2 ** 11;
const TS_PROTO_EXECUTABLE_LOCATIONS = [ const TS_PROTO_EXECUTABLE_LOCATIONS = [
"./node_modules/.bin/protoc-gen-ts_proto", "./node_modules/.bin/protoc-gen-ts_proto",
"./node_modules/.bin/protoc-gen-ts_proto.exe",
"../../node_modules/.bin/protoc-gen-ts_proto", "../../node_modules/.bin/protoc-gen-ts_proto",
"../../node_modules/.bin/protoc-gen-ts_proto.exe",
]; ];
const roots = [ const roots = [
+35
View File
@@ -0,0 +1,35 @@
# Point this to your local installation of the game (make sure you see the Data
# folder within the directory you're putting here); don't forget to use
# double quotation marks if your path has spaces
CLIENT_DIR=
# Should be set to * for local development to build all chunks at once
CHUNK=*
# Should always be development when using CHUNKS=*
PUBLIC_ENVIRONMENT=development
# GuidesBlitz is the official textual partner of BlitzKit, but, really any
# website that supports BlitzKit tank slugs like example.com/tank-slug works
# too
PUBLIC_GUIDE_WEBSITE=https://guidesblitz.com
# The tag manager doesn't do anything in localhost, but here's what BlitzKit
# uses for completeness sake
PUBLIC_GOOGLE_TAG_MANAGER_ID=G-GL2JVHCGPQ
# A very rare, but required variable, enabling the advertising of BlitzKit
# OpenTest; TODO: make this a string field to allow for cross-advertising for
# any branch of BlitzKit
PUBLIC_PROMOTE_OPENTEST=false
# Legacy variable; this will be removed soon
PUBLIC_STATIC_ASSET_BASE=https://assets.blitzkit.app
# Proprietary Wargaming fields; you shouldn't need these for 99% of the tasks
WOTB_GLOSSARY=
WOTB_GLOSSARY_DOMAIN=
WOTB_GLOSSARY_PATH=
# Generate your own application id: https://developers.wargaming.net
PUBLIC_WARGAMING_APPLICATION_ID=