- TypeScript 92.1%
- JavaScript 3.3%
- Python 2.6%
- GLSL 1.7%
- CSS 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- cameraState owns the mode; heading.ts keeps only where the view was at a clock and integrates under the choice, listening to it. A manual turn sets the mode to still, so a rebuild or a reload keeps the hold and choosing a mode again (the one the viewer had included) resumes it. The second copy of the mode in heading.ts and the sync that re-applied it at every scene build are deleted. Reduced motion is an override in heading.ts (freeze). - offsetRange takes the mode (and the camera's angle): the forward bound camera.r_max_forward_m where the camera stays on its heading, the worst-case camera.r_max_m where it circles and for a backward offset, the nearest card's foot clamp on both sides where the circle takes the offset round to phi 180. The default +200 m is clamped by the range of the current mode. - maxSpeed: the speed the baked resident count sustains, applied to the stored choice at the scene start and on every change. - sweepArc: the arc of every pose of the next 30 s, sampled four times a second; the rig mounts and asks the loader for that, and lays out in the same tick as it issues a stretch. - heading.normalize brings h and phi into [0, 360) before each stretch, so transforms and tile positions stay small however long the page is open. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
| .github | ||
| .husky | ||
| .vscode | ||
| contrib | ||
| deployment/idunn | ||
| docs | ||
| harness | ||
| preview-demo/poses | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .node-version | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc.json | ||
| build.config.ts | ||
| CODE_OF_CONDUCT.md | ||
| config.json | ||
| CONTRIBUTING.md | ||
| docker-nginx.conf | ||
| Dockerfile | ||
| HACKING.md | ||
| index.html | ||
| LICENSE | ||
| netlify.toml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| THIRD_PARTY_NOTICES.md | ||
| tsconfig.json | ||
| vite.config.js | ||
Ratatoskr
GameCult's Matrix chat client, a fork of Cinny. It opens on GameCult's estate (spaces, project rooms grouped by steward, Minds, and your own place in it) instead of an invite list. Mobile first.
Live now: the Cinny engine (matrix-js-sdk, Rust crypto, sync) under a
Ratatoskr UI: branding, GameCult theme, estate navigation, pose portraits
(opt-in setting), a background scene (on in the dev config, backgroundScene.tier; the device can lower it) and an opt-in soundscape.
Planned: see docs/gamecult/ratatoskr-target.md
for the target and cut sequence. Internal names that are protocol or stored
state (cinny_* localStorage keys, the in.cinny.room.power_level_tags event
type, CINNY_BASE) are unchanged on purpose.
Entry points: src/app/ (client UI), src/app/features/scene/ (background
scene), src/app/features/soundscape/ (audio socket), harness/ (estate
drive scripts), scripts/gen-brand.mjs (regenerates the logo and icons).
Upstream
Ratatoskr is based on Cinny by Ajay Bura and contributors, licensed AGPL-3.0. Cinny's own README, desktop app and releases live at https://github.com/cinnyapp/cinny. We do not ship its releases or images.
Developing
See HACKING.md. Contribution notes are in CONTRIBUTING.md.
Self-hosting
Build with npm ci && npm run build and serve dist/ with your webserver.
- The default homeservers and explore pages are defined in
config.json. - Serving the assets needs redirects to
index.html. Examples: netlify, nginx, caddy. Without them you can enable hash routing (hashRouter); URLs then carry/#/. - To deploy on a subdirectory, rebuild with the
basepath set, either inbuild.config.tsor throughCINNY_BASE(for exampleCINNY_BASE=/app/ npm run build).
License
Ratatoskr is a fork of the Cinny project
Copyright © 2024–present Ajay Bura
https://cinny.in
Cinny is licensed under the GNU Affero General Public License, Version 3 of the License (AGPL-3.0-only). You may obtain a copy of the License at https://www.gnu.org/licenses/agpl-3.0.html