The webapp for the CollabVM Server
Go to file
modeco80 6327036283 Implement basic i18n
Not fully functional yet, so this won't/shouldn't be pushed onto the site yet (no language dropdown, there are still quite a few hardcoded strings that need to become string keys ...) but it works more than well enough to at least test and add more things as string keys that are currently hardcoded.

There are two languages provided, "en-us" and "pirate". Pirate is a test language to make sure all string keys are applying properly and all that.

As a bonus the new I18n system also offers a slightly less boneheaded way to do replacements, which is much more flexible than blind replace calls, and can take any type which is able to be stringified.

The parsing code for this is far from my best work, but it'll do for now, and seems to work okay (and has basic idiot proofing), so eh.

Supersedes #13.
2024-03-12 06:45:03 -04:00
src Implement basic i18n 2024-03-12 06:45:03 -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