# Clone the repo:
> git clone https://github.com/Leftium/multi-search.git
# Install dependencies:
> npm install # (or `pnpm install` or `yarn`),
# Start a development server:
> npm run dev
- Search multiple shopping sites at once.
| QUERY | The blue Svelte button... |
| ------------- | ----------------------------------------------------------------------------------------- |
| *Empty* | Opens all the Svelte "news" pages (Discord, Reddit, StackOverflow). |
| `search term` | Opens all the searchable pages (Reddit and StackOverflow) with results for `search term`. |
The SvelteKit documentation links are neither frequently-updated "news" nor URL-searchable, so they are _excluded_.
- Directly clicking still opens them, though.
- The Svelte and SvelteKit documentation have search, but lack a URL interface.
- (If the documentation supported URL searches, it could be included here. Imagine searching both the Svelte and SvelteKit documentation at the same time!)
- The Translate buttons automatically detect Korean/English QUERY input.
- Support for other language could be added, too.
- Notice Papago also accepts URL's as input (to translate the whole page).
- Useful for translating app release notes into multiple languages.
- Tabs are reused across multiple searches. (When possible. Some sites like Google.com prevent tab re-use.)
- Some of the image buttons support reverse image search. Just enter the URL of an image like this.
- A collection of social news sites I check regularly because there is no reverse-chronological feed (or it is limited).
- A collection of social news sites with a reverse-chronological feed (so there is no need to check often).
- Open a MultiLaunch page like Svelte Launch Plans.
- Click the "Reddit" button.
- The Svelte Reddit page is opened.
- Enter "hackathon" into the query input. Click the "Reddit" button again.
- This time the Svelte Reddit search results are opened.
- Clear the query input (SHIFT-DEL), then click the blue 'Svelte' button (ENTER).
- Three tabs are opened (Discord, Reddit, and Stackoverflow)
- The blue buttons contain the name of the group, and simultaneously open all the dark gray buttons.
- The light gray buttons are excluded from the group open, but may be opened manually by clicking.
- SHIFT-DEL and ENTER are keyboard shortcuts.
- Enter "auth" into the query input. Click the blue 'Svelte' button, again.
- This time, only two tabs are opened (Reddit and Stackoverflow). Both tabs show the results of searching for 'auth'.
- Notice the Discord button became light gray to indicate it is not part of the group open. Discord does not support searching via URL.
- Open a MultiLaunch page like Svelte Launch Plans.
- Click "Edit"
- This opens the launch plan editor. You can edit/save/share this launch plan.
- Edit "Svelte Launch Plans" to "My Personal Launch Plans".
- The changes appear live, in real-time!
- Click "Save".
- This saved the launch plans to your browser cookies.
- The launch plans stored in the cookies will be used by default if the URL does not contain a launch plan.
- Open another MultiLaunch page like News: Sorted by Time.
- Click "Edit", then "Add"
- The "News: Sorted by Time" launch plans have been added to the end of your saved launch plans.
- This is only a preview!
- Click "Save" to save the new launch plans to your browser cookies.
- Create your own custom launch plans by adding and saving launch plans shared by other people!
- Click "Share" to share a link with the current launch plan.
- The link is automatically pasted to your system clipboard.
-
JavaScript is not required! MultiLaunch uses progressively enhanced forms.
-
Control where the links are opened (just like regular browser links):
Input Opens in No modifier keys Current tab CTRL Background tab(s) CTRL+SHIFT Foreground tab(s) SHIFT New window(s) Works with both ENTER and button clicks.
-
Each button will try to reuse its own tab. (When possible. Some sites like Google.com prevent tab re-use.)
-
You don't need to close all the tabs one at a time; close multiple tabs at once:
- Right-click a tab, then "Close other tabs" or "Close tabs to the right".
- Or just close the entire browser window while another browser window is open.
-
You can paste a query even when focus is outside the text box.
-
Toggle the QUERY input fullscreen mode by clicking the fullscreen icon.
- (Fullscreen mode has a word/char count!)
-
Secret keyboard shortcut for fullscreen QUERY edit mode: CTRL+ALT+SHIFT - ENTER
-
Launch plans can even be nested in other launch plans!
-
Source code at: https://github.com/Leftium/multi-search
Launch Plans are TOML-formatted: Sample Launch Plan TOML annotated with comments
# Determines what is displayed in black editor bar at top.
title = "Sample Launch Plan TOML"
# A table determines the settings for each button.
# All settings optional, except for default.
[GROUP.BUTTON]
# When true, the blue category button will skip this button when opening all links.
exclude = true
# URL if the query input has a value. `QUERY` is replaced with the value of the query input.
ifquery = "https://example.com?q=QUERY"
# URL if the query value is a link.
iflink = "https://example.com"
# URL if the query value is Korean text.
lang_ko = "https://example.com"
# The default, when previous URL's did not match.
default = "https://example.com"
# Same group
[GROUP.BUTTON_B]
default = "https://example.com"
# Different group
[GROUP_B.BUTTON_B]
default = "https://example.com"