SimpleWeb icon indicating copy to clipboard operation
SimpleWeb copied to clipboard

Browse the internet easily from the console.

SimpleWeb

Browse the internet easily from the console.

Installation

  • Install all dependencies : pip install -r requirements.txt.
  • Edit config.example.json:
{
    "prefix": ":",
    "subPrefix": "-",
    "resultPreviewLimit": 5, // 0 = Fast, 5 = Recommended, 10+= Slow
    "resultLimit": 20,
    "defaultBrowser": "google", // available: google, duckduckgo, brave and startpage
    "browserPrefixes": {
        "-g": "google",
        "-d": "duckduckgo",
        "-b": "brave",
        "-s": "startpage"
    },
    "browserSearch": {
        "google": "https://www.google.com/search?q=",
        "duckduckgo": "https://html.duckduckgo.com/html?q=",
        "brave": "https://search.brave.com/search?q=",
        "startpage": "https://www.startpage.com/do/search?q="
    },
    "browserDomainsBackList": { ... },
    "spaceBetweenResults": true,
    "clear": true,
    "removeYoutubeResults": true,
    "removeGoogleTranslatorResults": true,
    "blackListDomains": [],
    "blackListTags": ["script", "head", "footer", "header", "style", "button", "iframe", "img", "picture", "video", "svg", "span", "form", "nav", "menu", "input"] // You can remove "span" if it takes away important information
}
  • Rename it to config.json.

Finally, launch the script.

Features

  • History system
  • Tab system
  • Google, DuckDuckGo, BraveSearch and StartPage support
  • Customizable
  • And more...

Commands

Commands Action
:s <query>
:search <query>
Search the query on the default browser (write the number of the result to see the website)
:s -<browserPrefix> <query>
:search -<browserPrefix> <query>
Search the query on a specific browser (write the number of the result to see the website)
:ws <url>
:website <url>
Display a website
:h
:history
See the history
:t
:tab
:tabs
See the list of tabs
:t -s <tabNumber> Select a specific tab
:t <query> Create a new tab and search the query on Google
:c
:clear
Clear
:config
:settings
Display the settings

Preview

Search

Website

History

Discord

Join the Discord server !

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This project is under GPLv3.