Orbit gives IRC the interface you'd expect from a chat app today: reactions, replies, typing, read-markers, history and push, all in the browser.
https://orbit.tchatou.fr
TypeScript + React + Vite client with zustand state. IRCv3 caps (SASL, message-tags, echo-message, chathistory, multiline, account-registration, webpush, …), mIRC formatting, reactions/typing/read-markers, themes, PWA + Web Push, and runtime config.json (KiwiIRC-style) for re-pointing/re-branding without a rebuild. See CONFIG.md. |
||
|---|---|---|
| public | ||
| src | ||
| .gitignore | ||
| CONFIG.md | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Orbit — a modern IRCv3 web client
A bespoke, pluggable IRCv3 web client (TypeScript + React + Vite, zustand state).
Powers tchatou.fr, and re-pointable at any IRCv3 network
via config.json — no rebuild needed.
- Dev:
npm run dev· Build:npm run build(→dist/) · Preview:npm run preview - Configuration: runtime
config.json(KiwiIRC-style) — re-point/re-brand without rebuilding. See CONFIG.md for all options. - Deploy: copy
dist/*(includingconfig.json) to the web root served at/app/. To change config only, edit the deployed/app/config.jsonand reload (the service worker serves it network-first).
React + TypeScript + Vite (template notes)
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])