Tom's Live Chess Viewer for CCRL Broadcasts on the web!
- TypeScript 77.8%
- SCSS 10.7%
- EJS 10%
- JavaScript 1.4%
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.0 to 4.3.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.1/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.3.0...4.3.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.3.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| .husky | ||
| config | ||
| docs | ||
| pgns | ||
| public | ||
| shared | ||
| src | ||
| views | ||
| webpack | ||
| .browserslistrc | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.example | ||
| .gitignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| CONVENTIONS.md | ||
| Dockerfile | ||
| eslint.config.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.backend.json | ||
| tsconfig.base.json | ||
| tsconfig.frontend.json | ||
Node TLCV
A server implementation of Tom's live chess viewer. Designed to work with Graham Bank's CCRL broadcasts. Watch live at https://ccrl.live!
Running your own
Requirements
- Your own Tom's live chess server
- I do not know how TLCS is setup as I do not host any broadcasts myself
- Node.JS (>= 20)
- pm2 if you'd like to run this in the background
- (Production uses systemd — see docs/deploy.md)
Setup
- Modify config/config.json
connectionsis an array of"host:port"strings (or objects) for the initial broadcast ports you'd like to connect to. See docs/gotchas.md for the full entry format.
- Create a
.envfile at the same level as thisREADMEfrom .env.example and specify aTLCV_PASSWORD
# .env
TLCV_PASSWORD=password
Other optional variables (PORT, CONFIG_DIR, PGNS_DIR, LOG_LEVEL,
LICHESS_OAUTH_TOKEN) are documented in .env.example.
Compile
npm install && npm run build
Start the server
- Launches on port 8080 by default (override with
PORTin.env)
node build/src/main.js # runs in foreground
# or
pm2 start build/src/main.js # runs in background
Admin Panel
- Admin panel can be accessed at
/admin- Username is
admin - Password is specified by the
TLCV_PASSWORDenvironment variable (see above)
- Username is
