-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
6,379 additions
and
5,066 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:solid/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["solid", "@typescript-eslint"], | ||
"rules": { | ||
"indent": ["error", 2] | ||
}, | ||
"globals": { | ||
"chrome": "readonly" | ||
}, | ||
"ignorePatterns": ["watch.js", "dist/**", "node_modules/**"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,16 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
# build | ||
/dist | ||
|
||
# misc | ||
# etc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.idea | ||
|
||
dist/ | ||
#generated manifest | ||
public/manifest.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20.17.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"singleQuote": false, | ||
"trailingComma": "es5", | ||
"requirePragma": false, | ||
"arrowParens": "always", | ||
"plugins": [ | ||
"@trivago/prettier-plugin-sort-imports", | ||
"prettier-plugin-css-order" | ||
], | ||
|
||
"importOrder": ["[.]s?css$", "<THIRD_PARTY_MODULES>", "^~/(.*)$", "^[./]"], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"cssDeclarationSorterOrder": "concentric-css" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact" | ||
], | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit", | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"javascript.preferences.quoteStyle": "single", | ||
"typescript.preferences.quoteStyle": "single", | ||
"prettier.singleQuote": true, | ||
"debug.internalConsoleOptions": "neverOpen" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 David Buezas | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,113 @@ | ||
## Get it from the Chrome Web Store with [this link](https://chrome.google.com/webstore/detail/chrome-palette/hjkpneggcnclhpkddehdhlkeljclcnbo) | ||
# Chrome-palette | ||
<div align="center"> | ||
<img width="128" src="/src/assets/img/logo.svg" alt="logo"/> | ||
<h1> Command Palette for Chrome<br/>Fast, no server, no ads, no telemetry.</h1> | ||
|
||
A SublimeText/Atom/Vscode style command palette for chrome! | ||
 | ||
 | ||
|
||
<!--  --> | ||
|
||
<!-- > This project is listed in the [Awesome Vite](https://github.com/vitejs/awesome-vite) --> | ||
|
||
</div> | ||
|
||
## Installation | ||
|
||
[Chrome Web Store](https://chrome.google.com/webstore/detail/chrome-palette/hjkpneggcnclhpkddehdhlkeljclcnbo) | ||
|
||
Or you can unzip [chrome-palette.zip](https://github.com/dbuezas/chrome-palette/raw/master/chrome-palette.zip) and load it unpacked from [chrome://extensions](chrome://extensions) | ||
|
||
 | ||
> The focus is performance, minimal size and ease of use. | ||
## Features | ||
## Features <a name="features"></a> | ||
|
||
- [x] Commands sorted by usage | ||
- [x] Fuzzy search of commands | ||
- [x] Search sub commands (open tabs, bookmarks, history, etc) | ||
- Commands sorted by usage | ||
- Fuzzy search of commands | ||
- Search sub commands (open tabs, bookmarks, history, etc) | ||
- Dark mode | ||
- See standard shortcuts | ||
|
||
## Command list | ||
|
||
- [x] New Tab | ||
- [x] New Window | ||
- [x] Open History Page | ||
- [x] Open Downloads | ||
- [x] Open Extensions | ||
- [x] Open Bookmarks | ||
- [x] Add this tab to Bookmarks | ||
- [x] Open Settings | ||
- [x] Close Current Tab | ||
- [x] Reload Tab | ||
- [x] Reload All Tabs | ||
- [x] Clear Cache and Reload Tab | ||
- [x] Toggle Pin | ||
- [x] Duplicate Tab | ||
- [x] New Incognito Window | ||
- [x] Close Other Tabs | ||
- [x] Close Tabs To Right | ||
- [x] Close Tabs To Left | ||
- [x] Mute/Unmute Tab | ||
- [x] Move Tab To Start | ||
- [x] Move Tab To End | ||
- [x] Move Tab Left | ||
- [x] Move Tab Right | ||
- [x] Reopen/Unclose Tab | ||
- [x] Deattach Tab (Move to New Window) | ||
- [x] Reattach Tab (Move Tab to Previous Window) | ||
- [x] Reset command history | ||
- [x] Toggle Full screen mode | ||
- [x] Search Tabs | ||
- [x] Search History | ||
- [x] Search Google Drive | ||
- [x] Search Youtube | ||
- [x] Search Google | ||
- [x] Search Wikipedia | ||
- New Tab | ||
- New Window | ||
- Open History Page | ||
- Open Passwords Page | ||
- Open Downloads | ||
- Open Extensions | ||
- Open Extension Shortcuts | ||
- Open Bookmark Manager | ||
- Show/hide Bookmarks Bar | ||
- Open Settings | ||
- Close Current Tab | ||
- Terminate Current Tab | ||
- Reload Tab | ||
- Reload All Tabs | ||
- Clear Cache and Reload Tab | ||
- Toggle Pin | ||
- Duplicate Tab | ||
- New Incognito Window | ||
- Close Other Tabs | ||
- Close Tabs To Right | ||
- Close Tabs To Left | ||
- Mute/Unmute Tab | ||
- Move Tab To Start | ||
- Move Tab To End | ||
- Move Tab Left | ||
- Move Tab Right | ||
- Reopen/Unclose Tab | ||
- Deattach Tab (Move to New Window) | ||
- Reattach Tab (Move Tab to Previous Window) | ||
- Toggle full screen | ||
- Clear browsing history, cookies and cache | ||
- Open Chrome SignIn internals | ||
- Open Chrome Apps | ||
- Configure Chrome internal flags | ||
- Configure Third-party Cookies | ||
- Configure Ad privacy | ||
- Configure Sync and Google Services | ||
- Configure Chrome Profile | ||
- Import Bookmarks & Settings | ||
- Configure Addresses | ||
- Configure Autofill & Passwords | ||
- Configure Payment Methods | ||
- Configure Site Settings & Permissions | ||
- Configure Security | ||
- Configure Privacy and security | ||
- Configure Search engine | ||
- Configure Default browser | ||
- Configure on Start-up | ||
- Configure Languages | ||
- Configure Accessibility | ||
- Configure System & Proxy | ||
- Reset chrome settings | ||
- About chrome | ||
- Print page | ||
- Reset command history | ||
|
||
## Development | ||
|
||
- Made using SolidJS | ||
|
||
```bash | ||
npm install | ||
npm start | ||
``` | ||
|
||
> PRs welcome! | ||
## Full Manual testing | ||
|
||
Import the `dist` folder as an unpacked extension in chrome. This folder is rebuilt on changes when using `npm start` | ||
|
||
# Previous art | ||
|
||
- Commander: https://github.com/ssundarraj/commander | ||
## History | ||
|
||
# License | ||
| Version | View Framework | Bundler | Manifest | Command Palette lib | Total size | Compressed | Startup time | | ||
| ------------- | -------------- | ------- | -------- | ---------------------------- | ---------- | ---------- | ------------ | | ||
| v2.0.0 (2023) | SolidJS | Vite | V3 | Self Made | 79kb | 38Kb | 99ms | | ||
| v1.2.1 (2022) | Preact | ESBuild | V2 | Forked react-command-palette | 180kb | 60Kb | 220ms | | ||
| v1.0.0 (2021) | React | Webpack | V2 | react-command-palette | 287kb | 93Kb | 350ms | | ||
|
||
MIT License | ||
|
||
Copyright (c) 2022 David Buezas | ||
|
||
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. | ||
|
||
# PRs | ||
# Previous art | ||
|
||
PRs and feature requests are very welcome. Please don't put your own fork in the chrome store though :) | ||
- Commander: https://github.com/ssundarraj/commander |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"env": { | ||
"__DEV__": "true" | ||
}, | ||
"watch": ["src", "utils", "vite.config.ts"], | ||
"ext": "tsx,css,scss,html,ts", | ||
"ignore": ["src/**/*.spec.ts"], | ||
"exec": "node_modules/.bin/vite build && echo -en '\\007'" | ||
} |
Oops, something went wrong.