claude-video-effects
51 video effects for Claude Code: drop in a talking-head clip, type /effects orbit. Face tracking, behind-your-head layers. By @vibha.in.progress
翻译准备中
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗
Lichess Analysis for Chess.com Games
Before you begin, make sure you have the following dependencies installed:
Follow the steps below to run the project on your local machine:
Execute the following commands from the project root folder:
git clone https://github.com/ryrden/lichess4chess.git
cd lichess4chess
npm install
npm run build
# or specifically for Chrome
npm run build:chrome
This will create the extension files in the dist_chrome directory.
npm run dev
# or specifically for Chrome
npm run dev:chrome
This will start the development server with hot reloading.
chrome://extensions/dist_chrome folderThe project includes end-to-end (E2E) tests using Playwright to ensure the extension works correctly in a real browser environment.
# 1. Configure Chess.com authentication (REQUIRED for full tests)
# See detailed instructions below
# 2. Build and run tests
npm run test:e2e
# 3. View test results
npx playwright show-report
Most tests require Chess.com login to access game pages. Follow these steps:
Copy the auth config template:
cp e2e/auth.config.example.ts e2e/auth.config.ts # gitignored, never commit it
Get your Chess.com cookies:
F12 (open DevTools)https://www.chess.comcookie2 value (main auth cookie)sessionid or session_id if presentEdit e2e/auth.config.ts:
export const authConfig: ChessComAuthConfig = {
cookies: [
{
name: 'cookie2',
value: 'paste_your_cookie_value_here', // Paste from DevTools
domain: '.chess.com',
path: '/',
},
],
username: 'your_chess_com_username', // Your Chess.com username
};
Run tests:
npm run test:e2e
📖 Full guide: See e2e/AUTH_SETUP.md for detailed instructions with screenshots.
Before running tests, make sure to build the extension:
# Build and run all E2E tests (headless)
npm run test:e2e
# Run tests with Playwright UI (interactive mode)
npm run test:e2e:ui
# Run tests with debug mode (step through tests)
npm run test:e2e:debug
# Run tests in headed mode (see the browser)
npm run test:e2e:headed
# Watch mode (see browser + slow workers, good for debugging)
npm run test:e2e:watch
💡 Tip: When running in headed mode, you can pin the extension by clicking the puzzle icon 🧩 in the browser toolbar and pinning "Lichess4Chess". See e2e/PINNING_EXTENSION.md for details.
The E2E tests cover the following scenarios:
All tests use public Chess.com games from notable players (e.g., Magnus Carlsen, Hikaru Nakamura), so no Chess.com account is required. The extension uses Chess.com's public API (api.chess.com/pub/*) for fetching game data.
If this is your first time running Playwright tests, install the required browser:
npx playwright install chromium
After running tests, you can view detailed HTML reports:
npx playwright show-report
The project folder structure is organized as follows:
/
|-- dist_chrome/ # Generated extension files for Chrome
|-- public/ # Static assets
| |-- icons, styles, etc.
|-- src/ # Source code
| |-- assets/ # Assets and styles
| |-- locales/ # Localization files
| |-- pages/ # Extension pages
| | |-- background/ # Service worker
| | |-- content/ # Content scripts
| | |-- devtools/ # DevTools page
| | |-- options/ # Options page
| | |-- panel/ # Panel UI
| | |-- popup/ # Popup UI
| |-- hooks/ # React hooks
src/pages/content: Contains the content scripts that run on Chess.com pagessrc/pages/popup: The extension popup UI shown when clicking the extension iconsrc/pages/background: Background service worker for the extensionsrc/pages/options: Options page for extension settingssrc/pages/panel: Panel UI elementssrc/hooks: Custom React hooks for state managementmanifest.json: Main extension configurationvite.config.*.ts: Vite build configurations for different browsersnodemon.*.json: Development server configurationsIf you want to contribute to this project, follow the steps below:
git checkout -b feature/your-feature-namegit commit -m 'Add some feature'git push origin feature/your-feature-nameAlternatively, consult the GitHub documentation on how to create a pull request.
We are deeply grateful to all the amazing people who have supported and contributed to Lichess4Chess!
Made with contrib.rocks.
This project was built using the vite-web-extension template by JohnBra.
This project is under license. See LICENSE for more information.