Skip to content

A startpage looking like a terminal with a lot of available commands

Notifications You must be signed in to change notification settings

Ulyssedev/Bloated-Dollar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bloated-Dollar

A startpage looking like a terminal, with a lot of commands !

Premade commands

reddit [subreddit]
google [search]
youtube [search]
github [search]
googletranslate [sentence] (or gt [sentence])
googlemaps [search] (or gmaps [search])
gmail [account_number]
gdocs [account_number]
gsheets [account_number]
gforms [account_number]
gdrive [account_number] (or googledrive [account_number])
wikipedia [search]
twitch [search]
imdb [search]
spotify [search]
deezer [search]
amazon [search]
stackoverflow [search]
discord
code
echo <what_you_want_to_echo>
clear (or cls)
time

How to add commands ?

The commands are located in /src/js/commands.js
The wiki contains a section on how to add commands.

// Search something on google, if no arguments are provided => www.google.com
g = google;
function google(args) {
    if (args != undefined) {
        search = args.replace(" ", "+")
        window.open("https://www.google.com/search?q=" + search);
    } else {
        window.open("https://www.google.com");
    }
}

// Display time

time = clock;
function clock(args) {
    var today = new Date();
    block_log(today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds());
}

// Clear the terminal
cls = clear;
function clear(args) {
    document.getElementById('wrapper').innerHTML = "";
}

What about theming ?

Colors can be changed in /src/style/terminal.css
The wiki contains a section on how to change the colors.

:root {
    --main-bg-color: #E3B23C;
    --prompt-bg-color: #262626;
    --text-color: #E3B23C;
}

About

A startpage looking like a terminal with a lot of available commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.8%
  • CSS 9.3%
  • HTML 6.9%