Jaredk3nt / HomeTerm

A "functioning" terminal as your browsers homepage!
https://hometerm.dev
150 stars 28 forks source link
homepage localstorage startpage startpage-emporium terminal terminal-emulator

HomeTerm

A homepage disguised as a toy terminal!

HomeTerm

Available Commands

Here are the currently available commands that can be run on the terminal.

Command usage description
ls ls [<path to dir>] List children of current working directory or given directory.
tree tree [<path to dir>] Lists all children of current working directory or given directory in tree format
cd cd [<path>] Move into given directory. If no path given move to root.
open open <path to link> Open a link in a new tab.
touch touch <path to link> <url> Create a new link
mkdir mkdir <path to dir> Create a new directory
rm rm <path to link> Delete link
rmdir rmdir <path to dir> Delete dir and all contents
search search [-e] ["<search string>"] Search with given search string (Must be in quotes to capture multiple words). Supply -e with a search URL or pre-defined engine (ddg, google, bing) to change search engine
clear clear Clear the terminal of past commands.
theme theme [<theme name>] Change theme.
mv mv <source path> <target path> "Move" file or directory. Allows for renaming/moving resources within the file tree.
edit edit <link path> <url> Change the URL value for a given link.
help help [<command>] Get information on commands.

Theming

Terminal Themes

TermForm supports custom terminal themeing and some cool built-in themes.

The theming for the site is done through css variables. To add your own theme just:

You should now be able to switch to your theme using the terminal!

Feel free to submit PRs or open issues to get popular themes added to this project!

Fixing issues

Your TermPage file structure is stored in your browsers LocalStorage, if you encounter any bugs you can solve them by either modifying (open an issue for help) or deleting your LocalStorage. Please submit isses for any bugs you find!

Roadmap

Features

Themes