-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
452 changed files
with
18,571 additions
and
19,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
CG_PUBLIC_URL=chatguessr.com | ||
CG_API_URL=https://chatguessr.com/api | ||
SOCKET_SERVER_URL=<SOCKET_SERVER_URL> | ||
SUPABASE_URL=<SUPABASE_URL> | ||
SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY> | ||
NODE_ENV=<development|production> | ||
VITE_CG_PUBLIC_URL=chatguessr.com | ||
VITE_CG_API_URL=https://chatguessr.com/api | ||
VITE_SOCKET_SERVER_URL=<SOCKET_SERVER_URL> | ||
VITE_SUPABASE_URL=<SUPABASE_URL> | ||
VITE_SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"plugins": ["vue", "@typescript-eslint", "prettier"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:vue/vue3-recommended", | ||
"@vue/eslint-config-typescript/recommended", | ||
"@vue/eslint-config-prettier" | ||
], | ||
"rules": { | ||
"no-empty": ["error", { "allowEmptyCatch": true }], | ||
"@typescript-eslint/no-empty-function": ["error", { "allow": ["arrowFunctions"] }], | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@typescript-eslint/no-explicit-any": "warn", | ||
"vue/multi-word-component-names": "off", | ||
"vue/no-v-html": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
.vite | ||
out | ||
dist | ||
*.log* | ||
.env | ||
.parcel-cache | ||
out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
singleQuote: true | ||
semi: false | ||
printWidth: 100 | ||
trailingComma: none | ||
endOfLine: auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,56 @@ | ||
# ChatGuessr | ||
|
||
> Play GeoGuessr on Stream with Twitch Chat. | ||
This is the source code for the ChatGuessr application. Are you a streamers or player? Check [the website](https://chatguessr.com) instead. | ||
<div align="center"> | ||
<img src="./build/icon.png" style="width:40px"> | ||
<h1>ChatGuessr</h1> | ||
</div> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/tzhf/chatguessr/releases"> | ||
<img alt="releases url" src="https://img.shields.io/github/v/release/tzhf/chatguessr?style=for-the-badge&labelColor=1C1E26&color=61ffca"/> | ||
</a> | ||
<a href="https://github.com/tzhf/chatguessr/blob/main/LICENSE"> | ||
<img alt="license url" src="https://img.shields.io/badge/license%20-MIT-1C1E26?style=for-the-badge&labelColor=1C1E26&color=61ffca"/> | ||
</a> | ||
<a href="https://paypal.me/chatguessr"> | ||
<img alt="paypal url" src="https://img.shields.io/badge/support%20on-paypal-1C1E26?style=for-the-badge&labelColor=1C1E26&color=B181F1"/> | ||
</a> | ||
</p> | ||
|
||
<p align=center>This is the source code for the ChatGuessr application. Are you a streamer or a player ? Check <a href="https://chatguessr.com">the website</a> instead.</span></p> | ||
|
||
## Build | ||
|
||
Run the application in development mode: | ||
|
||
``` | ||
npm start | ||
npm run dev | ||
``` | ||
|
||
Run unit tests: | ||
|
||
``` | ||
npm test | ||
``` | ||
|
||
Typecheck JSDoc: | ||
Typecheck | ||
|
||
``` | ||
npm run typecheck | ||
``` | ||
|
||
Build the application for the current platform: | ||
Lint | ||
|
||
``` | ||
npm run package | ||
npm run lint | ||
``` | ||
|
||
Build an installer for the current platform: | ||
Format | ||
|
||
``` | ||
npm run make | ||
npm run format | ||
``` | ||
|
||
## License | ||
|
||
The ChatGuessr source is available under the [MIT License](./LICENSE). | ||
|
||
The Montserrat and Comfortaa fonts are used under the [Open Font License](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL). | ||
The Montserrat font is used under the [Open Font License](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.