Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.teamsbutactuallygood.dev/llms.txt

Use this file to discover all available pages before exploring further.

Be sure to have follow the dev setup before following these steps

File Structure

Here you can have a good look on the important folder and what they contain
all the files related to the extension itself, as well as the injection.js (won’t show if not build for the first time)
the safari extension xcode project
this is where the dev.ts (for the watch) and the generate all files are located, more could be added along the way
all Teams but (actually) good files
here reside all the official plugins
here reside all your custom plugin / unofficial ones, keep in mind that ones added like that might not work when Teams updates
here reside all the themes
all the files related to tauri, no need to touch them

Commands

There’s different commands you can do with bun that will build (extension / app) / launch the app or watch to help you dev the extension easier Generate plugin-registry and theme-registry, this is very important, as if your plugin / theme is not in one of that file, it won’t load it, and if those 2 files don’t exist, Teams but (actually) good wont launch either, to generate them you must run this command (automatically done if running other build commands)
Plugin Registry And Theme Registry
bun run generate
This command is like the nodemon but for this projet, when a change is detected, it’ll build, make the extension reload (to take in count the new injection.js file) and reload the page too (can be managed on the extension)
More info about how to use the extension in the extension page
bun run watch
Used for Tauri related commands
bun run tauri
Used to build the injection.js file, that file contains the whole code for Teams but (actually) good, without it, there’s no Teams but (actually) good, that command will create that file and put it inside the dist and extension folder to be used by the Tauri app and the extension
Injection Js In Dist And Extension
bun run build
Zip the extension for Chrome
bun run build:ext
Same thing as build, but will also make the manifest.json compatible with firefox (needed because chrome manifest is not the same as firefox’s manifest)
bun run build:firefox
Zip the extension for Firefox
bun run build:ext:firefox
Used on the extension and update the manifest.json
bun run build:safari
Update the safari-extension project
bun run build:ext:safari
Will generate the plugins and themes files, as well as generating the injection.js itself, this is the command that will actually do that job
bun run build:base
Build the Tauri app in dev mode, includes the build of injection.js
bun run dev
Build ONLY Tauri in dev mode
bun run tauri:dev
Build Tauri in release mode
bun run tauri:release
Build the Tauri app in releases mode, includes the build of injection.js
bun run release