Skip to content

Commit

Permalink
Merge pull request #47 from SquitchYT/dev-tab-splitting
Browse files Browse the repository at this point in the history
✨ Add tab-splitting
  • Loading branch information
SquitchYT authored Jan 16, 2025
2 parents 74153db + c946b1e commit 7d43c7f
Show file tree
Hide file tree
Showing 85 changed files with 11,626 additions and 3,849 deletions.
54 changes: 54 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
module.exports = {
extends: [
"airbnb-base",
"prettier",
"eslint:recommended",
"plugin:import/recommended",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier",
],
plugins: ["prettier"],
parserOptions: {
project: ["./tsconfig.json"],
},
rules: {
"prettier/prettier": "error",
"no-plusplus": "off",
"no-use-before-define": "off",
"no-shadow": "off",
"no-param-reassign": "off",
"lines-between-class-members": [
"error",
"always",
{ exceptAfterSingleLine: true },
],
"default-case": "off",
"max-classes-per-file": "off",
"import/extensions": [
"error",
"ignorePackages",
{
js: "never",
jsx: "never",
ts: "never",
tsx: "never",
},
],
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement",
],
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/no-floating-promises": "error",
},
settings: {
"import/resolver": {
node: {
moduleDirectory: ["node_modules", "src/ts", "src/assets"],
extensions: [".js", ".jsx", ".ts", ".tsx"],
},
},
},
};
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": true,
"singleQuote": false,
"trailingComma": "es5",
"tabWidth": 4
}
84 changes: 44 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ If you do not have access to Tess yet, fill out an issue, and we'll try to provi

## Requirements

* Have an OS with `x86` arch type
* `webkit2gtk` & `gtk3` installed
- Have an OS with `x86` arch type
- `webkit2gtk` & `gtk3` installed

<br>

Expand All @@ -30,6 +30,7 @@ We provide packages for most major distributions; simply select the one that mat
## Installation with PPA

If you prefer using apt over downloading and installing the `deb` archive, you could set up the PPA and download Tess with these

```bash
apt install curl apt-transport-https gnupg2

Expand All @@ -45,6 +46,7 @@ apt update && apt install tess
## Installation with AUR

On Arch Linux, the recommended way to install Tess is to use an AUR package manager like [yay](https://github.com/Jguer/yay)

```sh
yay -S tess-git
```
Expand All @@ -56,19 +58,20 @@ yay -S tess-git
If you are on RHEL-derived distros, you may also want to add our RPM repository to install Tess and receive updates automatically with your package manager.

```bash
yum install curl
yum install curl

curl https://rpm.tessapp.dev/tess.repo > /etc/yum.repos.d/tess.repo

yum check-update && yum install tess
```

<br>

# Installation | Windows

## Requirements

* `Windows 10 64 bits` or superior
- `Windows 10 64 bits` or superior

<br>

Expand Down Expand Up @@ -111,35 +114,38 @@ You can also find the package [here](https://community.chocolatey.org/packages/t

If you want to contribute to Tess, find a simple task to help us with this project.

* If you've found a mistake in documentation, sources, or the wiki, let us know by opening an [issue](https://github.com/SquitchYT/Tess/issues).
* You've got an amazing feature idea; simply post your suggestion by creating an issue too.
* You want to help us close an issue, implement a feature, or do something else related to code, follow the guide below.
- If you've found a mistake in documentation, sources, or the wiki, let us know by opening an [issue](https://github.com/SquitchYT/Tess/issues).
- You've got an amazing feature idea; simply post your suggestion by creating an issue too.
- You want to help us close an issue, implement a feature, or do something else related to code, follow the guide below.

*Please, search for a similar issue before creating a new one.*
_Please, search for a similar issue before creating a new one._

<br>

## Developing with Tess

First and foremost, you need to ensure that you have installed the necessary tools:

* [Rust & Cargo](https://rustup.rs/)
* [Node.js](https://nodejs.org/en)
* Tauri CLI `cargo install tauri-cli`
- [Rust & Cargo](https://rustup.rs/)
- [Node.js](https://nodejs.org/en)
- Tauri CLI `cargo install tauri-cli`

<br>

Next, start by downloading the source code.

```sh
git clone -b dev https://github.com/SquitchYT/Tess
```

Next, set up the project.

```sh
npm i
```

To ensure that everything is set up properly, run Tess with this command; it should launch Tess.

```sh
cargo tauri dev
```
Expand All @@ -150,8 +156,8 @@ You are now ready!

Important notice:

* As Tess is cross-platform, when you implement a new feature, try to make it available everywhere. If, despite all your efforts, you are unable to make it cross-platform, let us know the supported platforms when submitting your changes.
* If you update the code, explain why you think this change is important and what you've done.
- As Tess is cross-platform, when you implement a new feature, try to make it available everywhere. If, despite all your efforts, you are unable to make it cross-platform, let us know the supported platforms when submitting your changes.
- If you update the code, explain why you think this change is important and what you've done.

Simply open a [pull request](https://github.com/SquitchYT/Tess/pulls) to submit your changes.

Expand All @@ -163,30 +169,28 @@ Simply open a [pull request](https://github.com/SquitchYT/Tess/pulls) to submit
As long as Tess is in beta, many bugs may occur, and some of them have not yet been fixed.<br>
Many features are not yet available; here's a quick recap of the major features that we'll integrate in Tess.


|Features |Electron|Tauri|
|-------------------------|--------|-----|
|Translation |||
|Tabs |✔️ |✔️ |
|Move tabs between windows|||
|Administrator tabs |||
|Tabs split |||
|Command line interface |✔️ ||
|Notifications ||🟠 |
|Macros |||
|Plugins |🟠 ||
|Themes |🟠 |🟠 |
|Config page |✔️ ||
|Config watching |🟠 ||
|Image display |||
|Font ligature |🟠 ||
|Animated background ||✔️ |
|URI scheme API |||
|Search in a shell |||
|Marketplace |||


***Not available**<br>*
*🟠 **Partially integrated**<br>*
***Planned / In progress**<br>*
*✔️ **Integrated**<br>*
| Features | Electron | Tauri |
| ------------------------- | -------- | ----- |
| Translation |||
| Tabs | ✔️ | ✔️ |
| Move tabs between windows |||
| Administrator tabs |||
| Tabs split || ✔️ |
| Command line interface | ✔️ ||
| Notifications || 🟠 |
| Macros || ✔️ |
| Plugins | 🟠 ||
| Themes | 🟠 | 🟠 |
| Config page | ✔️ ||
| Config watching | 🟠 ||
| Image display |||
| Font ligature | 🟠 ||
| Animated background || ✔️ |
| URI scheme API |||
| Search in a shell |||
| Marketplace |||

_**Not available**<br>_
_🟠 **Partially integrated**<br>_
_**Planned / In progress**<br>_
_✔️ **Integrated**<br>_
Loading

0 comments on commit 7d43c7f

Please sign in to comment.