Skip to content

Commit

Permalink
React refactor (#109)
Browse files Browse the repository at this point in the history
* fix for weird tunnel name characters

* added dark mode. upgraded bootstrap

* upgraded dependencies to latest

* bumped version to 0.1.8

* updated rust toml dependencies. dependencies.windows upgrade broke. Needs vadim

* autostart wip

* removed eslint and live-server dependencies. formatted code

* added eslint

* refactor wip

* refactor wip 2

* react refactor
  • Loading branch information
brendanosborne authored Nov 22, 2023
1 parent 02c60ba commit ed4563a
Show file tree
Hide file tree
Showing 52 changed files with 12,537 additions and 18,944 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.eslintrc.cjs
/postcss.config.js
/tailwind.config.js
/vite.config.ts
/node_modules
39 changes: 39 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"standard-with-typescript",
"plugin:react/recommended",
"prettier"
],
"overrides": [
{
"env": {
"node": true
},
"files": [
".eslintrc.{js,cjs}"
],
"parserOptions": {
"sourceType": "script"
}
}
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"react/react-in-jsx-scope": "off"
}
}
16 changes: 0 additions & 16 deletions .eslintrc.json

This file was deleted.

10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
src-tauri/Cargo.lock
package-lock.json
node_modules/
# Logs
logs
*.log
npm-debug.log*

node_modules
dist
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "prettier-config-standard",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120
}
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss",
"tauri-apps.tauri-vscode"
]
}
32 changes: 0 additions & 32 deletions .vscode/launch.json

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"window.title": "TunnlTo${separator}${activeEditorShort}"
"window.title": "TunnlTo${separator}${activeEditorShort}",
"eslint.format.enable": true
}
25 changes: 0 additions & 25 deletions .vscode/tasks.json

This file was deleted.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ TunnlTo is a tool for controlling which Windows applications, processes, and IP
* Stop a browser from routing through a work VPN
* Route a specific IP address range through a privacy VPN
* Route all traffic through a privacy VPN except a specific IP address range
* Route all applications within a folder through a VPN
* Route all traffic through a VPN except applications within a folder

# How does it work?
TunnlTo is built in collaboration with the creator of [WireSock](https://www.wiresock.net/). TunnlTo 'wraps' the WireSock CLI application to provide a simple user interface for enhanced accessibility. WireSock is currently closed source and an open source version is being considered.
Expand Down Expand Up @@ -295,10 +297,9 @@ Counter Strike traffic is routed through the WireGuard tunnel except for when a
* WireSock
* WireGuard
* Tauri
* Rust, HTML, CSS, JavaScript

# License
Copyright (c) 2022 TunnlTo. TunnlTo is not currently licensed.
Copyright (c) 2023 TunnlTo. TunnlTo is not currently licensed.

# Acknowledgments

Expand Down
Loading

0 comments on commit ed4563a

Please sign in to comment.