Compare commits
No commits in common. "master" and "v0.1.0" have entirely different histories.
21
LICENSE
21
LICENSE
|
@ -1,21 +0,0 @@
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2022 Dawid Wysokiński
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
55
README.md
55
README.md
|
@ -1,55 +0,0 @@
|
||||||
# sessions
|
|
||||||
|
|
||||||
A browser extension aiming to simplify coplaying in [Tribal Wars](https://www.tribalwars.net/en-dk/). Coplayers can
|
|
||||||
finally play together via a browser!
|
|
||||||
|
|
||||||
## Getting started
|
|
||||||
|
|
||||||
### Installation
|
|
||||||
|
|
||||||
1. [Download the latest version.](https://gitea.dwysokinski.me/twhelp/-/packages/generic/sessions-ext/0.1.0)
|
|
||||||
2. Unzip files.
|
|
||||||
3. In your browser, go to the Extensions page by entering ``chrome://extensions`` in a new tab.
|
|
||||||
4. Enable developer mode by clicking the toggle switch next to Developer mode.
|
|
||||||
5. Click on Load Unpacked and select the extracted folder.
|
|
||||||
|
|
||||||
![img.png](docs/extension-successfully-installed.png)
|
|
||||||
|
|
||||||
The extension has been successfully installed!
|
|
||||||
|
|
||||||
### Development
|
|
||||||
|
|
||||||
#### Setting up the environment
|
|
||||||
|
|
||||||
Prerequisites:
|
|
||||||
|
|
||||||
1. **Node.js** (LTS)
|
|
||||||
2. **Yarn**
|
|
||||||
3. **IDE/Code editor** (e.g. WebStorm, VSCode, vim, neovim)
|
|
||||||
4. **web-ext** (``yarn global add web-ext``)
|
|
||||||
5. **backend** (such as [this one](https://gitea.dwysokinski.me/twhelp/sessions))
|
|
||||||
6. **Chromium-based browser** (e.g. Chromium, Vivaldi, Brave)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# install dependencies
|
|
||||||
yarn install
|
|
||||||
|
|
||||||
# start a dev server
|
|
||||||
yarn watch
|
|
||||||
|
|
||||||
# launch a browser (e.g. Chromium)
|
|
||||||
yarn run:chromium
|
|
||||||
```
|
|
||||||
|
|
||||||
## FAQ
|
|
||||||
|
|
||||||
1. What data are sent to the backend? - Only sid (session identifier). Sid
|
|
||||||
is [encrypted/decrypted on the client side](./src/crypto.ts).
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
Distributed under the MIT License. See ``LICENSE`` for more information.
|
|
||||||
|
|
||||||
## Contact
|
|
||||||
|
|
||||||
Dawid Wysokiński - [contact@dwysokinski.me](mailto:contact@dwysokinski.me)
|
|
Binary file not shown.
Before Width: | Height: | Size: 35 KiB |
|
@ -15,10 +15,10 @@
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@parcel/config-webextension": "^2.8.0",
|
"@parcel/config-webextension": "^2.8.0",
|
||||||
"@types/chrome": "^0.0.236",
|
"@types/chrome": "^0.0.200",
|
||||||
"parcel": "^2.8.0",
|
"parcel": "^2.8.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^4.8.4"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"since 2017-06"
|
"since 2017-06"
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"labels": [
|
|
||||||
"dependencies"
|
|
||||||
],
|
|
||||||
"extends": [
|
|
||||||
"config:base",
|
|
||||||
":semanticCommits",
|
|
||||||
":semanticCommitTypeAll(chore)"
|
|
||||||
],
|
|
||||||
"postUpdateOptions": [
|
|
||||||
"gomodTidy"
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user