Skip to content

SimpleWeb is a simple, lightweight keyboard focused web browser for those who hate Chrome and love developers.

Notifications You must be signed in to change notification settings

Tudify/SimpleWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

tudify SimpleWeb 3.0.1

an all-new reimagination of SimpleWeb, with all-new controls, incredible stability & efficiency improvements and reimagined UI.

Screenshot 2025-10-10 at 23 48 06

note: macOS builds will appear to crash on start. give it ~15 seconds and it will open.

controls

Smart Bar

⌘ + U / ctrl + U

New tab

⌘ + T / ctrl + T

Close Tab

⌘ + W / ctrl + W

Refresh page

⌘ + R / ctrl + R

Settings page

⌘ + U / ctrl + U, then type tudify://settings.

Extensions page

⌘ + U / ctrl + U, then type extensions://

Note 2: some features may be broken, buggy or messy.

API documentation

the SimpleWeb API allows for extra communication between the SimpleWeb browser and the website its running on.

examples and info

Getting Started

1. Include the Qt WebChannel script

Place the following inside your :<script src="qrc:///qtwebchannel/qwebchannel.js"></script>

2. Initialize the API

Place the following in your <script> tag:

document.addEventListener("DOMContentLoaded", function() {
    if (typeof qt === "undefined") return;

    new QWebChannel(qt.webChannelTransport, function(channel) {
        window.SimpleWeb = channel.objects.SimpleWeb;
        // Your code using the API goes here
    });    
});

Available functions

Method Parameters Returns Description
getDeviceInfo() None String Returns CPU, architecture, and OS info. Example: "Intel i5, x64, Windows"
reportAPIver() None String Returns the API version, e.g., "1.0"
getUserAgent() None String Returns the browser User-Agent string.
getOS() None String Returns the OS name (Windows, Linux, macOS).
GetUserTheme() None String Returns the current user theme: "dark" or "light"
openwindow(url, width, height) url (string), width (int), height (int) None Opens a new SimpleWeb window with the specified URL and dimensions.
setWindowTitle(title) title (string) None Changes the title of the current window.
print(text) text (string) None Prints a message to the browser console.

Example Usage

Getting device information

SimpleWeb.getDeviceInfo().then(info => {
    SimpleWeb.print("Device info:", info);
});

Opening a new window

SimpleWeb.openwindow("https://tudify.co.uk", 1024, 768);
SimpleWeb.setWindowTitle("My Cool App");

Detecting the user's theme

SimpleWeb.GetUserTheme().then(theme => {
    if (theme === "dark") {
        document.body.style.backgroundColor = "#202326";
    } else {
        document.body.style.backgroundColor = "#ffffff";
    }
});

extra notes:

  • The API only works in SimpleWeb. Standard browsers will ignore it.
  • Some features may require user interaction (e.g., openwindow).
  • Future releases may expand API capabilities with extra extensions and AI integrations.

thank you for choosing SimpleWeb.

About

SimpleWeb is a simple, lightweight keyboard focused web browser for those who hate Chrome and love developers.

Topics

Resources

Stars

Watchers

Forks

Languages