Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtfcv/worse-onetab
https://github.com/rtfcv/worse-onetab
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rtfcv/worse-onetab
- Owner: rtfcv
- License: mit
- Created: 2022-05-02T14:34:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T04:19:55.000Z (over 2 years ago)
- Last Synced: 2024-06-02T02:31:23.560Z (4 months ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# worse-onetab
opensource and simplist alternative to [OneTab](https://www.one-tab.com/).
Inspired by [better-onetab](https://github.com/cnwangjie/better-onetab), which seems to be no-longer maintained, but is worse in every way except for performance.
## Options
Currently only available in form of json.
### Default Value
```json
{
"theme": "dark",
"editMode": "default",
"actionButton": "popUp",
"restoreTabsDiscarded": true
}
```### Keys
- theme
- Extension theme
- accepts: "dark", "light", "business", "luxury", "black", ... and more
- editMode
- Keybind for internal editor.
- accepts: "default", "vim"
- actionButton
- What to do when actionButton is pressed.
- accepts: "popUp", "tabList", "storeTabsOnCurrentWindow"
- restoreTabsDiscarded
- Whether to restore tabs discarded.
- accepts: true, false## Dependencies
```json
{
"dependencies": {
"@codemirror/lang-json": "^0.20.0",
"@replit/codemirror-vim": "^0.20.0",
"@uiw/react-codemirror": "^4.7.0",
"daisyui": "^2.14.3",
"react": "^18.1.0",
"react-daisyui": "^2.0.1",
"react-dom": "^18.1.0"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@tailwindcss/typography": "^0.5.2",
"@types/chrome": "^0.0.184",
"@types/react": "^18.0.8",
"@types/tailwindcss": "^3.0.10",
"@types/webpack": "^5.28.0",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"tailwindcss": "^3.0.24",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
}
}
```## Build Instruction
```bash
npm install
npm run build
```## Licence
MIT License