The webapp for the CollabVM Server
Go to file
modeco80 3a7e590797 Make i18n more robust to failure
Now we actually format the fallback key if we can't find the language's translation of a string key.

In the rare case that the fallback language actually doesn't have a key, we just return the key name and a little notice that something's gone wrong.

Local storage stuff is now handled by our i18n impl (upon setting a language, if it's not the fallback language, we'll write it to localstorage automatically so we remember the user's decision), just to cleanup the initalization in main.ts (and also because it's a bit simpler that way).

Also moved initalization to a DOMContentLoaded event, since that can be made async.
2024-03-13 21:55:01 -04:00
src Make i18n more robust to failure 2024-03-13 21:55:01 -04:00
static/lang Implement basic i18n 2024-03-12 06:45:03 -04:00
.gitignore Set up the source tree for the typescript rewrite. Nothing really here just yet, just filler 2024-02-04 13:02:45 -05:00
.npmrc buncha shit uhh i forgot to make a repo until now 2023-01-25 19:55:34 -05:00
.parcelrc chat and rename, half-working turn status. re-add crusty guac keyboard shit 2024-02-04 13:02:45 -05:00
.prettierignore Implement basic i18n 2024-03-12 06:45:03 -04:00
.prettierrc.json reformat typescript code with prettier 2024-03-12 01:28:23 -04:00
Config.ts add chat sound 2024-02-04 13:02:45 -05:00
LICENSE Create LICENSE 2023-01-26 11:28:06 -05:00
package.json reformat typescript code with prettier 2024-03-12 01:28:23 -04:00
README.md update README 2024-02-04 13:11:50 -05:00
tsconfig.json Set up the source tree for the typescript rewrite. Nothing really here just yet, just filler 2024-02-04 13:02:45 -05:00
webapp.png Add temporary icon test 1 2023-01-26 19:00:06 -05:00

CollabVM 1.2 Webapp 2.0

CollabVM Web App

The CollabVM Web App is the viewer for the CollabVM Server, currently in beta

Building

Edit Config.ts to your needs, then:

  1. npm i
  2. npm run build

The build output directory is dist/

Serving

Just drop the contents of dist/ somewhere into our webroot. For testing purposes, you can throw up a quick test webserver with the following command

npm run serve