Compare commits

...

20 Commits

Author SHA1 Message Date
Renovate 8119f3ca4c chore(deps): update dependency webext-options-sync to v4.2.1 (#24)
Reviewed-on: #24
Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-committed-by: Renovate <renovate@dwysokinski.me>
2023-09-15 03:54:00 +00:00
Renovate 27cd83d342 chore(deps): update dependency typescript to v5.2.2 (#22)
Reviewed-on: #22
Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-committed-by: Renovate <renovate@dwysokinski.me>
2023-08-25 03:32:45 +00:00
renovate 86aaccf8e8 chore(deps): update dependency typescript to v5.1.5 (#19)
Reviewed-on: #19
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-06-29 03:35:48 +00:00
renovate b02ee83f1e chore(deps): update parcel monorepo to v2.9.3 (#21)
Reviewed-on: #21
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-06-26 03:32:54 +00:00
renovate 467d159196 chore(deps): update parcel monorepo to v2.9.2 (#20)
Reviewed-on: #20
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-06-10 04:03:30 +00:00
renovate 1433d9f317 chore(deps): update parcel monorepo to v2.9.1 (#18)
Reviewed-on: #18
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-29 03:56:25 +00:00
renovate fffc9f4194 chore(deps): update parcel monorepo to v2.9.0 (#17)
Reviewed-on: #17
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-27 12:08:42 +00:00
renovate 490c3e2cd7 chore(deps): update dependency @types/chrome to ^0.0.236 (#15)
Reviewed-on: #15
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-15 03:19:45 +00:00
renovate d6cfb8f881 chore(deps): update dependency webext-options-sync to v4.2.0 (#14)
Reviewed-on: #14
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-06 04:08:23 +00:00
renovate 621229f078 chore(deps): update dependency @types/chrome to ^0.0.235 (#10)
Reviewed-on: #10
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-03 03:51:29 +00:00
renovate 1b5c2c00f4 chore(deps): update dependency typescript to v5 (#12)
Reviewed-on: #12
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-03 03:51:18 +00:00
renovate c8d0836a14 chore(deps): update dependency webext-options-sync to v4.1.1 (#11)
Reviewed-on: #11
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-03 03:51:03 +00:00
renovate 70429ea39c chore(deps): update dependency prettier to v2.8.8 (#8)
Reviewed-on: #8
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-02 03:16:57 +00:00
renovate 07a4aa3375 chore(deps): update dependency @types/chrome to ^0.0.234 (#5)
Reviewed-on: #5
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-01 04:44:07 +00:00
renovate ec33aed356 chore(deps): update parcel monorepo to v2.8.3 (#6)
Reviewed-on: #6
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-01 04:43:58 +00:00
renovate b08a655849 Configure Renovate (#4)
Reviewed-on: #4
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-04-30 09:29:18 +00:00
Dawid Wysokiński 5d81354f56
chore: update README.md 2022-12-09 07:17:12 +01:00
Dawid Wysokiński 99d0f10212
chore: update README.md 2022-12-09 07:16:50 +01:00
Dawid Wysokiński 928d32514e
chore: add LICENSE 2022-12-09 06:41:55 +01:00
Dawid Wysokiński 93b3090cb9 chore: README.md (#3)
Reviewed-on: #3
2022-12-09 05:37:27 +00:00
6 changed files with 924 additions and 734 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
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 Normal file
View File

@ -0,0 +1,55 @@
# 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.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -15,10 +15,10 @@
"license": "ISC",
"devDependencies": {
"@parcel/config-webextension": "^2.8.0",
"@types/chrome": "^0.0.200",
"@types/chrome": "^0.0.236",
"parcel": "^2.8.0",
"prettier": "^2.7.1",
"typescript": "^4.8.4"
"typescript": "^5.0.0"
},
"browserslist": [
"since 2017-06"

14
renovate.json Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": [
"dependencies"
],
"extends": [
"config:base",
":semanticCommits",
":semanticCommitTypeAll(chore)"
],
"postUpdateOptions": [
"gomodTidy"
]
}

1564
yarn.lock

File diff suppressed because it is too large Load Diff