### Install Project Dependencies Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Installs all required Node.js packages for the project. Ensure Node.js 22 is installed or selected via nvm. ```bash npm install ``` -------------------------------- ### Install Windows Build Tools Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Installs extra dependencies required for building on Windows. Run this command globally. ```bash npm install --global --production windows-build-tools ``` -------------------------------- ### Start Jitsi Meet Electron in Development Mode Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Launches the application with development tools enabled. Debugger tools are available. ```bash npm start ``` -------------------------------- ### Start Jitsi Meet Electron with DevTools Open Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Starts the application in development mode with the browser developer tools open. Can be enabled via an environment variable or a command-line flag. ```bash SHOW_DEV_TOOLS=true npm start ``` ```bash npm start -- --show-dev-tools ``` -------------------------------- ### Install Linux Development Dependencies Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Installs necessary X11, PNG, and zlib development packages on Debian-like systems for Linux builds. ```bash sudo apt install libx11-dev zlib1g-dev libpng-dev libxtst-dev ``` -------------------------------- ### CI Workflow: Clean Install Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Installs project dependencies in a clean environment, typically used in Continuous Integration pipelines. ```bash npm ci ``` -------------------------------- ### Install Jitsi Meet via Homebrew on macOS Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Use this command to install the Jitsi Meet Electron application on macOS using Homebrew. ```bash brew install --cask jitsi-meet ``` -------------------------------- ### Force Install Local SDK Dependency Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md After updating the package.json to reference a local SDK path, use npm install with the --force flag to ensure the local dependency is correctly installed. This command overrides potential dependency conflicts. ```bash npm install @jitsi/electron-sdk --force ``` -------------------------------- ### Start Jitsi Meet Electron with Dev Tools Visible Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Launches the application in development mode and automatically shows the debugger tools. This can also be controlled via the `--show-dev-tools` flag. ```bash SHOW_DEV_TOOLS=true npm start ``` -------------------------------- ### Feature Directory Structure Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Example directory structure for organizing code by feature domain within the Jitsi Meet Electron application. ```bash app/features/ ├── app/ - Root App component and routing ├── conference/ - Conference iframe and JitsiMeetExternalAPI integration ├── config/ - Application configuration constants ├── navbar/ - Navigation bar with settings and help ├── onboarding/ - User onboarding flow with spotlight ├── recent-list/ - Recent conference history ├── redux/ - Redux store, middleware, and root reducer ├── router/ - React Router integration with Redux ├── settings/ - Settings drawer with server URL, toggles, timeout ├── utils/ - Shared utilities (URL parsing, external link handling) └── welcome/ - Welcome screen with room joining ``` -------------------------------- ### Install libfuse2 on Ubuntu for AppImage Compatibility Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md On Ubuntu 22.04 and later, AppImages may fail due to FUSE version conflicts. Install libfuse2 to resolve this. ```bash sudo apt install libfuse2 ``` -------------------------------- ### Watch Renderer Changes Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Monitors the renderer process for changes and automatically recompiles them. This command runs automatically when 'npm start' is executed. ```bash npm run watch ``` -------------------------------- ### Render Launcher Window Entry Point Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/app/index.html This JavaScript code initializes the Jitsi Meet Electron application by rendering the main entry point once the bundle is loaded. It's essential for the application's startup sequence. ```javascript window.addEventListener('load', function() { window.renderEntryPoint('APP'); }); ``` -------------------------------- ### Build Jitsi Meet Electron for Production Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Builds the application for production, including type-checking and bundling main, preload, and renderer processes using esbuild. ```bash npm run build ``` -------------------------------- ### Build Production Distribution Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Compiles and packages the application for a production release. ```bash npm run dist ``` -------------------------------- ### Create New Setting Actions Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Implement actions for managing settings. ```typescript Create actions in app/features/settings/actions.ts ``` -------------------------------- ### Make AppImage Executable on Linux Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md If the downloaded AppImage file is not executable, use this command to grant execute permissions. ```bash chmod u+x ./jitsi-meet-x86_64.AppImage ``` -------------------------------- ### Build Script Commands Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Commands to build the Jitsi Meet Electron application using esbuild. Use `--dev` for development builds and `--watch` for continuous rebuilding of the renderer process. ```bash node ./esbuild.js node ./esbuild.js --dev node ./esbuild.js renderer --dev --watch node ./esbuild.js main ``` -------------------------------- ### Create Draft Release Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Use this command to create a draft release on GitHub. ```bash gh release create vX.Y.Z --draft --title X.Y.Z ``` -------------------------------- ### Create Draft GitHub Release Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Creates a draft release on GitHub for the specified version. Replace 'v1.2.3' and '1.2.3' with the actual version. ```bash gh release create v1.2.3 --draft --title 1.2.3 ``` -------------------------------- ### Create Release Branch Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Use this command to create a new release branch for versioning. ```bash git checkout -b release-X-Y-Z ``` -------------------------------- ### Version Bump Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Execute this command to increment the project's version. ```bash npm version [patch|minor|major] ``` -------------------------------- ### Add New Setting UI Component Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Place new UI components for settings in this directory. ```typescript Add UI component in app/features/settings/components/ ``` -------------------------------- ### Create Pull Request Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Initiates a pull request for the release branch using the GitHub CLI. ```bash gh pr create ``` -------------------------------- ### Integrate Settings UI Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Integrate the new settings UI component into the main settings drawer. ```typescript Integrate in SettingsDrawer.tsx ``` -------------------------------- ### Add New Setting Action Types Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Define new action types for settings in this file. ```typescript Add action types in app/features/settings/actionTypes.ts ``` -------------------------------- ### Push Release Branch Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Uploads the newly created release branch to the remote origin repository. ```bash git push -u origin release-1-2-3 ``` -------------------------------- ### Update Linux Desktop File Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Update the Comment field in package.json for the Linux desktop file to reflect new languages. ```json Update `Comment[lang]` in package.json for Linux desktop file ``` -------------------------------- ### Create Release Branch Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Creates a new git branch for a specific release version. Replace '1-2-3' with the target version. ```bash git checkout -b release-1-2-3 ``` -------------------------------- ### Update package.json for Local SDK Development Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Modify the package.json file to point to a local copy of the '@jitsi/electron-sdk' for development purposes. This allows for testing changes made directly in the SDK repository. ```json "@jitsi/electron-sdk": "file:///path/to/jitsi-meet-electron-sdk-copy" ``` -------------------------------- ### Add Translation Keys Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Add new translation keys to the JSON files for localization. ```json Add translation keys to JSON files in app/i18n/lang/ ``` -------------------------------- ### Clear Local Cache for Jitsi Meet Electron Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md If a blank page appears after a Jitsi server upgrade, removing the local cache files may resolve the issue. ```bash rm -rf ~/.config/Jitsi\ Meet/ ``` -------------------------------- ### Disable Sandbox for AppImage on Ubuntu Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md If experiencing sandboxing errors on Ubuntu 24.04 and later due to AppArmor conflicts, launch the AppImage with the --no-sandbox flag. ```bash ./jitsi-meet-x86_64.AppImage --no-sandbox ``` -------------------------------- ### Clean Build Artifacts Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Removes generated build files and artifacts from the project to ensure a clean state for subsequent builds. ```bash npm run clean ``` -------------------------------- ### Increment Version Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/README.md Updates the project's version number using npm. Use 'patch', 'minor', or 'major' as needed. ```bash npm version patch ``` -------------------------------- ### Lint Project Code Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Applies ESLint to check for code style and potential errors in JavaScript and TypeScript files. ```bash npm run lint ``` -------------------------------- ### Register New Language Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Register a newly added language in the application's i18n configuration. ```typescript Register new language in app/i18n/index.ts ``` -------------------------------- ### Basic CSS for Window Overflow Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/app/index.html Basic CSS rules to ensure the application window does not show scrollbars. This is typically part of the main HTML structure. ```css body, html { overflow: hidden; } ``` -------------------------------- ### Type-Check Project Code Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Performs static type checking using TypeScript's compiler (tsc) without emitting JavaScript files. This is crucial as esbuild does not perform type checking. ```bash npm run type-check ``` -------------------------------- ### Update Settings Reducer Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Modify the reducer to handle settings state changes. ```typescript Update reducer in app/features/settings/reducer.ts ``` -------------------------------- ### Fix Linting Issues Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Automatically attempts to fix common linting errors found in the project's JavaScript and TypeScript files. ```bash npm run lint-fix ``` -------------------------------- ### Modify Jitsi Meet Configuration Source: https://github.com/jitsi/jitsi-meet-electron/blob/master/CLAUDE.md Override Jitsi Meet's default configuration by editing these properties in Conference.tsx. ```typescript Edit `configOverwrite` or `interfaceConfigOverwrite` in `Conference.tsx`. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.